diff options
author | dinoex <dinoex@FreeBSD.org> | 2010-03-29 18:54:40 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2010-03-29 18:54:40 +0800 |
commit | f5570c1f31c4243f7cba62a3c2128279dd67b94d (patch) | |
tree | 0e699fc74a732b1a2bbf1f4d852c5a7984405b78 /print | |
parent | a45e6a487762aa81776906e1e0098b0fbb17506a (diff) | |
download | freebsd-ports-gnome-f5570c1f31c4243f7cba62a3c2128279dd67b94d.tar.gz freebsd-ports-gnome-f5570c1f31c4243f7cba62a3c2128279dd67b94d.tar.zst freebsd-ports-gnome-f5570c1f31c4243f7cba62a3c2128279dd67b94d.zip |
- fix build for png-1.4.1
Diffstat (limited to 'print')
-rw-r--r-- | print/panda/files/patch-configure | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/print/panda/files/patch-configure b/print/panda/files/patch-configure index fdf5945cf7a9..a29720b9e253 100644 --- a/print/panda/files/patch-configure +++ b/print/panda/files/patch-configure @@ -1,5 +1,58 @@ --- configure.orig Tue Apr 13 09:47:26 2004 +++ configure Fri Apr 16 01:07:19 2004 +@@ -8687,9 +8687,9 @@ + + + +-echo "$as_me:$LINENO: checking for png_libpng_ver in -lpng" >&5 +-echo $ECHO_N "checking for png_libpng_ver in -lpng... $ECHO_C" >&6 +-if test "${ac_cv_lib_png_png_libpng_ver+set}" = set; then ++echo "$as_me:$LINENO: checking for png_get_header_ver in -lpng" >&5 ++echo $ECHO_N "checking for png_get_header_ver in -lpng... $ECHO_C" >&6 ++if test "${ac_cv_lib_png_png_get_header_ver+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + ac_check_lib_save_LIBS=$LIBS +@@ -8707,11 +8707,11 @@ + #endif + /* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +-char png_libpng_ver (); ++char png_get_header_ver (); + int + main () + { +-png_libpng_ver (); ++png_get_header_ver (); + ; + return 0; + } +@@ -8738,20 +8738,20 @@ + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then +- ac_cv_lib_png_png_libpng_ver=yes ++ ac_cv_lib_png_png_get_header_ver=yes + else + echo "$as_me: failed program was:" >&5 + sed 's/^/| /' conftest.$ac_ext >&5 + +-ac_cv_lib_png_png_libpng_ver=no ++ac_cv_lib_png_png_get_header_ver=no + fi + rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_libpng_ver" >&5 +-echo "${ECHO_T}$ac_cv_lib_png_png_libpng_ver" >&6 +-if test $ac_cv_lib_png_png_libpng_ver = yes; then ++echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_header_ver" >&5 ++echo "${ECHO_T}$ac_cv_lib_png_png_get_header_ver" >&6 ++if test $ac_cv_lib_png_png_get_header_ver = yes; then + CFLAGS="$CFLAGS -DHAVE_LIBPNG" LDFLAGS="$LDFLAGS -lpng" + fi + @@ -8983,7 +8983,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else |