pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/netpbm Updated netpbm to 10.77.02.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e6abb164a540
branches:  trunk
changeset: 358954:e6abb164a540
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Feb 23 23:13:42 2017 +0000

description:
Updated netpbm to 10.77.02.

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@localhost>.

              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@localhost).  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@localhost).

              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@localhost).

              pamstereogram: Allow -xshift and -yshift to be negative.  Thanks
              Scott Pakin (scott%pakin.org@localhost).

              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@localhost>.

              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@localhost>.

              pnmhisteq: add -noblack and -nowhite.  Idea from Andrew Brooks
              <arb%sat.dundee.ac.uk@localhost>.

              pgmmorphconv: add -gradient.  Thanks Michael Haardt
              <michael%moria.de@localhost>.

              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@localhost>.

              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@localhost>.

              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@localhost).
              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).

diffstat:

 graphics/netpbm/Makefile                                 |  15 +++----
 graphics/netpbm/PLIST                                    |  19 ++++++++-
 graphics/netpbm/distinfo                                 |  22 +++++------
 graphics/netpbm/patches/patch-converter_other_giftopnm.c |  29 ----------------
 graphics/netpbm/patches/patch-lib_util_nstring.h         |  14 +++++++
 graphics/netpbm/patches/patch-pm__config.in.h            |  14 -------
 graphics/netpbm/patches/patch-wordaccess_be_aligned.h    |  13 -------
 7 files changed, 47 insertions(+), 79 deletions(-)

diffs (269 lines):

diff -r 0d8eed3e9ec3 -r e6abb164a540 graphics/netpbm/Makefile
--- a/graphics/netpbm/Makefile  Thu Feb 23 16:55:49 2017 +0000
+++ b/graphics/netpbm/Makefile  Thu Feb 23 23:13:42 2017 +0000
@@ -1,21 +1,17 @@
-# $NetBSD: Makefile,v 1.210 2016/08/11 22:48:00 is Exp $
+# $NetBSD: Makefile,v 1.211 2017/02/23 23:13:42 wiz Exp $
 
-TEST_TARGETS=  test
-
-DISTNAME=      netpbm-10.68.02
+DISTNAME=      netpbm-10.77.02
 CATEGORIES=    graphics
 MASTER_SITES=  #
-PKGREVISION=   5
-
 # manually created from svn checkout of
 # svn checkout http://svn.code.sf.net/p/netpbm/code/advanced netpbm
-# tar --exclude netpbm/.svn/\* -cvzf /archive/distfiles/netpbm-$VERSION.tar.gz netpbm
+# tar --exclude netpbm/.svn -cvzf /archive/distfiles/netpbm-$VERSION.tar.gz netpbm
 # where VERSION comes from reading netpbm/doc/HISTORY
 # for the documentation:
 # 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-r2313${EXTRACT_SUFX}
+DISTFILES=     ${DISTNAME}${EXTRACT_SUFX} netpbm-docs-r2897${EXTRACT_SUFX}
 
 MAINTAINER=    adam%NetBSD.org@localhost
 HOMEPAGE=      http://netpbm.sourceforge.net/
@@ -51,6 +47,9 @@
 SUBST_FILES.rgb_txt=   config.mk
 SUBST_SED.rgb_txt+=    -e 's,/usr/share/netpbm/rgb.txt,${PREFIX}/share/netpbm/rgb.txt,'
 
+# needs pkg-config and x11?!
+TEST_TARGET=   test
+
 .include "../../mk/bsd.prefs.mk"
 
 # only used if NEED_RUNTIME_PATH is set, so set it unconditionally
diff -r 0d8eed3e9ec3 -r e6abb164a540 graphics/netpbm/PLIST
--- a/graphics/netpbm/PLIST     Thu Feb 23 16:55:49 2017 +0000
+++ b/graphics/netpbm/PLIST     Thu Feb 23 23:13:42 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.13 2014/11/23 16:12:10 wiz Exp $
+@comment $NetBSD: PLIST,v 1.14 2017/02/23 23:13:42 wiz Exp $
 bin/411toppm
 bin/anytopnm
 bin/asciitopgm
@@ -106,6 +106,7 @@
 bin/pamtopam
 bin/pamtopdbimg
 bin/pamtopfm
+bin/pamtopng
 bin/pamtopnm
 bin/pamtosrf
 bin/pamtosvg
@@ -115,6 +116,7 @@
 bin/pamtowinicon
 bin/pamtoxvmini
 bin/pamundice
+bin/pamunlookup
 bin/pamvalidate
 bin/pamwipeout
 bin/pbmclean
@@ -194,6 +196,8 @@
 bin/pgmtopbm
 bin/pgmtopgm
 bin/pgmtoppm
+bin/pgmtosbig
+bin/pgmtost4
 bin/pi1toppm
 bin/pi3topbm
 bin/picttoppm
@@ -317,6 +321,7 @@
 bin/ppmtosixel
 bin/ppmtospu
 bin/ppmtoterm
+bin/ppmtotga
 bin/ppmtouil
 bin/ppmtowinicon
 bin/ppmtoxpm
@@ -341,6 +346,7 @@
 bin/spottopgm
 bin/sputoppm
 bin/srftopam
+bin/st4topgm
 bin/sunicontopnm
 bin/svgtopam
 bin/tgatoppm
@@ -357,8 +363,8 @@
 bin/ybmtopbm
 bin/yuvsplittoppm
 bin/yuvtoppm
+bin/yuy2topam
 bin/zeisstopnm
-include/netpbm/bitio.h
 include/netpbm/colorname.h
 include/netpbm/mallocvar.h
 include/netpbm/pam.h
@@ -377,11 +383,12 @@
 include/netpbm/ppmdfont.h
 include/netpbm/ppmdraw.h
 include/netpbm/ppmfloyd.h
+include/netpbm/runlength.h
 include/netpbm/shhopt.h
 lib/libnetpbm.a
 lib/libnetpbm.so
 lib/libnetpbm.so.11
-lib/libnetpbm.so.11.68
+lib/libnetpbm.so.11.77
 man/man1/411toppm.1
 man/man1/anytopnm.1
 man/man1/asciitopgm.1
@@ -494,6 +501,7 @@
 man/man1/pamtopam.1
 man/man1/pamtopdbimg.1
 man/man1/pamtopfm.1
+man/man1/pamtopng.1
 man/man1/pamtopnm.1
 man/man1/pamtosrf.1
 man/man1/pamtosvg.1
@@ -503,6 +511,7 @@
 man/man1/pamtowinicon.1
 man/man1/pamtoxvmini.1
 man/man1/pamundice.1
+man/man1/pamunlookup.1
 man/man1/pamvalidate.1
 man/man1/pamwipeout.1
 man/man1/pamx.1
@@ -584,6 +593,8 @@
 man/man1/pgmtopbm.1
 man/man1/pgmtopgm.1
 man/man1/pgmtoppm.1
+man/man1/pgmtosbig.1
+man/man1/pgmtost4.1
 man/man1/pi1toppm.1
 man/man1/pi3topbm.1
 man/man1/picttoppm.1
@@ -733,6 +744,7 @@
 man/man1/spottopgm.1
 man/man1/sputoppm.1
 man/man1/srftopam.1
+man/man1/st4topgm.1
 man/man1/sunicontopnm.1
 man/man1/svgtopam.1
 man/man1/tgatoppm.1
@@ -751,6 +763,7 @@
 man/man1/ybmtopbm.1
 man/man1/yuvsplittoppm.1
 man/man1/yuvtoppm.1
+man/man1/yuy2topam.1
 man/man1/zeisstopnm.1
 man/man3/libmaketmpfile.3
 man/man3/libmaketmpfilefd.3
diff -r 0d8eed3e9ec3 -r e6abb164a540 graphics/netpbm/distinfo
--- a/graphics/netpbm/distinfo  Thu Feb 23 16:55:49 2017 +0000
+++ b/graphics/netpbm/distinfo  Thu Feb 23 23:13:42 2017 +0000
@@ -1,15 +1,13 @@
-$NetBSD: distinfo,v 1.103 2016/08/11 22:48:00 is Exp $
+$NetBSD: distinfo,v 1.104 2017/02/23 23:13:42 wiz Exp $
 
-SHA1 (netpbm-10.68.02.tar.gz) = 90fa87549dc7fb33bd7f9f29abad09fe99faf3e1
-RMD160 (netpbm-10.68.02.tar.gz) = 7567eb6c38f06ad89b995b9315deec91db94bfb0
-SHA512 (netpbm-10.68.02.tar.gz) = 7555889392e35f9b24ff70b62a5f9d80aa5157915ef7bf57efa3d5c0f0d0ca198c8baa97ce7985c68b6bea11c3dcfd64ca913b918b0d9d97f93d4927f6efa00b
-Size (netpbm-10.68.02.tar.gz) = 2703809 bytes
-SHA1 (netpbm-docs-r2313.tar.gz) = 8c36b17b1d2dca6ab7bd34666a8929b9ea665743
-RMD160 (netpbm-docs-r2313.tar.gz) = 03854f545c7c0f4c825ee08bc779b62da0ea05c3
-SHA512 (netpbm-docs-r2313.tar.gz) = 978f7e154aadfa2c4332c07f8e822ec1990697c22b4a3b56f5de434a1f249a6b552c6a76763d0ce2684dfbd5d14973bf0b05702dd0ad543c6f440a992bcac0d9
-Size (netpbm-docs-r2313.tar.gz) = 447907 bytes
+SHA1 (netpbm-10.77.02.tar.gz) = 73b6815ea922394050c7c596b3f7d502cde22866
+RMD160 (netpbm-10.77.02.tar.gz) = 99afb99fcce4f20aee35ecc67ff1522b17e8aa7b
+SHA512 (netpbm-10.77.02.tar.gz) = de9b78d7a6aa293d3ff9ddb3f1f0149966956e4c3e742fa64f4c27cf03150056e375237f3d05f2be4e1cb29bf8a0c7d36d3f515bec69ff8ec1fda24c0aa75506
+Size (netpbm-10.77.02.tar.gz) = 2776825 bytes
+SHA1 (netpbm-docs-r2897.tar.gz) = 80760e2a177034d54e5d09b3f273c84706ce13a6
+RMD160 (netpbm-docs-r2897.tar.gz) = 77a3b59080ca264214f18aee054a5e8ea33d69c6
+SHA512 (netpbm-docs-r2897.tar.gz) = 7625c1ae6c8689b896e762d368605f74060751bd4948951b788cff07a29d9f74aabf63ea57e172187e56a4dd7bff379d1672d224bc29fd7fdf5b4eb310ccbccd
+Size (netpbm-docs-r2897.tar.gz) = 469000 bytes
 SHA1 (patch-common.mk) = f590cc66e0fe6a07e848b9b46662bca350557bea
-SHA1 (patch-converter_other_giftopnm.c) = 444fd73c239279a94481a2163a9e31d340af1a15
 SHA1 (patch-lib_Makefile) = 3f93bd24c53aa1f22aa43545d7ca5422af8e78ca
-SHA1 (patch-pm__config.in.h) = c6d51bbdf6c1f7725f08f321591038e296761e61
-SHA1 (patch-wordaccess_be_aligned.h) = 7cc5cd1126f65b3307393c978ac9ff4a49d666de
+SHA1 (patch-lib_util_nstring.h) = 394e258902f3d8fceea8840bca11cffd030060c6
diff -r 0d8eed3e9ec3 -r e6abb164a540 graphics/netpbm/patches/patch-converter_other_giftopnm.c
--- a/graphics/netpbm/patches/patch-converter_other_giftopnm.c  Thu Feb 23 16:55:49 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-$NetBSD: patch-converter_other_giftopnm.c,v 1.2 2016/08/11 22:48:00 is Exp $
-
-Fix "giftopnm.c:368: error: incompatible types in assignment".
-
---- converter/other/giftopnm.c.orig    2014-11-23 16:05:23.000000000 +0000
-+++ converter/other/giftopnm.c
-@@ -365,7 +365,7 @@ getDataBlock(FILE *          const ifP, 
-         pm_message("EOF or error in reading DataBlock size from file.  %s",
-                    error);
-         pm_strfree(error);
--        *errorP = FALSE;
-+        *errorP = NULL;
-         *eofP = TRUE;
-         *lengthP = 0;
-     } else {
-@@ -671,10 +671,13 @@ bitsOfLeBuffer(const unsigned char * con
- 
-     assert(len <= 16);
- 
-+/* should be UNALIGNED_OK, but that'd need fixing, too */
-+#if defined(__vax__) || defined(__i486__) || defined(__x86_64__)
-     if (BYTE_ORDER == LITTLE_ENDIAN)
-         /* Fast path */
-         codeBlock = *(uint32_t *) & buf[start/8];
-     else
-+#endif
-         /* logic works for little endian too */
-         codeBlock =
-             (buf[start/8+0] <<  0) |
diff -r 0d8eed3e9ec3 -r e6abb164a540 graphics/netpbm/patches/patch-lib_util_nstring.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/netpbm/patches/patch-lib_util_nstring.h  Thu Feb 23 23:13:42 2017 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-lib_util_nstring.h,v 1.1 2017/02/23 23:13:43 wiz Exp $
+
+Add missing header for strcasecmp and strncasecmp.
+
+--- lib/util/nstring.h.orig    2015-01-23 11:43:58.000000000 +0000
++++ lib/util/nstring.h
+@@ -3,6 +3,7 @@
+ 
+ #include <stdarg.h>
+ #include <string.h>
++#include <strings.h>
+ #include <ctype.h>
+ 
+ #include "pm_c_util.h"
diff -r 0d8eed3e9ec3 -r e6abb164a540 graphics/netpbm/patches/patch-pm__config.in.h
--- a/graphics/netpbm/patches/patch-pm__config.in.h     Thu Feb 23 16:55:49 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-pm__config.in.h,v 1.2 2016/05/16 21:23:31 richard Exp $
-
---- pm_config.in.h.orig        2014-09-08 21:53:09.000000000 +0000
-+++ pm_config.in.h
-@@ -139,7 +139,8 @@
- 
- /* #define HAVE_SETMODE */
- 
--#if (defined(__GLIBC__) || defined(__GNU_LIBRARY__) || defined(__APPLE__))
-+#if (defined(__GLIBC__) || defined(__GNU_LIBRARY__) || defined(__APPLE__)) \
-+      || defined(__NetBSD__) || (defined(__SVR4) && defined (__sun))
-   #define HAVE_VASPRINTF 1
- #else
-   #define HAVE_VASPRINTF 0
diff -r 0d8eed3e9ec3 -r e6abb164a540 graphics/netpbm/patches/patch-wordaccess_be_aligned.h
--- a/graphics/netpbm/patches/patch-wordaccess_be_aligned.h     Thu Feb 23 16:55:49 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-wordaccess_be_aligned.h,v 1.1 2015/01/23 11:26:40 jdc Exp $
-
---- lib/util/wordaccess_be_aligned.h.dist      2014-09-01 22:22:28.000000000 +0100
-+++ lib/util/wordaccess_be_aligned.h   2015-01-23 09:22:52.000000000 +0000
-@@ -24,7 +24,7 @@
- static __inline__ void
- wordintToBytes(wordintBytes * const bytesP,
-                wordint        const wordInt) {
--    uint16_t const hi = ((wordInt >> 48) & 0xFF)
-+    uint16_t const hi = ((wordInt >> 48) & 0xFF);
-     uint16_t const mh = ((wordInt >> 32) & 0xFF);
-     uint16_t const ml = ((wordInt >> 24) & 0xFF);
-     uint16_t const lo = ((wordInt >>  0) & 0xFF);



Home | Main Index | Thread Index | Old Index