diff options
Diffstat (limited to 'graphics/xv/patches/patch-ah')
-rw-r--r-- | graphics/xv/patches/patch-ah | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/graphics/xv/patches/patch-ah b/graphics/xv/patches/patch-ah deleted file mode 100644 index e2aac4e456f..00000000000 --- a/graphics/xv/patches/patch-ah +++ /dev/null @@ -1,68 +0,0 @@ -$NetBSD: patch-ah,v 1.2 2005/08/10 16:50:18 he Exp $ - ---- Imakefile.orig 2005-07-29 15:28:09.000000000 +0200 -+++ Imakefile -@@ -23,6 +23,9 @@ - #define HavePDS - - -+#define UseInstalledPng -+#define UseInstalledZlib -+ - /* - * 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 -@@ -154,6 +157,34 @@ TIFFINCLUDE = -I$(LOCALBASE)/include - PDS = -DDOPDS - #endif - -+/* -+### -+### if, for whatever reason, you're unable to get the PNG library to compile -+### on your machine, *COMMENT OUT* the following lines -+### -+*/ -+#ifdef UseInstalledPng -+PNG = -DDOPNG -+PNGDIR = ${LOCALBASE} -+PNGINC = -I$(PNGDIR)/include -+PNGLIB = -L$(PNGDIR)/lib -lpng -lz -+LIBPNG = ${PNGLIB} -+PNGINCLUDE = ${PNGINC} -+#endif -+ -+/* -+### -+### if, for whatever reason, you're unable to get the PNG library to compile -+### on your machine, *COMMENT OUT* the following lines -+### -+*/ -+#ifdef UseInstalledZlib -+ZLIBDIR = $(LOCALBASE) -+ZLIBINC = -I$(ZLIBDIR)/include -+ZLIBLIB = -L$(ZLIBDIR)/lib -lz -+LIBZLIB = ${ZLIB} -+ZLIBINCLUDE = ${ZLIBINC} -+#endif - - #if defined(SCOArchitecture) - SCO= -Dsco -DPOSIX -DNO_RANDOM -@@ -165,14 +196,14 @@ SYS_LIBRARIES= -lm - #endif - - --DEPLIBS = $(DEPLIBJPEG) $(DEPLIBTIFF) --LOCAL_LIBRARIES = $(XLIB) $(LIBJPEG) $(LIBTIFF) -+DEPLIBS = $(DEPLIBJPEG) $(DEPLIBTIFF) $(DEPLIBPNG) $(DEPLIBZLIB) -+LOCAL_LIBRARIES = $(XLIB) $(LIBJPEG) $(LIBTIFF) $(LIBPNG) $(LIBZLIB) - - DEFINES= $(SCO) $(UNIX) $(NODIRENT) $(VPRINTF) $(TIMERS) \ -- $(HPUX7) $(JPEG) $(TIFF) $(PDS) $(DXWM) $(RAND) \ -+ $(HPUX7) $(JPEG) $(TIFF) $(PNG) $(PDS) $(DXWM) $(RAND) \ - $(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 \ |