diff options
Diffstat (limited to 'x11/fltk13')
-rw-r--r-- | x11/fltk13/Makefile | 3 | ||||
-rw-r--r-- | x11/fltk13/distinfo | 4 | ||||
-rw-r--r-- | x11/fltk13/patches/patch-configure | 62 |
3 files changed, 64 insertions, 5 deletions
diff --git a/x11/fltk13/Makefile b/x11/fltk13/Makefile index fa0d682266f..9f860c77a85 100644 --- a/x11/fltk13/Makefile +++ b/x11/fltk13/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.42 2021/11/22 10:49:08 micha Exp $ +# $NetBSD: Makefile,v 1.43 2022/07/27 18:46:49 wiz Exp $ DISTNAME= fltk-1.3.8-source PKGNAME= ${DISTNAME:S/-source//} +PKGREVISION= 1 VERS= ${DISTNAME:S/fltk-//:S/-source//} CATEGORIES= x11 MASTER_SITES= https://fltk.org/pub/fltk/${VERS}/ diff --git a/x11/fltk13/distinfo b/x11/fltk13/distinfo index fd4e791e566..3b407096e31 100644 --- a/x11/fltk13/distinfo +++ b/x11/fltk13/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.16 2021/11/22 10:49:08 micha Exp $ +$NetBSD: distinfo,v 1.17 2022/07/27 18:46:49 wiz Exp $ BLAKE2s (fltk-1.3.8-source.tar.bz2) = c94fe7f4ce7afbc5c1c8968f19a944d36ddb85c73bcf80c91039f74c46f9b039 SHA512 (fltk-1.3.8-source.tar.bz2) = a836ad5069de7461ab3d791a587237a64efded9328bc89f46f71f02b3576000f5386bb17d2e8ee693435752fe99b0fb6566ebd34e4038c270c1801b9f360cd8b Size (fltk-1.3.8-source.tar.bz2) = 4574725 bytes SHA1 (patch-Makefile) = c10e99516649e8fc02b6041be162229baec7a550 -SHA1 (patch-configure) = 4bc9690d9a18c1b3eca9c40dbe01d952cc3194a6 +SHA1 (patch-configure) = 1b8ad181047144d7adf610a3ca73c01ea94e2315 SHA1 (patch-documentation_Makefile) = 4c0c4243311c170d6c645db41b8bb1821d053712 SHA1 (patch-fluid_Makefile) = 6033e485a8ea7590fe68d9049645a1035326f8ce SHA1 (patch-makeinclude.in) = e353cdc721c856e9c8839eb6334de59981e70d90 diff --git a/x11/fltk13/patches/patch-configure b/x11/fltk13/patches/patch-configure index dc2f1d0820d..6653fa3492d 100644 --- a/x11/fltk13/patches/patch-configure +++ b/x11/fltk13/patches/patch-configure @@ -1,9 +1,10 @@ -$NetBSD: patch-configure,v 1.1 2021/05/17 10:38:48 micha Exp $ +$NetBSD: patch-configure,v 1.2 2022/07/27 18:46:49 wiz Exp $ Add libtool support. Upstream will not merge this (libtool is listed as not acceptable). +Fix png library name. ---- configure.orig 2021-05-04 18:40:48.000000000 +0000 +--- configure.orig 2021-11-20 18:12:26.000000000 +0000 +++ configure @@ -3830,7 +3830,22 @@ if test "${enable_shared+set}" = set; th enableval=$enable_shared; @@ -50,3 +51,60 @@ Upstream will not merge this (libtool is listed as not acceptable). +@@ -6355,13 +6384,13 @@ fi + syspnglib_ok=no + syspnginc_ok=no + if test x$enable_localpng != xyes; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_info in -lpng" >&5 +-$as_echo_n "checking for png_read_info in -lpng... " >&6; } ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_info in -lpng16" >&5 ++$as_echo_n "checking for png_read_info in -lpng16... " >&6; } + if ${ac_cv_lib_png_png_read_info+:} false; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-lpng $LIBS" ++LIBS="-lpng16 $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -6437,17 +6466,17 @@ $as_echo "$as_me: WARNING: Cannot find s + else + PNGINC="" + PNG="" +- IMAGELIBS="-lpng $IMAGELIBS" +- STATICIMAGELIBS="-lpng $STATICIMAGELIBS" ++ IMAGELIBS="-lpng16 $IMAGELIBS" ++ STATICIMAGELIBS="-lpng16 $STATICIMAGELIBS" + $as_echo "#define HAVE_LIBPNG 1" >>confdefs.h + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_get_valid in -lpng" >&5 +-$as_echo_n "checking for png_get_valid in -lpng... " >&6; } ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_get_valid in -lpng16" >&5 ++$as_echo_n "checking for png_get_valid in -lpng16... " >&6; } + if ${ac_cv_lib_png_png_get_valid+:} false; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-lpng $LIBS" ++LIBS="-lpng16 $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -6482,13 +6511,13 @@ if test "x$ac_cv_lib_png_png_get_valid" + + fi + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_tRNS_to_alpha in -lpng" >&5 +-$as_echo_n "checking for png_set_tRNS_to_alpha in -lpng... " >&6; } ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_tRNS_to_alpha in -lpng16" >&5 ++$as_echo_n "checking for png_set_tRNS_to_alpha in -lpng16... " >&6; } + if ${ac_cv_lib_png_png_set_tRNS_to_alpha+:} false; then : + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-lpng $LIBS" ++LIBS="-lpng16 $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + |