Skip to content

Commit

Permalink
package/libgdiplus: 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, libgdiplus fails to build with output:

    Applying 0001-Build-unit-tests-only-when-enable-unit-tests-is-pass.patch using patch:
    patching file Makefile.am
    patching file configure.ac
    Hunk #1 FAILED at 39.
    1 out of 1 hunk FAILED -- saving rejects to file configure.ac.rej

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

Signed-off-by: Dario Binacchi <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
  • Loading branch information
passgat authored and tpetazzoni committed Jul 8, 2024
1 parent 3597b43 commit 2be1f20
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ So let's disable the build of unit tests by default and introduce

Signed-off-by: Sergio Prado <[email protected]>
Upstream: https://github.com/mono/libgdiplus/pull/701
[Dario: make the patch to be applied with fuzz factor 0]
Signed-off-by: Dario Binacchi <[email protected]>
---
Makefile.am | 8 ++++++--
configure.ac | 4 ++++
Expand Down Expand Up @@ -38,8 +40,8 @@ diff --git a/configure.ac b/configure.ac
index 098fd0a664bd..c126ff091e58 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,6 +39,10 @@ if test $warnaserror = "yes"; then
GDIPLUS_CFLAGS="$GDIPLUS_CFLAGS -Werror -Wno-unknown-warning-option -Wno-clobbered -Wno-typedef-redefinition"
@@ -47,6 +47,10 @@
GDIPLUS_CFLAGS="$GDIPLUS_CFLAGS -Werror -Wno-unknown-warning-option -Wno-clobbered"
fi

+AC_ARG_ENABLE(unittests, AS_HELP_STRING([--enable-unittests],[Enable building unit tests.]),[unittests=yes],[unittests=no])
Expand Down

0 comments on commit 2be1f20

Please sign in to comment.