summaryrefslogtreecommitdiff
path: root/graphics/netpbm/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-11-23 16:12:10 +0000
committerwiz <wiz@pkgsrc.org>2014-11-23 16:12:10 +0000
commit5976f91912b9beda144287f3bc49790dbb902045 (patch)
tree8fe39d2e78e1be36bd5cc8203235a773baa80f9e /graphics/netpbm/Makefile
parentec078a1ba8bd8a5a28addafae3af40458c730764 (diff)
downloadpkgsrc-5976f91912b9beda144287f3bc49790dbb902045.tar.gz
Update to 10.68.02. Remove XOPEN_SOURCE SUBST now that it was
fixed upstream. 14.11.23 BJH Release 10.68.02 pambackground: fix bug: segfault or incorrect results in most cases. Thanks Ludolf Holzheid (ludolf.holzheid@gmx.de). Introduced in Netpbm 10.37 (December 2006). 14.09.28 BJH Release 10.68.01 Windows build: fix universal build failure with "No rule to make ...icon.netpbm.oLINKERISCOMPILER...". Broken in Netpbm 10.67 (June 2014). 14.09.26 BJH Release 10.68.00 Split pgmcrater into pamcrater and pamshadedrelief. pnmconvol: add -bias . Remove pnmcomp, install a pnmcomp symlink for pamcomp. Fix incorrect option parsing when there are multiple common options (e.g. -plain -quiet). Always broken. (Possibility of specifying multiple common options that don't cause the program to ignore every other option (like -version) was new in Netpbm 10.10 (October 2002). cameratopam: fix buffer overflow. Always present. (cameratopam was new in Netpbm 10.28 (June 2005)). cameratopam: fix incorrect output introduced in Netpbm 10.51 (June 2010). ppmtopict: Fix unconditional crash. Introduced in Netpbm 10.52 (September 2010). pcdovtoppm: Fix crash due to invalid operator == on some systems. Always broken (pcdovtoppm was new sometime between Netpbm 9.25 (March 2002) and Netpbm 10.11 (Februrary 2010)). Build: change _XOPEN_SOURCE from 600 back to 500 in 7 files. It was changed from 500 to 600 in Subversion revision 1731 in Netpbm 10.60 (September 2012) because that made a similar version of Netpbm compile on Mac OSX. Without it, strdup did not get defined. But this is apparently a bug in Mac OSX, since X/Open 500 does have strdup. Furthermore, many other Netpbm files use strdup and apparently compile OK on Mac OSX without 600. Finally, we see today that Illumos system header files deliberately kill the compilation if the compiler is pre-C99 and _XOPEN_SOURCE is 600. So we go back to 500 and if the problem on Mac OSX gets reported again, we will look more deeply. Build: change _XOPEN_SOURCE from 600 back to 500 in jpeg2ktopam.c and pamtojpeg2k.c. It was changed from 500 to 600 in Netpbm 10.41 (December 2007), reportedly to get int_fast32_t, etc. defined on AIX, but other files that use int_fast32_t don't have it today, so that must be wrong. See above for the drawback of 600. Build: fix undefined symbols in fiasco converters with static libraries. Build: provide means of setting the default search path for rgb.txt color database via config.mk. Build: fix bug which prevents JBIG converters from building with internal JBIG library. Introduced in 10.67.00. Build: fix bug which makes build of Ppmsvga fail (which is attempted only on a system with libvga). Introduced in Netpbm 10.63 (June 2013) Build: fix build failure in an environment that does not have __inline . Introduced some time between Netpbm 10.26 (January 2005) and Netpbm 10.35 (August 2006). Build: fix build failure on SCO OpenServer due to SIGURG not existing. Broken in Netpbm 10.49 (December 2009). Build: Declare _XOPEN_SOURCE >= 500 in source files that use strdup. Build: fix compile failure due to use of reserved word 'stdout'. Build with 'installosf': Fix crash due to invalid operator == on some systems.
Diffstat (limited to 'graphics/netpbm/Makefile')
-rw-r--r--graphics/netpbm/Makefile18
1 files changed, 3 insertions, 15 deletions
diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile
index 8dbe39aa90f..5fc2538b1f1 100644
--- a/graphics/netpbm/Makefile
+++ b/graphics/netpbm/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.197 2014/11/23 14:38:34 gson Exp $
+# $NetBSD: Makefile,v 1.198 2014/11/23 16:12:10 wiz Exp $
-DISTNAME= netpbm-10.67.05
-PKGREVISION= 5
+DISTNAME= netpbm-10.68.02
CATEGORIES= graphics
MASTER_SITES= #
# manually created from svn checkout of
@@ -12,7 +11,7 @@ MASTER_SITES= #
# svn checkout http://svn.code.sf.net/p/netpbm/code/userguide netpbm-userguide
# cd netpbm-userguide && for i in *.html; do python2.7 ../netpbm/buildtools/makeman $i; done && cd ..
# tar -cvzf /archive/distfiles/netpbm-docs-r${SVN_REVISION}.tar.gz netpbm-userguide/*.[0-9]
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} netpbm-docs-r2273${EXTRACT_SUFX}
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} netpbm-docs-r2313${EXTRACT_SUFX}
MAINTAINER= adam@NetBSD.org
HOMEPAGE= http://netpbm.sourceforge.net/
@@ -47,17 +46,6 @@ SUBST_SED.rgb_txt+= -e 's,/usr/share/netpbm/rgb.txt,${PREFIX}/share/netpbm/rgb.t
.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "SunOS"
-SUBST_CLASSES+= xopen
-SUBST_STAGE.xopen= pre-configure
-SUBST_FILES.xopen= converter/other/jpeg2000/jpeg2ktopam.c
-SUBST_FILES.xopen+= converter/other/jpeg2000/pamtojpeg2k.c
-SUBST_FILES.xopen+= buildtools/libopt.c
-SUBST_FILES.xopen+= lib/libppmcolor.c lib/libpamcolor.c lib/libpm.c
-SUBST_FILES.xopen+= lib/pmfileio.c lib/libpam.c lib/colorname.c
-SUBST_SED.xopen= -e '/define.*_XOPEN_SOURCE/s/600/500/g'
-.endif
-
# only used if NEED_RUNTIME_PATH is set, so set it unconditionally
MAKE_FLAGS+= NETPBMLIB_RUNTIME_PATH=${PREFIX}