summaryrefslogtreecommitdiff
path: root/graphics/netpbm/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2017-02-23Updated netpbm to 10.77.02.wiz1-8/+7
17.01.24 Release 10.77.02 tifftopnm: Fix memory corruption when image is more pixels than can be represented as a C unsigned integer. Broken in Netpbm 10.11 (October 2002). 17.01.11 BJH Release 10.77.01 svgtopam: Fix crash when out of memory. Always broken (svgtopam was new in Netpbm 10.33 (March 2006)). 16.12.25 BJH Release 10.77.00 pnmpad: fix bug: incorrect output width. Introduced in Netpbm 10.72 (July 2015). Makeman: slight improvement to formatting of man pages. Thanks Werner LEMBERG <wl@gnu.org>. Test: skip tests of some parts that are configured out of the build. 16.09.27 BJH Release 10.76.00 pnmquantall: Fix failure when temporary file location is not the same filesystem as the output file. pnmquantall: Fix incorrect handling of when the Pnmremap or the final rename fails. giftopnm: Fix bug: crash on little-endian computers that can't toleration unaligned memory access. Thanks Ignatios Souvatzis (is@netbsd.org). Broken in Netpbm 10.47 (June 2009). cmuwmtopbm: fix trivial memory leak. Always broken (cmuwmtopbm was in primordial Pbmplus, in 1988). Build: Add PKG_CONFIG make variable. Build: tifftopnm.c: fix undefined WIFSIGNALED, etc. in 16.06.26 BJH Release 10.75.00 pbmtextps: Add -leftmargin, -rightmargin, -topmargin, -bottommargin, -ascent, -descent, -pad, -crop. pbmtextps: Add -dump-ps. pbmtextps: Abort with error instead of generating single space when user supplies no text. pbmtextps: Accept fractional -fontsize. pbmtextps: Change margins for non-default fonts. pbmtextps: Minor output changes caused by code cleanup. bmptopnm: Add ability to convert Version 4 and 5 Windows BMP. pbmtext: remove undocumented -dump option; add 'genfontc' development tool (buildtools/ directory) to replace it. pbmtext: Add -dry-run pbmtext: Add -dump-sheet pbmtext: Speedup: renders directly in raw PBM. pbmreduce: add -randomseed. anytopnm, pnmmargin, pnmquant, ppmquant, pnmquantall, pgmcrater, ppmfade, ppmrainbow, ppmshadow, pbmtox10bm, pamstretch-gen: Add -version. fiascotopnm: change -version to include Netpbm version. libnetpbm: Add pm_system2(), pm_system2_lp(), pm_system2_vp() - same as pm_system(), etc. but returns the termination status. pamarith: fix incorrect output when maxvals differ, for -add, -multiply, -mean, -min, -max. Broken in Netpbm 10.41 (December 2007). pbmtextps: Fix bug: input text or font name with Postscript control characters messes up the Postscript program. hpcdtoppm dummy version: update web link to real version. ppmhist: fix incorrect color names. Introduced in Netpbm 10.19 (November 2003). ppmshadow: fix bug: don't ignore invalid option. Introduced in Netpbm 10.9 (September 2002). pnmpaste: fix possible invalid memory access. Introduced in Netpbm 1.44 (September 2008). pbmreduce: fix undefined behavior when scale factor argument is too big. Always present (pbmreduce was new in September 1989). pbmtext: Fix bug: invalid memory reference when text contains code points > 127. Broken in 10.74. pnmtofiasco, fiascotopnm: Fix incorrect math on systems with unusual floating point representation. Always broken (programs were new in Netpbm 9.6 (July 2000). cameratopam: fix invalid memory reference; effect unknown. Introduced in Netpbm 10.68 (September 2014). Install on Windows: fix backward compatibility symlinks for pnmtoplainpnm, pnmquantall. Build: Remove use of strndup so it compiles on Mac OS X 10.6. Broken in 10.74. Build: Remove use of isfinite so it compiles with C89 standard compiler. 16.03.27 BJH Release 10.74.00 pbmtext: produce same image when you run pbmtext with -width explicitly set to the width you get when you don't specify width. pbmtext: ignore -nomargins when -width is specified. pbmtext: report when line ends are dropped because of truncation. pbmtext: Fix bug: if input has a code point that is not in the font, Pbmtext substitutes space, but behavior is undefined if font doesn't have space either. Now it aborts the program in that case. pbmtext: fix bug: Respect -width when specified. pbmtext: fix bug: Deal correctly with negative -space. pbmtext: fix bug: Consider all characters in line, not just first and last, in determining line width. libnetbpm font facility (so pbmtext): fix bug: undefined behavior when font definitions are invalid in any of various ways. libnetpbm font facility (so pbmtext): fix incorrect font names in error messages. pnmtopsnr: Add -machine, -max . Netpbmlib: add /usr/local/netpbm/lib and /etc/X11 to search path for rgb.txt. makeman: Add some text replacements to solve glitches. Handle &mdash, &minus. 15.12.26 BJH Release 10.73.00 anytopnm: use --mime-type option instead of --mime on newer 'file' program (on which --mime has a new meaning so that 'anytopnm' cannot recognize some file types). anytopnm: recognize "Netpbm PAM" non-mime output from 'file' program as indicating PAM. pnmtops: fix bug: always thinks -level=N is -level=1. Introduced after Netpbm 10.26 (January 2005) but before 10.35 (August 2006). Manifests only with recent compilers. pnmpaste: fix bug with PBM: incorrect output. Introduced in Netpbm 10.44 (September 2008). Build: fix undefined reference to parse_printf_format etc. on system that doesn't have that facility. Broken in Netpbm 10.69 (December 2014). Build: fix superfluous error message when USER environment variable contains whitespace. Broken since primordial Netpbm. Windows build: fix bug: make clean doesn't clean icon/netpbm.o. Broken since Netpbm 10.67 (June 2014). Test: improved pnmpaste test. 15.09.26 BJH Release 10.72.00 Add pamunlookup . pamtopng: Implement -itxt . pamlookup: Add -byplane . pbmtoescp2: Add -stripeheight . phmtoescp2: Add -resolution . pbmtoescp2: Add -formfeed . pbmtoescp2: Add -raw . pbmtoescp2: Add -resolution=720 . pbmtoescp2: Pad output horizontally to a multiple of 8 columns and vertically to a whole stripe to prevent image loss. fitstopnm: Add message saying you're probably making a mistake if you have a 3-D image and don't specify -image. The third dimension is almost always time in practice. fitstopnm: Fix -min and -max. Broken in Netpbm 10.39 (June 2007). pnmtopclxl: fix buffer overrun causing unpredictable behavior. (Introduced in Netpbm 10.54 (March 2011). pnmtopclxl: fix wild memory access when out of memory. Always broken (Pnmtopclxl was new in Netpbm 10.6 (July 2002)). pnmtopclxl: fix wild memory access with pathologically large and uncompressible image. Always broken (Pnmtopclxl was new in Netpbm 10.6 (July 2002)). pnmtopclxl: fix silent output corruption when a file write fails. Always broken (Pnmtopclxl was new in Netpbm 10.6 (July 2002)). escp2topbm: Fix -plain. Always broken (escp2topbm was new in Netpbm 10.18 (September 2003)). pnmpad: Add -mheight, -mwidth. ppmtoilbm: Fix failure with -hamforce and -nocompression. Broken in Netpbm 9.12 (March 2001). makeman: fix Python syntax error. Introduced in Netpbm 10.70 (June 2015). 15.06.28 BJH Release 10.71.00 Add pamtopng. Thanks Willem vanSchaik (willem@schaik.com). pnmtopng: Add -srgbintent. pamstereogram: Add -xbegin. Change default to render from center outwards intead of from right to left, thus making the center of the image the crispest part. Thanks Scott Pakin (scott@pakin.org). pamstereogram: Allow -xshift and -yshift to be negative. Thanks Scott Pakin (scott@pakin.org). pnmpsnr: Add -rgb. ppmtoicr: remove -rle option. Actually, it never worked because of a bug. Now it isn't expected to. Ppmtoicr was new in 1991. pnmtopalm: Fix arithmetic overflow with ridiculously large image. Introduced after Netpbm 10.26 (January 2005) but before Netpbm 10.35 (August 2006). palmtopnm: Fix distorted output with PackBits compressed input. Always broken (Ability to convert PackBits input was new in Netpbm 10.27 (March 2005). pbmtoepson: fix -protocol option - never works and sometimes crashes program. Always broken (-protocol was new in Netpbm 10.23 (July 2004). pbmtoppa: fix buffer overruns, double-free crashes. Always broken (pbmtoppa was new in Netpbm 9.1 (March 2000). pbmtomatrixorbital: fix bug: fails if you specify the input file name argument. Always broken. (pbmtomatrixorbital was new in Netpbm 10.18 (Setpember 2003). sbigtopgm: fix detection of camera type. Always broken (sbigtopgm was new in Netpbm 8.3 (March 2000)). sbigtopgm: fix recognition of compressed image. Broken in Netpbm 10.70 (March 2015). pbmtogo: Fix bug: garbage first row. Broken at least since November 1989. pbmtogo: Fix bug: buffer overrun with certain input. Broken at least since November 1989. pbmtoescp2: Fix bug: overrun on certain input. Always broken (pbmtoescp2 was new in Netpbm 10.18 (September 2003)). escp2topbm: Fix buffer overrun on certain input. Always broken (escp2topbm was new in Netpbm 10.18 (September 2003)). libnetpbm: pm_stripeq: fix bug: wild pointer access when comparator is shorter than comparand. Doesn't affect function, but could cause crash or privacy exposure. Affects reading of a PAM file by any program. Introduced in one of Netpbm 10.27 (March 2005) through 10.35 (August 2006). pnmconvol: Fix bug: wrong output for pixels that convolve to negative values (should be clipped to zero). Introduced in Netpbm 10.68 (September 2014). pbmtog3: Fix buffer overrun. Introduced in Netpbm 10.23 (July 2004). cameratopam: Fix arithmetic underflow in JPEG processing; unknown effect. pbmtoxbm: Fix bug: crash with zero width input. Broken in Netpbm 10.37 (December 2006). sbigtopgm: fix buffer overrun with invalid input image. Always present (sbigtopgm was new in Netpbm 8.3 (March 2000)). pnmtorle: Fix buffer overrun with long file name. Always present. (pnmtorle was new to Netpbm in Netpbm 9.0 (April 2000)). pbmtopk: Fix buffer overrun with long file name. Always present. (pbmtopk was new in Netpbm 1 (March 1991)). pktopbm: Fix buffer overrun with long file name. Always present. (pbmtopk was new in Netpbm 1 (March 1991)). ppmtoyuvsplit: Fix buffer overrun with long file name. Always present. (New in Netpbm 1 (March 1991)). pbmtopi3: Fix bug: wrong output when input is higher or wider than 640 pixels. Always broken (pbmtopi3 was new in September 1991). st4topgm: Fix bug: with no argument, uses file named "'" instead of Standard Input. Always present (st45topgm was new in Netpbm 10.70 (March 2015). pbmtomgr: Fix incorrect output when input is too large (must be at most 4095 pixels high or wide). Always broken. (pbmtomgr was new in 1989). pbmtomacp: fix wild pointer dereference with -b larger than image height. Always broken. (pbmtomacp was new in X.V11R3 (March 1988). ppmtorgb3: Fix buffer overflow with long input file name. Always present. (ppmtorgb3 was new in X.V11R4 (November 1989). ppmtoarbtxt: fix bug: wrong output when high numbers represent darker. Broken in Netpbm 10.69 (November 2014). ppmtoarbtxt: better rounding in sample values. libnetpbm: Remove bitio.h as an external interface. test: replace some GNU-only code with more portable code that works on OS X. Thanks Ryan Schmidt <ryandesign@macports.org>. makeman: deal properly with backlash in source. But something was wrong with this change and it caused the program always to fail, so we reversed this change in 10.72. Build: don't build and install libjbig and libjasper if we are using external versions of them instead. Build: various cross-compile fixes, especially for MinGW. Build: work around bug in GCC < 4.2 related to SSE2 builtins that causes compile of pamflip to fail. Build: fix 'make package' where config.mk sets a subdirectory other than 'man' for the manual. Build: improve pointer man page text. 15.03.29 BJH Release 10.70.00 Add st4topgm, pgmtost4. Add pgmtosbig. Mainly a test tool for sbigtopgm. Add yuy2topam. Thanks Michael Haardt. tifftopnm: allow input file to be nonseekable. Thanks Ludolf Holzheid <ludolf.holzheid@gmx.de>. pnmhisteq: add -noblack and -nowhite. Idea from Andrew Brooks <arb@sat.dundee.ac.uk>. pgmmorphconv: add -gradient. Thanks Michael Haardt <michael@moria.de>. giftopnm: Fix bug: crashes if purported GIF has neither a global color map nor a local one. pgmmorphconv: fix bug: always produces PGM Plain format. Always present (progam was added to Netpbm in Release 10.0 (June 2002)). pamtilt: fix bug: unconditional crash. Broken in Netpbm 10.63 (June 2013). pnmgamma -srgbtobt709, -bt709tosrgb: fix bug; incorrect output nearly always. Always broken (These options were new in Netpbm 10.32 (February 2006)). pamtosvg: fix use of unset variable; probably results in a crash. Always present (pamtosvg was new in Netpbm 10.33 (March 2006)). cameratopam: fix bug: variable used before set; unknown impact. Introduced in Netpbm 10.66 (March 2014). On Windows, don't leave temporary files around (previous code did so because unlink of an open file fails in Windows; new code deletes temporary files via atexit). Thanks Ludolf Holzheid <ludolf.holzheid@gmx.de>. Libnetpbm: fix external header file pm.h so it does not include internal header file pm_c_util.h. Introduced in Netpbm 10.69 (December 2014). build: fix incompatible type compilation error in giftopnm. Introduced in Netpbm 10.38 (March 2007) (but obviously manifests only in recent build environments). build: fix compile failure in wordint_access_be.h with Bigendian target platforms. Introduced in Netpbm 10.63 (June 2013). build: fix compile failure in pbmtomacp, ppmtoacad, pgmabel: TRUE redefined. Introduced in Netpbm 10.69 (December 2014). 14.12.25 BJH Release 10.69.00 pnmnorm: add -bsingle, -wsingle. ppmtoarbtxt: Do some validation of format strings. Thanks Akira F Urushibata <afu@wta.att.ne.jp>. pamcrater: Add -verbose. ppmtoarbtxt: Fail if a #() escape sequence runs off end of file or is too long to process; before, the program would treat the text from # to EOF or where the buffer filled up as literal text, even ignoring any #() within. NetBSD: show actual numbers in messages instead of "f" or no information, by using NetBSD's vasprintf. Make %g in messages display the actual number instead of "g" in messages where platform doesn't have vasprintf. (But scores of %f are still left). anytopnm: convert all images in a multi-image GIF instead of just the first. Improve "bad magic number" message from pbmXXX, and pgmXXX, and pnmXXX programs. Fix bogus message from ppmXXX programs when the input is not (per the magic number) a Netpbm image. Introduced after Netpbm 10.26 (January 2005) but before Netpbm 10.35 (August 2006). ppmtoarbtxt: Fix some undefined behavior when program limits are exceeded (i.e. buffer overruns). pambackground: fix bug: segfault or incorrect results in most cases. Thanks Ludolf Holzheid (ludolf.holzheid@gmx.de). Introduced in Netpbm 10.37 (December 2006). Windows build: fix universal build failure with "No rule to make ...icon.netpbm.oLINKERISCOMPILER...". Broken in Netpbm 10.67 (June 2014).
2016-08-11Fix bus error on little-endian architectures with strict alignment.is1-2/+5
2016-07-09Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.wiz1-2/+2
2016-05-16netpbm should use flex tool instead of lex and, while we're here, enablerichard1-3/+3
vasprintf for SunOS. bump PKGREVISION
2016-04-09Add CFLAGS_FOR_BUILD and LDFLAGS_FOR_BUILD for MKPIE build.alnsn1-1/+3
2016-02-26Remove manual addition of MAKE_FLAGS to OPSYSVARS, it's now in by default.jperkin1-2/+1
2016-02-25Use OPSYSVARS.jperkin1-11/+10
2015-06-12Recursive PKGREVISION bump for all packages mentioning 'perl',wiz1-2/+2
having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0.
2015-03-12simplify PKGMANDIR fixtnn1-2/+2
2015-03-11honour PKGMANDIRtnn1-1/+4
2015-03-11missing INSTALLATION_DIRS for man3 & man5tnn1-2/+2
2015-01-12forgot to bump revisionis1-1/+2
2015-01-12new rgb.txt location finding code requires new SUBST.is1-2/+2
This is incomplete in that the X11 locations should probably be patched, too; OTOH, the netpbm rgb.txt is found now, and the environment variable RGBDEF works also.
2014-11-23Update to 10.68.02. Remove XOPEN_SOURCE SUBST now that it waswiz1-15/+3
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.
2014-11-23Use the libc vasprintf() on NetBSD. This fixes a bug where a warninggson1-2/+2
message from pnmtops would say "rescaling to g", with the letter "g" appearing in place of a floating point value. Bump PKGREVISION.
2014-10-23Simplify default install target. Bump PKGREVISION (symlink changes).fhajny1-4/+3
2014-10-09Configure netpbm with tiff and zlib support so that pamtotiff,gson1-2/+7
pnmtotiff, pnmtotiffcmyk, and tifftopnm once again get built. They have been temporarily absent since the update to 10.67.03.
2014-09-29Revert the shell used to run netpbm commands implemented as shellgson1-17/+3
scripts from bash to sh, to limit exposure to any still-unfixed or still-undiscovered bash vulnerabilities. A quick review of the shell scripts did not turn up any obvious bashishms. Hopefully they have all been fixed already, but if not, I'd still rather have one or two scripts be broken (and volunteer to fix any breakage reported) than have all of them be vulnerable to bash bugs. Approved by agc.
2014-09-19Add jpeg dependency and enable it.wiz1-2/+5
Adds jpegto* and *tojpeg again, needed e.g. by avr-libc (reported by joerg). Bump PKGREVISION.
2014-09-10Downgrade _XOPEN_SOURCE=600 back to 500 on SunOS, you can't mix and matchjperkin1-1/+13
due to conflicting C99 requirements, and we don't need XPG6 for strdup(). Fixes build on SunOS.
2014-09-08Update to 10.67.05:wiz1-2/+2
14.09.08 BJH Release 10.67.05 cameratopam: fix buffer overflow. Always present. (cameratopam was new in Netpbm 10.28 (June 2005)). Build: fix universal build failure introduced in 10.67.04.
2014-09-08Update to 10.67.04, integrating last two pkgsrc patches.wiz1-4/+11
Add a second tarball consisting of the html-to-man converted documenation, and overwrite dummy man pages with those. Changes in 10.67.04: 14.09.04 BJH Release 10.67.04 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: fix compile failure due to use of reserved word 'stdout'. Build with 'installosf': Fix crash due to invalid operator == on some systems. 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.
2014-09-08Update to 10.67.03. This is the current release of the Advancedwiz1-39/+36
branch of netpbm. Lots and lots of changes since our Super Stable release version.
2014-08-25Bump PKGREVISION for two removed patches, just to be on the safe side.wiz1-1/+2
2014-08-21Update to 10.35.93:wiz1-2/+2
14.06.29 BJH Release 10.35.93 pamsharpness: put primary output on Standard Output instead of on Standard Error as a Netpbm message. jpegtopnm -dumpexif: fix incorrect display of resolution. Always broken. (-dumpexif was new in Netpbm 9.18 September 2001). jpegtopnm -dumpexif: fix truncated make, model, or datetime. Always broken. (-dumpexif was new in Netpbm 9.18 September 2001). jpegtopnm -dumpexif: fix wild pointer with invalid EXIF data. Always broken. (-dumpexif was new in Netpbm 9.18 September 2001). Build: fix dependencies in .deb package so they work with Debian 6 at least. Always broken (.deb capability was new in 10.35.92).
2014-08-21Update to 10.35.92:wiz1-3/+2
14.03.29 BJH Release 10.35.92 ppmrelief: fix out-of-bound values in output. Always broken. Thanks Prophet of the Way <afu@wta.att.ne.jp>. ppmrelief: fix crash when input image is too small. Always broken. Thanks Prophet of the Way <afu@wta.att.ne.jp>. pgmtexture: fix buffer overflow. Always broken. (Program was added in primordial Netpbm in 1991). pamdeinterlace: fix incorrect output with -takeodd and image has only one row. Always broken (pamdeinterlace was introduced in Netpbm 9.21 (January 2001)). Thanks Prophet of the Way <afu@wta.att.ne.jp>. 13.12.24 BJH Release 10.35.91 pbmtoepsi: fix handling of all-white image. Always broken. Thanks Prophet of the Way <afu@wta.att.ne.jp>. pbmtoepsi: fix excessively long raster line. Always broken. Thanks Prophet of the Way <afu@wta.att.ne.jp>. pnmshear: fix incorrect determination of background color. Always broken. ppmpat: fix crash with -squig with aspect ratio < 1:25 or > 25:1. Thanks Prophet of the Way <afu@wta.att.ne.jp>. Always broken. pamgauss: Fix typo in message. 13.09.26 BJH Release 10.35.90 ppmtoxpm: fix bug: ignores inability to open the specified color dictionary file (-rgb) and just doesn't use color names. Introduced in Netpbm 10.15 (April 2003). ppmforge. fix crash when -mesh is 1 or less. Always broken (program was added in Pbmplus (October 1991). Thanks Prophet of the Way <afu@wta.att.ne.jp>. ppmforge: fix array bounds violation. Always broken (program was added in Pbmplus (October 1991). Thanks Prophet of the Way <afu@wta.att.ne.jp>. 13.05.03 BJH Release 10.35.89 ppmtowinicon: fix bug: sometimes creates image truncated in the middle of the AND mask. Always broken (program was new in Netpbm 9.3 (June 2000)). pamtilt: fix bug: incorrect output or invalid memory access crash. Always broken (program was new in Neptbm 10.30 (October 2005)). 13.02.20 BJH Release 10.35.88 ppmpat: fix wrong output with -poles. Windows build: fix compile error on urt/rle_open_f.c due to Unix process management stuff. leaftoppm: fix incorrect determination of whether input is Interleaf on 64 bit systems. Always broken. cmuwmtopbm: fix incorrect determination of whether input is a CMU window manager bitmap on 64 bit systems. Always broken. 12.12.05 BJH Release 10.35.87 pamtotiff: fix bug: XRESOLUTION, YRESOLUTION, and RESOLUTIONUNIT not allowed in -tags. Broken at least since 10.35.00. pnmmontage: fix random stuff placed in unoccupied space in the output image. Always broken (program was new in 9.10 (January 2001). pnmpsnr: fix crash when invoked (invalidly) with only one argument. Always broken. pampick: fix wild pointer in command line parsing. Bug has always been there. pamgauss: Fix bug: erroneously says -maxval is too big. Always broken (Pamgauss was added in 10.23 (July 2004). 12.07.23 BJH Release 10.35.86 ppmtobmp: fix failure with "internal error" message on all uses. Broken in 10.35.78. Build: rename getline() in xpmtoppm.c to avoid collision with some libc. Always broken. 12.06.21 BJH Release 10.35.85 configure: work around Perl bug that causes 'configure' to falsely conclude Svgalib is installed. Build: move -lm to end of -l's. Broken at least since 10.35. 12.02.14 BJH Release 10.35.84 pamscale: fix all black output with resampling. Always broken. pgmtexture: fix integer overflow in difference variance. Always broken. pgmtexture: fix array bounds violations in various calculations. Always broken. Build: always put Netpbm header files before external library header files in search path. 11.11.25 BJH Release 10.35.83 pngtopnm: fix crash with invalid tIME chunk. Always broken. 11.09.25 BJH Release 10.35.82 pnmtopng: fix bug: with -alpha specifying a mask which contains no fully transparent area, output PNG is fully opaque. Introduced in 10.29. pnmquant: work with older Perl that doesn't have 3-argument open. pnmtops: fix message: says "from top edge" where it means "from bottom edge." 11.07.10 BJH Release 10.35.81 pgmtexture: fix wrong sum variance result. Wrong since the beginning. Thanks Francois P. S. Luus <fpsluus@gmail.com>.
2014-07-17Fix build under SCO OpenServer 5.0.7/3.2.ryoon1-1/+5
2014-05-29Bump for perl-5.20.0.wiz1-2/+2
Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
2014-03-13Set USE_GCC_RUNTIME=yes for packages which build shared libraries but dojperkin1-1/+2
not use libtool to do so. This is required to correctly depend upon a gcc runtime package (e.g. gcc47-libs) when using USE_PKGSRC_GCC_RUNTIME.
2013-05-31Bump all packages for perl-5.18, thatwiz1-2/+2
a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints.
2013-02-16Recursive bump for png-1.6.wiz1-2/+2
2013-01-26Revbump after graphics/jpeg and textproc/icuadam1-2/+2
2012-10-06Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-2/+1
2012-10-03Bump all packages that use perl, or depend on a p5-* package, orwiz1-2/+2
are called p5-*. I hope that's all of them.
2012-07-25Remove SunOS patch, the ld(1) options are actively harmful and causejperkin1-2/+2
R_AMD64_32 relocation errors in 64-bit mode. The default options should work fine. Bump PKGREVISION.
2012-06-14Recursive PKGREVISION bump for libxml2 buildlink addition.sbd1-2/+2
2012-02-06Revbump forwiz1-1/+2
a) tiff update to 4.0 (shlib major change) b) glib2 update 2.30.2 (adds libffi dependency to buildlink3.mk) Enjoy.
2011-04-05Re-add "MAKE_JOBS_SAFE=no" as the build breaks on an 8 core machine.tron1-1/+2
2011-04-04Changes 10.35.80:adam1-11/+6
* asciitopgm: fix bug: memory corruption on too-long lines. * asciitopgm: fix bug: improper handling of blank lines. Changes 10.35.79: * configure: don't default to /usr/X11R6/lib/libX11.so just because /usr/X11R6 exists. /usr/X11R6/lib must exist. * pngtopnm: fix bug: -verbose reports history chunk present when it's really a palette.
2011-01-15Update "netpbm" package to version 10.35.78. Changes since 10.35.77:tron1-3/+2
- bmptopnm: Don't crash on invalid zero value of image height in the BMP header of a compressed file. Always broken. - bmptopnm: don't crash on large invalid value of 'colorsused' in the BMP header. - ilbmtoppm: Don't crash on image that has a transparent color index, but no color map. "pkgsrc" changes: - Add a lot of patches written by Thomas Klausner and me to make this compile with PNG 1.5.
2011-01-13png shlib name changed for png>=1.5.0, so bump PKGREVISIONs.wiz1-1/+2
2010-11-04Fix problem finding rgb.txt, PR#43934adam1-7/+11
2010-09-23Update "netpbm" package to version 10.35.77.tron1-3/+2
Changes since version 10.35.76: - ppmtompeg: fix crash with free of unallocated memory. - Build: don't expect snprintf() to exist. - Build: don't use <strings.h> or bzero().
2010-07-14Arrange conditional PLIST for the "fiasco" converters since they'redholland1-1/+5
disabled on MacOS. From Edgar Fuss in PR 43464.
2010-07-13Changes 10.35.76:adam1-3/+2
* Pnmtopng: -libversion doesn't report level of linked libz. It was a modularity violation and caused build failures on Mac OS X, because Pnmtopng per se doesn't know about libz -- it's used by libpng. * Build: don't fail due to SIGRTMIN, SIGRTMAX being undefined. Changes 10.35.75: * palmtopnm: fix for pixel size 16. * pamscale: fix -reduce. Introduced in 10.27. * configure: default to 'none' for Svgalib if it doesn't appear to be installed (per 'ldconfig'). Ported from 10.38, released March 2007. Changes 10.35.74: * pbmtext: don't crash when font file contains a blank line. Fail cleanly. * ppmtoilbm: fix arithmetic overflow with image dimension represented as 16 bit integer. * pbmpage: fix garbage output. * pnmhistmap: Fix crash with -width. Always broken. * Build: don't fail due to SIGPWR being undefined.
2010-06-13Bump PKGREVISION for libpng shlib name change.wiz1-1/+2
Also add some patches to remove use of deprecated symbols and fix other problems when looking for or compiling against libpng-1.4.x.
2010-02-19update to 10.35.73drochner1-5/+2
changes: many bugfixes, especially: xpmtoppm: fix wild pointer with color index > 127. which fixes a stack-based buffer overflow (CVE-2009-4274) pkgsrc change: use a fixed PLIST instead of generating on install, helps to detect problems
2010-01-18Second try at jpeg-8 recursive PKGREVISION bump.wiz1-2/+2
2009-08-26bump revision because of graphics/jpeg updatesno1-2/+2
2009-07-18Change getline() to get_line()smb1-2/+2