Blame SOURCES/pnm2ppa-redhat.patch

68b3c6
diff -up pnm2ppa-1.04/Makefile.rh pnm2ppa-1.04/Makefile
68b3c6
--- pnm2ppa-1.04/Makefile.rh	2000-11-02 18:33:08.000000000 +0000
68b3c6
+++ pnm2ppa-1.04/Makefile	2008-09-24 15:18:26.000000000 +0100
68b3c6
@@ -10,7 +10,7 @@ CC=gcc
68b3c6
 INSTALL=install
68b3c6
 
68b3c6
 # production build
68b3c6
-CFLAGS=-Wall -pedantic -O2 -g -DNDEBUG 
68b3c6
+CFLAGS=$(RPM_OPT_FLAGS) -DNDEBUG 
68b3c6
 LDFLAGS=-lm
68b3c6
 OBJS = pnm2ppa.o syslog.o ppa.o image.o dither.o cutswath.o hash_ink.o gamma.o
68b3c6
 SRC =  pnm2ppa.c syslog.c ppa.c image.c dither.c cutswath.c hash_ink.c gamma.c
68b3c6
diff -up pnm2ppa-1.04/pbm2ppa-0.8.6/Makefile.rh pnm2ppa-1.04/pbm2ppa-0.8.6/Makefile
68b3c6
--- pnm2ppa-1.04/pbm2ppa-0.8.6/Makefile.rh	2008-09-24 15:18:26.000000000 +0100
68b3c6
+++ pnm2ppa-1.04/pbm2ppa-0.8.6/Makefile	2008-09-24 15:18:26.000000000 +0100
68b3c6
@@ -1,5 +1,5 @@
68b3c6
 CC=gcc
68b3c6
-CFLAGS=-Wall -O2 
68b3c6
+CFLAGS=$(RPM_OPT_FLAGS)
68b3c6
 LDFLAGS=
68b3c6
 PRINTER=HP720
68b3c6
 
68b3c6
diff -up pnm2ppa-1.04/pnm2ppa.conf.rh pnm2ppa-1.04/pnm2ppa.conf
68b3c6
--- pnm2ppa-1.04/pnm2ppa.conf.rh	2000-10-28 16:02:57.000000000 +0100
68b3c6
+++ pnm2ppa-1.04/pnm2ppa.conf	2008-09-24 15:18:26.000000000 +0100
68b3c6
@@ -12,7 +12,6 @@
68b3c6
 # will be used.   The printer version can also be set with the command line
68b3c6
 # option e.g., "-v 720".
68b3c6
 
68b3c6
-version   ERROR    # PNM2PPA WIIL *NOT* WORK UNTIUL THIS ENTRY IS REMOVED!!!!
68b3c6
 #version  720	# 710, 712, 722 also acceptable
68b3c6
 #version  820
68b3c6
 #version 1000