summaryrefslogtreecommitdiff
path: root/graphics/xv/patches/patch-aj
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-04-05 13:57:14 +0000
committerwiz <wiz@pkgsrc.org>2001-04-05 13:57:14 +0000
commit7eb8846863ff9765a32c0e83997e9779b6a9c8ba (patch)
treed87a33fd58185eeea0f8af49b15946afcea626a1 /graphics/xv/patches/patch-aj
parent5ea84771d3673f13dbdf57e72b82d307f8e2f7fc (diff)
downloadpkgsrc-7eb8846863ff9765a32c0e83997e9779b6a9c8ba.tar.gz
Standardize patch file names.
Diffstat (limited to 'graphics/xv/patches/patch-aj')
-rw-r--r--graphics/xv/patches/patch-aj68
1 files changed, 68 insertions, 0 deletions
diff --git a/graphics/xv/patches/patch-aj b/graphics/xv/patches/patch-aj
new file mode 100644
index 00000000000..a7b965011ae
--- /dev/null
+++ b/graphics/xv/patches/patch-aj
@@ -0,0 +1,68 @@
+$NetBSD: patch-aj,v 1.1 2001/04/05 13:57:16 wiz Exp $
+
+This patch is based on
+http://www.mit.edu/afs/athena/contrib/graphics/src/xv/patches/png/xvpng.diff
+It was edited to fit into the NetBSD Packages Collection! - HF
+
+---------------------------------------------------------------------------
+
+
+--- Makefile.std.patched Sun Jun 13 03:16:57 1999
++++ Makefile.std Sun Jun 13 03:21:41 1999
+@@ -56,6 +56,25 @@
+
+
+ ###
++### if, for whatever reason, you're unable to get the PNG library to compile
++### on your machine, *COMMENT OUT* the following lines
++###
++PNG = -DDOPNG
++PNGDIR = ${LOCALBASE}
++PNGINC = -I$(PNGDIR)/include
++PNGLIB = -L$(PNGDIR)/lib -lpng
++
++
++###
++### if, for whatever reason, you're unable to get the PNG library to compile
++### on your machine, *COMMENT OUT* the following lines
++###
++ZLIBDIR = /usr
++ZLIBINC = -I$(ZLIBDIR)/include
++ZLIBLIB = -L$(ZLIBDIR)/lib -lz
++
++
++###
+ ### if, for whatever reason, you're unable to get the TIFF library to compile
+ ### on your machine, *COMMENT OUT* the following lines
+ ###
+@@ -188,9 +207,9 @@
+
+ CFLAGS = $(CCOPTS) $(JPEG) $(JPEGINC) $(TIFF) $(TIFFINC) $(PDS) \
+ $(NODIRENT) $(VPRINTF) $(TIMERS) $(UNIX) $(BSDTYPES) $(RAND) \
+- $(DXWM) $(MCHN)
++ $(DXWM) $(MCHN) $(PNG) $(PNGINC) $(ZLIBINC)
+
+-LIBS = -lX11 $(JPEGLIB) $(TIFFLIB) -lm
++LIBS = -lX11 $(JPEGLIB) $(TIFFLIB) $(PNGLIB) $(ZLIBLIB) -lm
+
+ OBJS = xv.o xvevent.o xvroot.o xvmisc.o xvimage.o xvcolor.o xvsmooth.o \
+ xv24to8.o xvgif.o xvpm.o xvinfo.o xvctrl.o xvscrl.o xvalg.o \
+@@ -198,7 +217,8 @@
+ xvdial.o xvgraf.o xvsunras.o xvjpeg.o xvps.o xvpopup.o xvdflt.o \
+ xvtiff.o xvtiffwr.o xvpds.o xvrle.o xviris.o xvgrab.o vprintf.o \
+ xvbrowse.o xvtext.o xvpcx.o xviff.o xvtarga.o xvxpm.o xvcut.o \
+- xvxwd.o xvfits.o xvmag.o xvmaki.o xvpic.o xvpi.o xvpic2.o xcpcd.o
++ xvxwd.o xvfits.o xvmag.o xvmaki.o xvpic.o xvpi.o xvpic2.o xcpcd.o \
++ xvpng.o
+
+ MISC = README INSTALL CHANGELOG IDEAS
+
+@@ -269,7 +289,7 @@
+ xvbrowse.o: bits/br_pcx bits/br_jfif bits/br_tiff bits/br_pds
+ xvbrowse.o: bits/br_ps bits/br_iff bits/br_targa bits/br_xpm
+ xvbrowse.o: bits/br_trash bits/fcurs bits/fccurs bits/fdcurs bits/fcursm
+-xvbrowse.o: bits/br_xwd
++xvbrowse.o: bits/br_xwd bits/br_png
+
+ xvbutt.o: bits/cboard50 bits/rb_frame bits/rb_frame1 bits/rb_top
+ xvbutt.o: bits/rb_bot bits/rb_dtop bits/rb_dbot bits/rb_body