Skip to content

Commit 167680d

Browse files
passgatjacmet
authored andcommitted
package/libmad: update the patches to be applied with fuzz 0
Commit 8f88a64 ("support/scripts/apply-patches.sh: set the maximum fuzz factor to 0") reduced the fuzz factor. Due to this change, libmad fails to build with output: Applying mips-gcc4.4.diff using series: patching file fixed.h Hunk #1 FAILED at 297. 1 out of 1 hunk FAILED -- saving rejects to file fixed.h.rej The package applied the patches in two steps, first the local ones and then the official ones downloaded from the repository. The commit fixes the issue by reversing the order of patch application steps. Signed-off-by: Dario Binacchi <[email protected]> Signed-off-by: Arnout Vandecappelle <[email protected]> (cherry picked from commit b21184a) Signed-off-by: Peter Korsgaard <[email protected]>
1 parent d4c1151 commit 167680d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package/libmad/libmad.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ define LIBMAD_APPLY_DEBIAN_PATCHES
1919
fi
2020
endef
2121

22-
LIBMAD_POST_PATCH_HOOKS += LIBMAD_APPLY_DEBIAN_PATCHES
22+
LIBMAD_PRE_PATCH_HOOKS += LIBMAD_APPLY_DEBIAN_PATCHES
2323

2424
# debian/patches/md_size.diff
2525
LIBMAD_IGNORE_CVES += CVE-2017-8372 CVE-2017-8373

0 commit comments

Comments
 (0)