aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2004-11-14 19:35:22 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2004-11-14 19:35:22 +0000
commited57351f1382bbb26736781f62548aa0032cb004 (patch)
treea9a30f2dd289aef325e8401ade6754bbf28393f1
parentb100e8414d81680287e84b45705517e6bd87bc5f (diff)
downloadports-ed57351f1382bbb26736781f62548aa0032cb004.tar.gz
ports-ed57351f1382bbb26736781f62548aa0032cb004.zip
Notes
-rw-r--r--graphics/netpbm/Makefile1
-rw-r--r--graphics/netpbm/files/patch-converter-other-pnmtopng.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile
index 920819a157e2..1a7e8c0af0bb 100644
--- a/graphics/netpbm/Makefile
+++ b/graphics/netpbm/Makefile
@@ -7,6 +7,7 @@
PORTNAME= netpbm
PORTVERSION= 10.25
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/graphics/netpbm/files/patch-converter-other-pnmtopng.c b/graphics/netpbm/files/patch-converter-other-pnmtopng.c
index 9a5fbf3a7037..3e60fbdb0bc1 100644
--- a/graphics/netpbm/files/patch-converter-other-pnmtopng.c
+++ b/graphics/netpbm/files/patch-converter-other-pnmtopng.c
@@ -1,5 +1,16 @@
--- converter/other/pnmtopng.c.orig Sun Jun 23 12:51:37 2002
+++ converter/other/pnmtopng.c Sat Jul 6 00:00:00 2002
+@@ -1365,8 +1366,8 @@
+ if (transparent != -1)
+ makeOneColorTransparentInPalette(
+ transcolor, transexact,
+- palette_pnm, *paletteSizeP, trans_pnm,
+- transSizeP);
++ palette_pnm, paletteSize, trans_pnm,
++ &transSize);
+ }
+ if (!*noColormapReasonP) {
+ if (background > -1)
@@ -1903,8 +1903,13 @@
*/
fprintf(stderr, " Compiled with libpng %s.\n",