diff options
author | tron <tron@pkgsrc.org> | 1998-06-21 21:08:22 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1998-06-21 21:08:22 +0000 |
commit | 529ac36ae51b2635a71fb8af84db555cab7492d5 (patch) | |
tree | 9fc4a5df09e2faf80383eb7e5eb11d537cd9743f /graphics | |
parent | 4b136d027d6c0ba624e3a7c852402b65a258659c (diff) | |
download | pkgsrc-529ac36ae51b2635a71fb8af84db555cab7492d5.tar.gz |
Add patches to make this package build on alpha supplied by Tim Rightnour
in PR pkg/5630.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/netpbm/patches/patch-ac | 26 | ||||
-rw-r--r-- | graphics/netpbm/patches/patch-ad | 10 |
2 files changed, 18 insertions, 18 deletions
diff --git a/graphics/netpbm/patches/patch-ac b/graphics/netpbm/patches/patch-ac index 101f302a901..efaf1d1b29c 100644 --- a/graphics/netpbm/patches/patch-ac +++ b/graphics/netpbm/patches/patch-ac @@ -1,8 +1,6 @@ ---- pnm/Makefile.orig Mon Jan 31 17:47:32 1994 -+++ pnm/Makefile Wed Dec 31 04:14:11 1997 -@@ -60,10 +60,11 @@ - pnmcut pnmdepth pnmenlarge pnmfile pnmflip pnmhistmap \ - pnminvert pnmnoraw pnmpad pnmpaste \ +--- pnm/Makefile.orig Mon Jan 31 09:47:32 1994 ++++ pnm/Makefile Sat Jun 20 04:21:57 1998 +@@ -62,6 +62,7 @@ pnmtile pnmtoddif pnmtofits pnmtops pnmtorast \ - pnmtosgi pnmtosir pnmtoxwd \ - rasttopnm sgitopnm sirtopnm xwdtopnm zeisstopnm @@ -13,29 +11,21 @@ +PNGBINARIES = pngtopnm pnmtopng +BINARIES = $(PORTBINARIES) $(MATHBINARIES) $(PNGBINARIES) $(TIFFBINARIES) SCRIPTS = anytopnm pnmindex pnmmargin pnmsmooth pstopnm - - PORTOBJECTS = fitstopnm.o giftopnm.o \ -@@ -74,7 +75,7 @@ - pnmtosgi.o pnmtosir.o pnmtoxwd.o \ - rasttopnm.o sgitopnm.o sirtopnm.o xwdtopnm.o zeisstopnm.o \ +@@ -76,3 +77,3 @@ pnmgamma.o pnmnlfilt.o pnmrotate.o pnmscale.o pnmshear.o -OBJECTS = $(PORTOBJECTS) $(TIFFOBJECTS) +OBJECTS = $(PORTOBJECTS) - MANUALS1 = $(BINARIES) $(SCRIPTS) - MANUALS3 = libpnm -@@ -128,7 +129,13 @@ - - +@@ -130,4 +131,10 @@ # Rules for plain programs. -$(PORTBINARIES) $(TIFFBINARIES): pnm.h $(DEFPPM) $(DEFPGM) $(DEFPBM) $(LIBPNM) $(LIBPPM) $(LIBPGM) $(LIBPBM) $(TIFFLIB) +- $(CC) $(ALLCFLAGS) $(LDFLAGS) -o $@ $@.c $(LIBPNM) $(LIBPPM) $(LIBPGM) $(LIBPBM) $(TIFFLIB) +$(PORTBINARIES): pnm.h $(DEFPPM) $(DEFPGM) $(DEFPBM) $(LIBPNM) $(LIBPPM) $(LIBPGM) $(LIBPBM) + $(CC) $(ALLCFLAGS) $(LDFLAGS) -o $@ $@.c $(LIBPNM) $(LIBPPM) $(LIBPGM) $(LIBPBM) + +$(PNGBINARIES): pnm.h $(DEFPPM) $(DEFPGM) $(DEFPBM) $(LIBPNM) $(LIBPPM) $(LIBPGM) $(LIBPBM) -+ $(CC) $(ALLCFLAGS) $(LDFLAGS) -o $@ $@.c $(LIBPNM) $(LIBPPM) $(LIBPGM) $(LIBPBM) -L${LOCALBASE}/lib -lpng -lz ++ $(CC) $(ALLCFLAGS) $(LDFLAGS) -o $@ $@.c $(LIBPNM) $(LIBPPM) $(LIBPGM) $(LIBPBM) -L${LOCALBASE}/lib -lpng -lz -lm + +$(TIFFBINARIES): pnm.h $(DEFPPM) $(DEFPGM) $(DEFPBM) $(LIBPNM) $(LIBPPM) $(LIBPGM) $(LIBPBM) - $(CC) $(ALLCFLAGS) $(LDFLAGS) -o $@ $@.c $(LIBPNM) $(LIBPPM) $(LIBPGM) $(LIBPBM) $(TIFFLIB) ++ $(CC) $(ALLCFLAGS) $(LDFLAGS) -o $@ $@.c $(LIBPNM) $(LIBPPM) $(LIBPGM) $(LIBPBM) $(TIFFLIB) -lm -lz - # Rule for math-dependent programs. diff --git a/graphics/netpbm/patches/patch-ad b/graphics/netpbm/patches/patch-ad new file mode 100644 index 00000000000..d616d708906 --- /dev/null +++ b/graphics/netpbm/patches/patch-ad @@ -0,0 +1,10 @@ +--- pbmplus.h.orig Sat Jun 20 03:42:19 1998 ++++ pbmplus.h Sat Jun 20 03:43:47 1998 +@@ -121,2 +121,3 @@ + #endif ++#ifndef __NetBSD__ + extern int atoi(); +@@ -125,2 +126,3 @@ + extern int write(); ++#endif /* NetBSD */ + #endif |