Skip to content

Commit

Permalink
package/udpcast: update the patches to be applied with fuzz 0
Browse files Browse the repository at this point in the history
Commit 8f88a64 ("support/scripts/apply-patches.sh: set the maximum
fuzz factor to 0") reduced the fuzz factor.

Due to this change, udpcast fails to build with output:

    Applying 0001-fix-musl-build.patch using patch:
    patching file receivedata.c
    Hunk #1 FAILED at 1.
    1 out of 1 hunk FAILED -- saving rejects to file receivedata.c.rej

This commit refreshes the package patch on the current package version.

Signed-off-by: Dario Binacchi <[email protected]>
Signed-off-by: Romain Naour <[email protected]>
  • Loading branch information
passgat authored and RomainNaour committed Jul 12, 2024
1 parent b162aab commit 4309211
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion .checkpackageignore
Original file line number Diff line number Diff line change
Expand Up @@ -1384,7 +1384,6 @@ package/uboot-tools/0001-drop-configh-from-tools.patch lib_patch.Upstream
package/uboot-tools/0002-tools-only-in-no-dot-config-targets.patch lib_patch.Upstream
package/uboot-tools/0003-tools-Makefile-fix-C-LD-FLAGS-with-CROSS_BUILD_TOOLS.patch lib_patch.Upstream
package/ubus/0001-Install-server-and-client-examples.patch lib_patch.Upstream
package/udpcast/0001-fix-musl-build.patch lib_patch.Upstream
package/uemacs/01-clear-ixon-termios-flag.patch lib_patch.Upstream
package/uhd/0001-host-CMakeLists-add-boost-unit_test_framework-requir.patch lib_patch.Upstream
package/uhttpd/0001-Remove-Werror.patch lib_patch.Upstream
Expand Down
7 changes: 4 additions & 3 deletions package/udpcast/0001-fix-musl-build.patch
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ Fixes:
- http://autobuild.buildroot.org/results/30208c6f175967fed6de690447a09e0c86547b24

Signed-off-by: Fabrice Fontaine <[email protected]>
[Upstream status:
https://udpcast.linux.lu/mailman3/hyperkitty/list/[email protected]/thread/4MBES2CPUSUNIZTC7NXCQYS2GAE4DQSG/]
Upstream: https://udpcast.linux.lu/mailman3/hyperkitty/list/[email protected]/thread/4MBES2CPUSUNIZTC7NXCQYS2GAE4DQSG/
[Dario: make the patch to be applied with fuzz factor 0]
Signed-off-by: Dario Binacchi <[email protected]>

diff '--color=auto' -Nura udpcast-20211207.orig/receivedata.c udpcast-20211207/receivedata.c
--- udpcast-20211207.orig/receivedata.c 2022-08-13 21:48:06.226588614 +0200
Expand All @@ -27,5 +28,5 @@ diff '--color=auto' -Nura udpcast-20211207.orig/receivedata.c udpcast-20211207/r
#include <unistd.h>
+#include <stddef.h>
#include <stdlib.h>
#include <sys/time.h>
#include <errno.h>

0 comments on commit 4309211

Please sign in to comment.