pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/x11/fltk



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Jul 27 18:42:42 UTC 2022

Modified Files:
        pkgsrc/x11/fltk: distinfo
        pkgsrc/x11/fltk/patches: patch-ab patch-ac

Log Message:
fltk: fix png library name.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/x11/fltk/distinfo
cvs rdiff -u -r1.13 -r1.14 pkgsrc/x11/fltk/patches/patch-ab
cvs rdiff -u -r1.11 -r1.12 pkgsrc/x11/fltk/patches/patch-ac

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/fltk/distinfo
diff -u pkgsrc/x11/fltk/distinfo:1.28 pkgsrc/x11/fltk/distinfo:1.29
--- pkgsrc/x11/fltk/distinfo:1.28       Tue Oct 26 11:33:48 2021
+++ pkgsrc/x11/fltk/distinfo    Wed Jul 27 18:42:42 2022
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.28 2021/10/26 11:33:48 nia Exp $
+$NetBSD: distinfo,v 1.29 2022/07/27 18:42:42 wiz Exp $
 
 BLAKE2s (fltk-1.1.10-source.tar.bz2) = 64883d2b8ad915a4922bbc3d3c799f5efbd751c77ff9ac3b8fd49d235578f301
 SHA512 (fltk-1.1.10-source.tar.bz2) = 5bdece6855f190e56ea57a54ebe38172f177e9a4ac40d834f7a646a1d419bf92cfda46a30a1434a952c81a2ad14a22a7a02961c8a24d0cfc352f4d80dc3319a6
 Size (fltk-1.1.10-source.tar.bz2) = 2214382 bytes
 SHA1 (patch-aa) = 661dcac75cf50c791c2edcc14ec93e9ee83b062a
-SHA1 (patch-ab) = cb8500a9169c899ae332adc8672e814e4ba13304
-SHA1 (patch-ac) = 65e9fd364d5154904fa864e0550cf712fae6d569
+SHA1 (patch-ab) = 6c7b22664d0cc474ec3c26a1afa9150e535061a4
+SHA1 (patch-ac) = 6aa8efbb4bf9d9e49662d30ec02f02725220dfd8
 SHA1 (patch-ad) = b04051b14eb0bc74e8ccfe762e367ab8ccb11b80
 SHA1 (patch-ae) = de29d1be1219c3b17707216a7c54c25a9adb746c
 SHA1 (patch-af) = 791ba33cfc85e41e0f2b75ce0d1b0d6a378d9d0b

Index: pkgsrc/x11/fltk/patches/patch-ab
diff -u pkgsrc/x11/fltk/patches/patch-ab:1.13 pkgsrc/x11/fltk/patches/patch-ab:1.14
--- pkgsrc/x11/fltk/patches/patch-ab:1.13       Fri Apr  9 13:35:42 2010
+++ pkgsrc/x11/fltk/patches/patch-ab    Wed Jul 27 18:42:42 2022
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.13 2010/04/09 13:35:42 obache Exp $
+$NetBSD: patch-ab,v 1.14 2022/07/27 18:42:42 wiz Exp $
 
 --- configure.in.orig  2009-09-20 17:25:25.000000000 +0000
 +++ configure.in
@@ -48,3 +48,28 @@ $NetBSD: patch-ab,v 1.13 2010/04/09 13:3
  
  AC_SUBST(DSOCOMMAND)
  AC_SUBST(DSOFLAGS)
+@@ -611,7 +636,7 @@ AC_ARG_ENABLE(localpng, [  --enable-loca
+ syspnglib_ok=no
+ syspnginc_ok=no
+ if test x$enable_localpng != xyes; then
+-  AC_CHECK_LIB(png, png_read_info, 
++  AC_CHECK_LIB(png16, png_read_info, 
+     [AC_CHECK_HEADER(png.h, 
+       AC_DEFINE(HAVE_PNG_H)
+       syspnginc_ok=yes)
+@@ -640,11 +665,11 @@ if test x$enable_localpng = xyes -o x$sy
+ else
+     PNGINC=""
+     PNG=""
+-    IMAGELIBS="-lpng $IMAGELIBS"
+-    STATICIMAGELIBS="-lpng $STATICIMAGELIBS"
++    IMAGELIBS="-lpng16 $IMAGELIBS"
++    STATICIMAGELIBS="-lpng16 $STATICIMAGELIBS"
+     AC_DEFINE(HAVE_LIBPNG)
+-    AC_CHECK_LIB(png,png_get_valid, AC_DEFINE(HAVE_PNG_GET_VALID))
+-    AC_CHECK_LIB(png,png_set_tRNS_to_alpha, AC_DEFINE(HAVE_PNG_SET_TRNS_TO_ALPHA))
++    AC_CHECK_LIB(png16,png_get_valid, AC_DEFINE(HAVE_PNG_GET_VALID))
++    AC_CHECK_LIB(png16,png_set_tRNS_to_alpha, AC_DEFINE(HAVE_PNG_SET_TRNS_TO_ALPHA))
+ fi
+ 
+ AC_SUBST(JPEG)

Index: pkgsrc/x11/fltk/patches/patch-ac
diff -u pkgsrc/x11/fltk/patches/patch-ac:1.11 pkgsrc/x11/fltk/patches/patch-ac:1.12
--- pkgsrc/x11/fltk/patches/patch-ac:1.11       Fri Apr  9 13:35:42 2010
+++ pkgsrc/x11/fltk/patches/patch-ac    Wed Jul 27 18:42:42 2022
@@ -1,4 +1,4 @@
-$NetBSD: patch-ac,v 1.11 2010/04/09 13:35:42 obache Exp $
+$NetBSD: patch-ac,v 1.12 2022/07/27 18:42:42 wiz Exp $
 
 --- configure.orig     2009-12-27 15:24:34.000000000 +0000
 +++ configure
@@ -58,3 +58,62 @@ $NetBSD: patch-ac,v 1.11 2010/04/09 13:3
  
  
  
+@@ -8794,13 +8823,13 @@ fi
+ syspnglib_ok=no
+ syspnginc_ok=no
+ if test x$enable_localpng != xyes; then
+-  { echo "$as_me:$LINENO: checking for png_read_info in -lpng" >&5
+-echo $ECHO_N "checking for png_read_info in -lpng... $ECHO_C" >&6; }
++  { echo "$as_me:$LINENO: checking for png_read_info in -lpng16" >&5
++echo $ECHO_N "checking for png_read_info in -lpng16... $ECHO_C" >&6; }
+ if test "${ac_cv_lib_png_png_read_info+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lpng  $LIBS"
++LIBS="-lpng16  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h.  */
+ _ACEOF
+@@ -9161,19 +9190,19 @@ echo "$as_me: WARNING: Cannot find syste
+ else
+     PNGINC=""
+     PNG=""
+-    IMAGELIBS="-lpng $IMAGELIBS"
+-    STATICIMAGELIBS="-lpng $STATICIMAGELIBS"
++    IMAGELIBS="-lpng16 $IMAGELIBS"
++    STATICIMAGELIBS="-lpng16 $STATICIMAGELIBS"
+     cat >>confdefs.h <<\_ACEOF
+ #define HAVE_LIBPNG 1
+ _ACEOF
+ 
+-    { echo "$as_me:$LINENO: checking for png_get_valid in -lpng" >&5
+-echo $ECHO_N "checking for png_get_valid in -lpng... $ECHO_C" >&6; }
++    { echo "$as_me:$LINENO: checking for png_get_valid in -lpng16" >&5
++echo $ECHO_N "checking for png_get_valid in -lpng16... $ECHO_C" >&6; }
+ if test "${ac_cv_lib_png_png_get_valid+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lpng  $LIBS"
++LIBS="-lpng16  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h.  */
+ _ACEOF
+@@ -9235,13 +9264,13 @@ _ACEOF
+ 
+ fi
+ 
+-    { echo "$as_me:$LINENO: checking for png_set_tRNS_to_alpha in -lpng" >&5
+-echo $ECHO_N "checking for png_set_tRNS_to_alpha in -lpng... $ECHO_C" >&6; }
++    { echo "$as_me:$LINENO: checking for png_set_tRNS_to_alpha in -lpng16" >&5
++echo $ECHO_N "checking for png_set_tRNS_to_alpha in -lpng16... $ECHO_C" >&6; }
+ if test "${ac_cv_lib_png_png_set_tRNS_to_alpha+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lpng  $LIBS"
++LIBS="-lpng16  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h.  */
+ _ACEOF



Home | Main Index | Thread Index | Old Index