summaryrefslogtreecommitdiff
path: root/graphics/xv/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xv/patches/patch-ah')
-rw-r--r--graphics/xv/patches/patch-ah42
1 files changed, 7 insertions, 35 deletions
diff --git a/graphics/xv/patches/patch-ah b/graphics/xv/patches/patch-ah
index 90ac2fe357d..e2aac4e456f 100644
--- a/graphics/xv/patches/patch-ah
+++ b/graphics/xv/patches/patch-ah
@@ -1,14 +1,7 @@
-$NetBSD: patch-ah,v 1.1 2001/04/05 13:57:15 wiz Exp $
+$NetBSD: patch-ah,v 1.2 2005/08/10 16:50:18 he 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
-
----------------------------------------------------------------------------
-
-
---- Imakefile.orig Sun Jun 13 04:15:05 1999
-+++ Imakefile Sun Jun 13 04:31:20 1999
+--- Imakefile.orig 2005-07-29 15:28:09.000000000 +0200
++++ Imakefile
@@ -23,6 +23,9 @@
#define HavePDS
@@ -19,7 +12,7 @@ It was edited to fit into the NetBSD Packages Collection! - HF
/*
* if you are running on a SysV-based machine, such as HP, Silicon Graphics,
* etc, uncomment one of the following lines to get you *most* of the way
-@@ -149,6 +152,35 @@
+@@ -154,6 +157,34 @@ TIFFINCLUDE = -I$(LOCALBASE)/include
PDS = -DDOPDS
#endif
@@ -51,11 +44,10 @@ It was edited to fit into the NetBSD Packages Collection! - HF
+LIBZLIB = ${ZLIB}
+ZLIBINCLUDE = ${ZLIBINC}
+#endif
-+
+
#if defined(SCOArchitecture)
SCO= -Dsco -DPOSIX -DNO_RANDOM
- SYS_LIBRARIES= -lm -lc -lx
-@@ -157,14 +189,14 @@
+@@ -165,14 +196,14 @@ SYS_LIBRARIES= -lm
#endif
@@ -67,30 +59,10 @@ It was edited to fit into the NetBSD Packages Collection! - HF
DEFINES= $(SCO) $(UNIX) $(NODIRENT) $(VPRINTF) $(TIMERS) \
- $(HPUX7) $(JPEG) $(TIFF) $(PDS) $(DXWM) $(RAND) \
+ $(HPUX7) $(JPEG) $(TIFF) $(PNG) $(PDS) $(DXWM) $(RAND) \
- $(BACKING_STORE) $(BSDTYPES) $(SGI)
+ $(BACKING_STORE) $(BSDTYPES) $(SGI) $(MGCSFX)
-INCLUDES = $(JPEGINCLUDE) $(TIFFINCLUDE)
+INCLUDES = $(JPEGINCLUDE) $(TIFFINCLUDE) $(PNGINCLUDE) $(ZLIBINCLUDE)
SRCS1 = xv.c xvevent.c xvroot.c xvmisc.c xvimage.c xvcolor.c xvsmooth.c \
xv24to8.c xvgif.c xvpm.c xvinfo.c xvctrl.c xvscrl.c xvalg.c \
-@@ -172,7 +204,8 @@
- xvdial.c xvgraf.c xvsunras.c xvjpeg.c xvps.c xvpopup.c xvdflt.c \
- xvtiff.c xvtiffwr.c xvpds.c xvrle.c xviris.c xvgrab.c vprintf.c \
- xvbrowse.c xvtext.c xvpcx.c xviff.c xvtarga.c xvxpm.c xvcut.c \
-- xvxwd.c xvfits.c xvmag.c xvmaki.c xvpic.c xvpi.c xvpic2.c xvpcd.c
-+ xvxwd.c xvfits.c xvmag.c xvmaki.c xvpic.c xvpi.c xvpic2.c xvpcd.c \
-+ xvpng.c
-
- OBJS1 = 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 \
-@@ -180,7 +213,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 xvpcd.o
-+ xvxwd.o xvfits.o xvmag.o xvmaki.o xvpic.o xvpi.o xvpic2.o xvpcd.o \
-+ xvpng.o
-
- SRCS2= bggen.c
- OBJS2= bggen.o