pkgsrc/graphics/xli/patches/patch-aa
fredb efd29c6d37 Give gzip'd or bzip2'd files the same treatment as "compress"'d files,
that is, filter them through the command to uncompress them on the fly.
We don't need to add dependencies anymore than we ever needed a dependency
on "uncompress". Crank PKG_REVISION for the feature change.
2005-03-05 23:02:30 +00:00

28 lines
1.2 KiB
Text

$NetBSD: patch-aa,v 1.9 2005/03/05 23:02:30 fredb Exp $
--- Imakefile.orig 2005-02-27 18:42:39.000000000 -0600
+++ Imakefile
@@ -13,17 +13,17 @@
CCOPTIONS = -Aa -D_HPUX_SOURCE
#endif
-JPEG_INCLUDES =
-JPEG_LDFLAGS =
+JPEG_INCLUDES = -I${BUILDLINK_DIR}/include
+JPEG_LDFLAGS = -L${BUILDLINK_DIR}/lib -Wl,-R${LOCALBASE}/lib
-PNG_INCLUDES =
-PNG_LDFLAGS =
+PNG_INCLUDES = -I${BUILDLINK_DIR}/include
+PNG_LDFLAGS = -L${BUILDLINK_DIR}/lib -Wl,-R${LOCALBASE}/lib
SYSPATHFILE = $(XAPPLOADDIR)/Xli
DEPLIBS = $(DEPXLIB)
-LOCAL_LIBRARIES = $(XLIB) $(JPEG_LDFLAGS) $(PNG_LDFLAGS) -ljpeg -lpng -lz
+LOCAL_LIBRARIES = $(XLIB) $(JPEG_LDFLAGS) $(PNG_LDFLAGS) -ljpeg -lpng -lz
SYS_LIBRARIES = -lm
-DEFINES = -DHAS_MEMCPY
+DEFINES = -DHAS_MEMCPY -DHAVE_GUNZIP -DHAVE_BUNZIP2
EXTRA_INCLUDES = $(JPEG_INCLUDES) $(PNG_INCLUDES)
SRCS1 = bright.c clip.c cmuwmrast.c compress.c dither.c faces.c fbm.c fill.c g3.c gif.c halftone.c imagetypes.c img.c mac.c mcidas.c mc_tables.c merge.c misc.c new.c options.c path.c pbm.c pcx.c reduce.c jpeg.c rle.c rlelib.c root.c rotate.c send.c smooth.c sunraster.c value.c window.c xbitmap.c xli.c xpixmap.c xwd.c zio.c zoom.c ddxli.c tga.c bmp.c pcd.c png.c