see http://www.libgd.org/ReleaseNote020035

please test.

Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/gd/Makefile,v
retrieving revision 1.49
diff -u -r1.49 Makefile
--- Makefile    31 May 2007 18:32:06 -0000      1.49
+++ Makefile    26 Jun 2007 06:26:26 -0000
@@ -2,9 +2,8 @@
 
 COMMENT=       "library for dynamic creation of images"
 
-DISTNAME=      gd-2.0.34
-PKGNAME=       ${DISTNAME}p1
-SHARED_LIBS=   gd      20.34
+DISTNAME=      gd-2.0.35
+SHARED_LIBS=   gd      20.35
 CATEGORIES=    graphics
 MASTER_SITES=  ${HOMEPAGE}releases/
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/graphics/gd/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- distinfo    5 Apr 2007 16:19:55 -0000       1.5
+++ distinfo    26 Jun 2007 06:26:26 -0000
@@ -1,5 +1,5 @@
-MD5 (gd-2.0.34.tar.gz) = OgLd5CvpKlES/iO0H1RDKw==
-RMD160 (gd-2.0.34.tar.gz) = FefcFHYtf5M2oAve/1hD5lAqvXo=
-SHA1 (gd-2.0.34.tar.gz) = 2QA3b2sC1dKeZ20PG3IuPBIoOyw=
-SHA256 (gd-2.0.34.tar.gz) = bn87r6U/x/7h3ps/VAWF8vMMZdEXQURH1FzxFpn2T5I=
-SIZE (gd-2.0.34.tar.gz) = 1273059
+MD5 (gd-2.0.35.tar.gz) = mCljRI3DbyDLebbpum/e3g==
+RMD160 (gd-2.0.35.tar.gz) = SuN7VjvsriYwjeG7xIm4zudo3K0=
+SHA1 (gd-2.0.35.tar.gz) = 73+7JQ9Ba6twz9pvdyg2JLg8AdU=
+SHA256 (gd-2.0.35.tar.gz) = u9FrnCaDd6rqnDwtZMXBEExTYA5AkPIi17s4k4w9fVI=
+SIZE (gd-2.0.35.tar.gz) = 1345700
Index: patches/patch-configure
===================================================================
RCS file: /cvs/ports/graphics/gd/patches/patch-configure,v
retrieving revision 1.3
diff -u -r1.3 patch-configure
--- patches/patch-configure     17 Feb 2007 16:30:11 -0000      1.3
+++ patches/patch-configure     26 Jun 2007 06:26:26 -0000
@@ -1,7 +1,7 @@
 $OpenBSD: patch-configure,v 1.3 2007/02/17 16:30:11 bernd Exp $
---- configure.orig     Wed Feb  7 10:59:57 2007
-+++ configure  Wed Feb  7 11:01:33 2007
-@@ -23162,7 +23162,7 @@ if test `eval echo '${'$as_ac_Header'}'`
+--- configure.orig     Mon Apr 23 16:57:52 2007
++++ configure  Tue Jun 26 08:11:35 2007
+@@ -22322,7 +22322,7 @@ if test `eval echo '${'$as_ac_Header'}'` = yes; then
    cat >>confdefs.h <<_ACEOF
  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  _ACEOF
@@ -10,25 +10,25 @@
  else
    CPPFLAGS="$_cppflags"
  fi
-@@ -24254,7 +24254,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); }; }; then
+@@ -23262,7 +23262,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+        test ! -s conftest.err
+        } && test -s conftest$ac_exeext &&
+        $as_test_x conftest$ac_exeext; then
 -  acx_pthread_ok=yes
 +  acx_pthread_ok=no
  else
    echo "$as_me: failed program was:" >&5
  sed 's/^/| /' conftest.$ac_ext >&5
-@@ -24452,7 +24452,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
-   ac_status=$?
-   echo "$as_me:$LINENO: \$? = $ac_status" >&5
-   (exit $ac_status); }; }; then
+@@ -23444,7 +23444,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+        test ! -s conftest.err
+        } && test -s conftest$ac_exeext &&
+        $as_test_x conftest$ac_exeext; then
 -  acx_pthread_ok=yes
 +  acx_pthread_ok=no
  else
    echo "$as_me: failed program was:" >&5
  sed 's/^/| /' conftest.$ac_ext >&5
-@@ -25472,7 +25472,7 @@ FFLAGS!$FFLAGS$ac_delim
+@@ -24461,7 +24461,7 @@ FFLAGS!$FFLAGS$ac_delim
  ac_ct_F77!$ac_ct_F77$ac_delim
  LIBTOOL!$LIBTOOL$ac_delim
  XMKMF!$XMKMF$ac_delim
Index: patches/patch-gd_png_c
===================================================================
RCS file: patches/patch-gd_png_c
diff -N patches/patch-gd_png_c
--- patches/patch-gd_png_c      31 May 2007 18:32:06 -0000      1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,16 +0,0 @@
-$OpenBSD: patch-gd_png_c,v 1.1 2007/05/31 18:32:06 rui Exp $
---- gd_png.c.orig      Thu May 31 16:03:54 2007
-+++ gd_png.c   Thu May 31 16:05:09 2007
-@@ -81,7 +81,11 @@ gdPngErrorHandler (png_structp png_ptr, png_const_char
- static void
- gdPngReadData (png_structp png_ptr, png_bytep data, png_size_t length)
- {
--  gdGetBuf (data, length, (gdIOCtx *) png_get_io_ptr (png_ptr));
-+  int check;
-+  check = gdGetBuf (data, length, (gdIOCtx *) png_get_io_ptr (png_ptr));
-+  if (check != length) {
-+    png_error(png_ptr, "Read Error: truncated data");
-+  }
- }
- 
- static void

Reply via email to