1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- fix build for png-1.4.1

- bump PORTREVISION
PR:	145247
This commit is contained in:
Dirk Meyer 2010-04-05 18:57:39 +00:00
parent 74c60f53f7
commit 11443cddf9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=252257
5 changed files with 31 additions and 3 deletions

View File

@ -0,0 +1,14 @@
--- libgd/gd_png.c.orig 2007-05-17 00:54:11.000000000 +0200
+++ libgd/gd_png.c 2010-04-05 20:43:02.000000000 +0200
@@ -136,7 +136,11 @@
* have used slightly more general png_sig_cmp() function instead
*/
gdGetBuf(sig, 8, infile);
+#if PNG_LIBPNG_VER >= 10400
+ if (png_sig_cmp (sig, 0, 8)) { /* bad signature */
+#else
if (!png_check_sig (sig, 8)) { /* bad signature */
+#endif
return NULL;
}

View File

@ -0,0 +1,14 @@
--- libgd/gd_png.c.orig 2009-03-14 18:48:42.000000000 +0100
+++ libgd/gd_png.c 2010-04-05 19:54:05.000000000 +0200
@@ -139,7 +139,11 @@
return NULL;
}
+#if PNG_LIBPNG_VER >= 10400
+ if (png_sig_cmp (sig, 0, 8)) { /* bad signature */
+#else
if (!png_check_sig (sig, 8)) { /* bad signature */
+#endif
return NULL;
}

View File

@ -7,7 +7,7 @@
PORTNAME= php4
PORTVERSION= 4.4.9
PORTREVISION?= 1
PORTREVISION?= 2
CATEGORIES?= lang devel www
MASTER_SITES= ${MASTER_SITE_PHP:S,$,:release,} \
http://downloads.php.net/ilia/:rc \

View File

@ -7,7 +7,7 @@
PORTNAME= php5
PORTVERSION= 5.2.12
PORTREVISION?= 1
PORTREVISION?= 2
CATEGORIES?= lang devel www
MASTER_SITES= ${MASTER_SITE_PHP}
MASTER_SITE_SUBDIR= distributions

View File

@ -7,7 +7,7 @@
PORTNAME= php5
PORTVERSION= 5.2.12
PORTREVISION?= 1
PORTREVISION?= 2
CATEGORIES?= lang devel www
MASTER_SITES= ${MASTER_SITE_PHP}
MASTER_SITE_SUBDIR= distributions