diff options
Diffstat (limited to 'freebsd/dependencies/imlib/files/patch-giflib-ungif.diff')
-rw-r--r-- | freebsd/dependencies/imlib/files/patch-giflib-ungif.diff | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/freebsd/dependencies/imlib/files/patch-giflib-ungif.diff b/freebsd/dependencies/imlib/files/patch-giflib-ungif.diff new file mode 100644 index 000000000..e0b49557f --- /dev/null +++ b/freebsd/dependencies/imlib/files/patch-giflib-ungif.diff @@ -0,0 +1,24 @@ +Index: b/configure.in +=================================================================== +--- a/configure.in ++++ b/configure.in +@@ -250,12 +250,13 @@ + + + AC_CHECK_HEADER(gif_lib.h, +- [AC_CHECK_LIB(ungif, DGifOpenFileName, +- [GIFLIBS="-lungif" +- SUPPORT_LIBS="$SUPPORT_LIBS -lungif"; AC_DEFINE(HAVE_LIBGIF, 1, [ ])], +- [AC_CHECK_LIB(gif, DGifOpenFileName, +- [GIFLIBS="-lgif" +- SUPPORT_LIBS="$SUPPORT_LIBS -lgif" ++ [AC_CHECK_LIB(gif, DGifOpenFileName, ++ [GIFLIBS="-lgif" ++ SUPPORT_LIBS="$SUPPORT_LIBS -lgif" ++ AC_DEFINE(HAVE_LIBGIF, 1, [ ])], ++ [AC_CHECK_LIB(ungif, DGifOpenFileName, ++ [GIFLIBS="-lungif" ++ SUPPORT_LIBS="$SUPPORT_LIBS -lungif" + AC_DEFINE(HAVE_LIBGIF, 1, [ ])], + [AC_MSG_ERROR(*** GIF library file not found ***)], + $GX_LIBS)], |