summaryrefslogtreecommitdiff
path: root/graphics/pngcheck/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pngcheck/files/patch-aa')
-rw-r--r--graphics/pngcheck/files/patch-aa21
1 files changed, 21 insertions, 0 deletions
diff --git a/graphics/pngcheck/files/patch-aa b/graphics/pngcheck/files/patch-aa
new file mode 100644
index 000000000000..ba20f89a32b8
--- /dev/null
+++ b/graphics/pngcheck/files/patch-aa
@@ -0,0 +1,21 @@
+--- Makefile.unx Thu Nov 18 22:39:03 1999
++++ Makefile.unx.new Tue Jul 4 01:47:15 2000
+@@ -23,13 +23,13 @@
+ #ZLIB = -L$(ZPATH) -lz
+ ZLIB = $(ZPATH)/libz.a
+
+-INCS = $(ZINC)
+-LIBS = $(ZLIB)
++INCS =
++LIBS = -lz
+
+-CC = gcc
+-LD = gcc
++CC ?= gcc
++LD ?= $(CC)
+ RM = rm
+-CFLAGS = -O3 -Wall $(INCS) -DUSE_ZLIB
++CFLAGS += -Wall $(INCS) -DUSE_ZLIB
+ # [note that -Wall is a gcc-specific compilation flag ("all warnings on")]
+ O = .o
+ E =