diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 1999-01-21 18:06:23 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 1999-01-21 18:06:23 +0000 |
commit | 80fd102ea0106c935424b5a8a89831709c673d7a (patch) | |
tree | 6b9b317ab4506e09bf36b8d246afec6e5dacfa20 /graphics/png/files | |
parent | Upgrade to 1.2016. (diff) |
Upgrade to 1.0.3, (thanks god, 1.0.3 is out)
the submitter say:
Attached are patches to upgrade the PNG port to 1.0.3, and to fix
the two ghostscript ports which would be broken by this. PNG
1.0.3 is apparently completely backwards compatible with 1.0.2.
Maintainer contacted with no response.
PR: ports/9601
Submitted by: Jeremy Lea <reg@shale.csir.co.za>
Diffstat (limited to 'graphics/png/files')
-rw-r--r-- | graphics/png/files/patch-aa | 67 |
1 files changed, 36 insertions, 31 deletions
diff --git a/graphics/png/files/patch-aa b/graphics/png/files/patch-aa index e4dd738597fb..2a95ec304711 100644 --- a/graphics/png/files/patch-aa +++ b/graphics/png/files/patch-aa @@ -1,7 +1,13 @@ -*** scripts/makefile.std.orig Wed Apr 1 04:49:34 1998 ---- scripts/makefile.std Fri Jul 10 03:34:22 1998 +*** scripts/makefile.std.orig Fri Jul 31 17:15:22 1998 +--- scripts/makefile.std Tue Jan 19 15:53:48 1999 *************** -*** 5,33 **** +*** 2,19 **** + # Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc. + # For conditions of distribution and use, see copyright notice in png.h + + # where make install puts libpng.a and png.h +! prefix=/usr/local + # Where the zlib library and include files are located #ZLIBLIB=/usr/local/lib #ZLIBINC=/usr/local/include @@ -14,24 +20,23 @@ #RANLIB=echo RANLIB=ranlib +--- 2,29 ---- + # Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc. + # For conditions of distribution and use, see copyright notice in png.h ++ # read libpng.txt or png.h to see why PNGMAJ is 2. You should not ++ # have to change it. ++ PNGMAJ = 2 ++ .if (${PORTOBJFORMAT} == "elf") ++ PNGVER = $(PNGMAJ) ++ .else ++ PNGMIN = 1 ++ PNGVER = $(PNGMAJ).$(PNGMIN) ++ .endif ++ # where make install puts libpng.a and png.h -! prefix=/usr/local - - OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \ - pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o \ - pngwtran.o pngmem.o pngerror.o pngpread.o - -! all: libpng.a pngtest - - libpng.a: $(OBJS) - ar rc $@ $(OBJS) - $(RANLIB) $@ - - pngtest: pngtest.o libpng.a - $(CC) -o pngtest $(CFLAGS) pngtest.o $(LDFLAGS) +! prefix=${PREFIX} ---- 5,55 ---- # Where the zlib library and include files are located #ZLIBLIB=/usr/local/lib #ZLIBINC=/usr/local/include @@ -44,21 +49,21 @@ #RANLIB=echo RANLIB=ranlib +*************** +*** 22,33 **** + pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o \ + pngwtran.o pngmem.o pngerror.o pngpread.o -+ # read libpng.txt or png.h to see why PNGMAJ is 2. You should not -+ # have to change it. -+ PNGMAJ = 2 -+ .if (${PORTOBJFORMAT} == "elf") -+ PNGVER = $(PNGMAJ) -+ .else -+ PNGMIN = 1 -+ PNGVER = $(PNGMAJ).$(PNGMIN) -+ .endif -+ - # where make install puts libpng.a and png.h -! prefix=${PREFIX} +! all: libpng.a pngtest + + libpng.a: $(OBJS) + ar rc $@ $(OBJS) + $(RANLIB) $@ + + pngtest: pngtest.o libpng.a + $(CC) -o pngtest $(CFLAGS) pngtest.o $(LDFLAGS) - OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \ +--- 32,55 ---- pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o \ pngwtran.o pngmem.o pngerror.o pngpread.o |