Commit graph

146 commits

Author SHA1 Message Date
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
adrianp
3a13b2af9c - Add editor/pnmflip to REPLACE_PERL
- Reported by Steven M. Bellovin in PR 27117, thanks Steven !
2004-10-02 19:27:50 +00:00
adam
9bc8ee0555 Changes 10.18.15:
* ppmtowinicon: fix bug: crash on 32 bit images
* Add  makeman to build tools
2004-10-01 12:56:33 +00:00
adam
e25b011172 Changes 10.18.14:
* make error message instaed of invalid output for -plain global option on
  a "pam" program
* pnmtojpeg: fix bug with large exif files (negative malloc)
* ppntowinicon: fix bogus "out of memory" failre
2004-08-06 09:46:19 +00:00
dmcmahill
7674fab75f use gcc3 on alpha to avoid an internal compiler error with gcc-2.95.3 2004-08-04 10:51:58 +00:00
grant
32fb85d783 the "pgmramp" program included in this package needs to be linked
against libm for fabs().

this is the same fix as is already in netpbm-latest.
2004-07-10 13:29:34 +00:00
tron
8f117b9a84 Backou last change. The program with the offending license has been
removed from the distribution in the meantime. Pointed out by
Klaus Klein in PR pkg/21351.
2004-07-06 13:45:14 +00:00
tron
e22f5a3c7e Set the license of this package to "no-commercial-use" because the
included program "hpcdtoppm" has a restrictive license. This fixes
PR pkg/21351 by Klaus Klein.
2004-07-06 10:55:53 +00:00
adam
b37262f331 Changes 10.18.13:
* ppmtompeg: fix crash with input that is not a multiple of 16 pixels high
  and wide
* pamtotga: fix crash due to freeing nonexistent color table
* pamtotga: fix bug: invalid TGA when you use -rgb with a non-color input
* pgmtopbm: fix calculations that divide by maxval+1; should divide by maxval
* pbm_readpbmrowpacked(): Fix bug: ORs bits into return value instead of
  setting them
2004-05-20 08:41:07 +00:00
snj
010675143c No longer used. 2004-05-09 20:19:59 +00:00
fredb
b1a69d0f4f Don't play games with the featureset macros on NetBSD. This patch fixes the
build on NetBSD 2.0E/mac68k, also works fine on NetBSD 1.6.2_STABLE/i386.
2004-05-03 16:42:47 +00:00
adam
15b34f431e Changes 10.18.12:
* Don't try to install pm_gamma (which does not exist in this level)
* pamflip: fix bug with random memory accesses due to signed/unsigned comparison

Changes 10.18.11:
* pnmtopng: fix bug with -transparent

Changes 10.18.10:
* Include pm_system.h, pm_gamma.h in install package
* Fix the ftell/ftello distinction for many platforms
* ppmtogif: Don't violate array bounds when GIF color map is larger
  than internal color map.
* yuvsplittoppm: Fix -ccir601 option
* ppmtomap: Change #/bin/sh to #!/bin/sh

Changes 10.18.9:
* ppmtobmp: Fix bug: Generates invalid bits per pixel (e.g. 3) when input
  image has small number of colors
* pbmtog3: fix buffer overrun when image > 1728 columns
* pnmtotiffcmyk:  Correct abs to fabs so -theta works
* sldtoppm: Correct abs to fabs
* pgmramp: Correct abs to fabs so -rectangle and -ellipse work
* pgmramp: Don't crash with -rectangle and height or width = 1
* pnmtojpeg: interpret "length" field in exif data as unsigned 16 bit
  instead of signed.
* ppmforge: Correct abs to fabs so the planet is more than 2 pixels wide

Changes 10.18.8:
* pnmrotate: fix bug: always crashes in memory free
* pnmrotate: remove debugging messages

Changes 10.18.7:
* ppmshadow: Fix crash in all invocations
* pnmquant: Fix bug wherein all options are rejected

Changes 10.18.6:
* Add default RPATHOPT = rpath setting to Makefile.config.in
* Add stdlib.h and pm_config.h to mallocvar.h
* lib/Makefile: $(LIBNETPBMSUFFIX) instead of .so
* fitstopnm: Don't produce maxval 0

Changes 10.18.5:
* pnmtopng: fix bug with array bounds violation with -alpha
  Usual symptom: "internal inconsistency" message

Changes 10.18.4:
* anytopnm: Remove "function" so it works on FreeBSD

Changes 10.18.3:
* Fix stack corruption in pXm_check() on systems that have both 32 and 64 bit
  file offsets

Changes 10.18.2:
* installnetpbm: don't crash on mkdir on old Perl
* bmptopnm: fix bug with BMPs that end prematurely

Changes 10.11.15:
* Bmptopnm goes into an infinite loop if you give it a BMP file that ends
  prematurely.  The bug is in the way the program interprets the return code
  from fread() in readrow().  You can get the fix from the 10.18.1-10.18.2 diff.
* xwdtopnm: Doesn't work with at least one direct color 24 bits-per-pixel
  xwd generated by Xfree86's Xwd.
* ppmquant does not choose the best set of colors.  pnmquant does, though.
* giftopnm doesn't understand GIFs with the same color both transparent and
  opaque.

pnmtopng -alpha fails with "internal inconsistency detected" message
Changes 10.11.14:
* pstopnm: fix bug in which Standard Input never works
* ppmtobmp: change 'char' to 'unsigned char' to work around a Solaris C library   bug
* ppmtobmp: handle maxval properly for maxval != 256 truecolor BMP

Changes 10.11.13:
* Explicitly set SCRIPTS make variable to null so environment
  variable of the same name doesn't screw things up.
* stamp_date: don't use LOGNAME as a variable (on AIX, you can't).
* configure: put space after -o in test compiles.
* ppmtompeg: adjust header files in parallel.c so it compiles on AIX

Changes 10.11.12:
* pnmpsnr: fix bug: Cr and Cb interchanged
* Fix crash in pnmstitch

Changes 10.11.10:
* Declare internal subroutines in pgmabel as 'static' so they don't conflict
  with some C libraries

Changes 10.11.9:
* pstopnm: fix bug: encapsulated postscript confused with regular postscript,
  so all pages get overlaid as one page
2004-04-29 08:02:39 +00:00
wiz
5d908a3ef0 Add a patch that disables optimization for one file; otherwise
an ICE would result with gcc-3.3.x on sparc64.  See PR 23124.
Patch from jdc@.
2004-03-22 15:52:35 +00:00
jlam
7db11b582a Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properly
by moving the inclusion of buildlink3.mk files outside of the protected
region.  This bug would be seen by users that have set PREFER_PKGSRC
or PREFER_NATIVE to non-default values.

BUILDLINK_PACKAGES should be ordered so that for any package in the
list, that package doesn't depend on any packages to the left of it
in the list.  This ordering property is used to check for builtin
packages in the correct order.  The problem was that including a
buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end.  However, since the
inclusion of any other buildlink3.mk files within that buildlink3.mk
was in a region that was protected against multiple inclusion, those
dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2004-03-18 09:12:08 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
grant
57e3987d78 USE_GNU_TOOLS+=lex instead of .if OPSYS || OPSYS .. and simplify
passing the socket libraries on Solaris.
2004-02-13 10:53:09 +00:00
jlam
3ac2d4b8aa In the new compiler selection framework, GCC_REQD is appended to, not
overridden.
2004-02-01 01:43:28 +00:00
tron
03742b48cf Unify "flex" build dependence handling. 2004-01-26 09:54:43 +00:00
tron
ee5ff7b622 Use find(1) with "-print" option because IRIX's "find" will otherwise
not print out anything. Noted by Georh Schwarz in private e-mail.
2004-01-26 07:03:15 +00:00
tron
1ef26d4f9c Let build depend on "flex" package as suggested by Georg Schwarz on
the "tech-pkg" mailing list.
2004-01-25 15:47:18 +00:00
grant
59daad6697 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-24 15:46:42 +00:00
kristerw
1a45c9e3c5 Use GCC_REQD instead of USE_PKGSRC_GCC when overriding the compiler
for arm, so that we don't need to install the gcc package(s) on
machines that already have a working compiler in their /usr/bin.
2004-01-24 12:59:50 +00:00
jlam
a7d877ca6a Append to BUILDLINK_DEPENDS.<pkg> instead of setting a default value. In
the normal case when BUILDLINK_DEPENDS.<pkg> isn't specified, it receives
a value only once due to the multiple inclusion protection in the
bulldlink3.mk files.  In the case where a package includes several
buildlink3.mk files that each want a slightly different version of another
dependency, having BUILDLINK_DEPENDS.<pkg> be a list allows for the
strictest <pkg> dependency to be matched.
2004-01-24 03:26:45 +00:00
jlam
70e04b8ec9 buildlink3.mk file for netpbm 2004-01-22 11:02:01 +00:00
jlam
27aa545ae5 bl3ify 2004-01-22 10:59:39 +00:00
reed
6d9af8d68d Bump package revisions for tiff update.
Tiff is backward compatible, but was broken on amd64 platform
so this makes sure new tiff is used.
2004-01-03 18:49:33 +00:00
jmmv
24fa2e6f99 Pass -pppm to pax, so that we preserve file modes (as we did in the previous
call with tar's -p) and modification times are discarded (to get print-PLIST
working).
2003-09-25 19:06:54 +00:00
reed
2d2c8fb160 Use pax instead of tar to copy files. (Okay'd by tron.)
In some cases, gtar had problems, like:
/bin/tar: share/doc/netpbm: Cannot unlink: Directory not empty
/bin/tar: share/netpbm: Cannot unlink: Directory not empty
2003-09-25 18:55:58 +00:00
grant
40614d0b3c get rid of USE_GCC2/3 in pkg Makefiles, and set GCC_REQD or
USE_PKGSRC_GCC as appropriate, as this is handled by compiler.mk now.
2003-09-17 19:39:58 +00:00
grant
ac2754dcb7 kill all references to gcc.buildlink2.mk and compiler.mk, and define
USE_GCC2 or USE_GCC3 where appropriate.

the functionality of the old gcc.buildlink2.mk has been rolled into
compiler.mk now, which is automatically used.

more changes to come later...
2003-09-12 20:07:06 +00:00
jschauma
c4a4a453fe Make this compile on Irix.
(use 'ar rs' instead of ranlib on Irix, don't use '-fPIC', make sure
strdup is properly prototyped)
2003-09-07 17:22:15 +00:00
cjep
0174216952 whitespace fixes 2003-09-01 10:13:08 +00:00
wiz
47c5a535f3 On Linux systems without flex, build_depend on flex. From Soren Jacobsen in PR 22541. 2003-08-23 23:07:12 +00:00
martti
ee90b572a6 COMMENT should start with a capital letter. 2003-07-21 16:45:54 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
wulf
1739777cef Added manweb to REPLACE_PERL fixing incorrect path to perl 2003-07-13 14:16:10 +00:00
fredb
39cfe91bd1 Unbundle tars bundled options, to make this work on NetBSD 1.6U. Should
fix PR pkg/22117.
2003-07-11 00:21:45 +00:00
abs
fb6c29f8bf Update for the fact that 'arm' ports have been called NetBSD-*-arm for a while
now and not NetBSD-*-arm32. Changes include one or more of:
    - Change MACHINE_ARCH == arm32 to also match arm
    - Where ONLY_FOR_PLATFORM includes NetBSD-*-arm32, add NetBSD-*-arm
    - Where BROKEN or worked around for arm gcc bugs, set USE_GCC3
The last may shake out a few more broken packages the next bulk build.
2003-06-11 20:50:50 +00:00
wiz
5daaad6900 Remove useless "No newline at end of file" chunk that is bound to make trouble. 2003-06-11 07:10:46 +00:00
tron
3003a3f5ef Fix build problems under Mac OS X. The patch was contributed by
Richard Grace in private e-mail.
2003-06-11 06:59:26 +00:00
tron
bd90c42bcc Make arguments to "${RM}" consistent in all make targets. 2003-04-28 16:27:40 +00:00
tron
c4fab8c379 Update "netpbm" package to version 10.11.8. Change since version 10.11.6:
- pbmtoepsi: fix bug: non six-digit lines between
  %%BeginPreview: ... and %%EndImage .
- pnmtops: fix bug: 1 bit per sample output when maxval is 2 or 3.
  Should be 4 bits per sample.
- pnmtops: fix bug: everything too dark when input maxval less
  than Postscript maxval.
This fixes PR pkg/21271 by Dave Camp.
2003-04-28 16:24:32 +00:00
cjep
3c5a0f9e3a Remove last hunk of patch-aa to fix build problem on 1.5.2. 2003-04-11 22:45:56 +00:00
salo
4b041343c9 Don't shoot itself in the foot, STAGEDIR is removed in pre-install, no need to
remove it in post-install while CWD is still in STAGEDIR.
Noted by Will Partain on tech-pkg.
2003-04-11 18:56:44 +00:00
grant
7219a9452a revert previous; I had netpbm-9.25 and BUILDLINK_DEPENDS was
still >=9.24, causing this breakage.

bump BUILDLINK_DEPENDS to 10.11.6.
2003-04-08 13:17:10 +00:00
grant
853def732a update to reflect libs installed by netpbm-10.11.6 (hi tron!).
noted by pooka.
2003-04-08 13:02:28 +00:00
wiz
92445eb1ed Remove superfluous whitespace. 2003-03-28 20:28:56 +00:00
tron
93f5c1d229 Fix "zlib" configuration in "Makefile.common" so that PNG tools get built.
Bump package revision to reflect this change. This patch was contributed
by Christopher Richards in PR pkg/20809.
2003-03-21 08:30:48 +00:00
tron
43dfa732c6 Update "netpbm" package to latest stable version 10.11.6. Numerous bugs
have been fixed and a lot of features have been added since version 9.25.
2003-03-18 12:11:55 +00:00
wiz
788727dadf post-patch -> pre-configure. By Greg A. Woods in PR 18718. 2002-10-20 00:33:50 +00:00