1 |
commit: 792be3151594406fc8dc411f3ef86486e0024f02 |
2 |
Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Jan 23 18:03:49 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 26 22:36:25 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=792be315 |
7 |
|
8 |
net-print/pnm2ppa: remove unused patch |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/3608 |
11 |
|
12 |
net-print/pnm2ppa/files/pnm2ppa-1.12-gentoo.diff | 180 ----------------------- |
13 |
1 file changed, 180 deletions(-) |
14 |
|
15 |
diff --git a/net-print/pnm2ppa/files/pnm2ppa-1.12-gentoo.diff b/net-print/pnm2ppa/files/pnm2ppa-1.12-gentoo.diff |
16 |
deleted file mode 100644 |
17 |
index 0e35168..00000000 |
18 |
--- a/net-print/pnm2ppa/files/pnm2ppa-1.12-gentoo.diff |
19 |
+++ /dev/null |
20 |
@@ -1,180 +0,0 @@ |
21 |
-diff -ur pnm2ppa-1.12.orig/lpd/ascii.if pnm2ppa-1.12/lpd/ascii.if |
22 |
---- pnm2ppa-1.12.orig/lpd/ascii.if 2000-10-28 17:58:07.000000000 +0300 |
23 |
-+++ pnm2ppa-1.12/lpd/ascii.if 2009-07-18 21:12:42.000000000 +0300 |
24 |
-@@ -1,6 +1,6 @@ |
25 |
- #! /bin/sh |
26 |
- # for printing black and white text (ascii) files. |
27 |
--FILTER="/usr/local/bin/bw.if" |
28 |
-+FILTER="/usr/bin/bw.if" |
29 |
- #FILTER="/usr/local/bin/bweco.if" |
30 |
- #------enscript command line-------------------------- |
31 |
- enscript -2rj -p- | $FILTER |
32 |
-diff -ur pnm2ppa-1.12.orig/lpd/bweco.if pnm2ppa-1.12/lpd/bweco.if |
33 |
---- pnm2ppa-1.12.orig/lpd/bweco.if 2000-10-28 17:58:07.000000000 +0300 |
34 |
-+++ pnm2ppa-1.12/lpd/bweco.if 2009-07-18 21:12:42.000000000 +0300 |
35 |
-@@ -6,7 +6,7 @@ |
36 |
- #PAPER=a4 |
37 |
- #PAPER=a3 |
38 |
- #PPAOPTS="-B 2" |
39 |
--PNM2PPA="/usr/local/bin/pnm2ppa" |
40 |
-+PNM2PPA="/usr/bin/pnm2ppa" |
41 |
- #------------------dont change below this line---------------------- |
42 |
- gs -sDEVICE=pbmraw -sPAPERSIZE=$PAPER -q -dNOPAUSE -r600 -sOutputFile=- - | \ |
43 |
- $PNM2PPA --bw --eco $PPAOPTS -i - -o - |
44 |
-diff -ur pnm2ppa-1.12.orig/lpd/bw.if pnm2ppa-1.12/lpd/bw.if |
45 |
---- pnm2ppa-1.12.orig/lpd/bw.if 2000-10-28 17:58:07.000000000 +0300 |
46 |
-+++ pnm2ppa-1.12/lpd/bw.if 2009-07-18 21:12:42.000000000 +0300 |
47 |
-@@ -6,7 +6,7 @@ |
48 |
- #PAPER=a4 |
49 |
- #PAPER=a3 |
50 |
- #PPAOPTS="-B 2" |
51 |
--PNM2PPA="/usr/local/bin/pnm2ppa" |
52 |
-+PNM2PPA="/usr/bin/pnm2ppa" |
53 |
- #------------------dont change below this line---------------------- |
54 |
- gs -sDEVICE=pbmraw -sPAPERSIZE=$PAPER -q -dNOPAUSE -r600 -sOutputFile=- - | \ |
55 |
- $PNM2PPA --bw $PPAOPTS -i - -o - |
56 |
-diff -ur pnm2ppa-1.12.orig/lpd/coloreco.if pnm2ppa-1.12/lpd/coloreco.if |
57 |
---- pnm2ppa-1.12.orig/lpd/coloreco.if 2000-10-28 17:58:07.000000000 +0300 |
58 |
-+++ pnm2ppa-1.12/lpd/coloreco.if 2009-07-18 21:12:42.000000000 +0300 |
59 |
-@@ -6,7 +6,7 @@ |
60 |
- #PAPER=a4 |
61 |
- #PAPER=a3 |
62 |
- #PPAOPTS="--fd" |
63 |
--PNM2PPA="/usr/local/bin/pnm2ppa" |
64 |
-+PNM2PPA="/usr/bin/pnm2ppa" |
65 |
- #------------------dont change below this line---------------------- |
66 |
- gs -sDEVICE=ppmraw -sPAPERSIZE=$PAPER -q -dNOPAUSE -r600 -sOutputFile=- - | \ |
67 |
- $PNM2PPA --eco $PPAOPTS -i - -o - |
68 |
-diff -ur pnm2ppa-1.12.orig/lpd/color.if pnm2ppa-1.12/lpd/color.if |
69 |
---- pnm2ppa-1.12.orig/lpd/color.if 2000-10-28 17:58:07.000000000 +0300 |
70 |
-+++ pnm2ppa-1.12/lpd/color.if 2009-07-18 21:12:42.000000000 +0300 |
71 |
-@@ -6,7 +6,7 @@ |
72 |
- #PAPER=a4 |
73 |
- #PAPER=a3 |
74 |
- #PPAOPTS="-p" |
75 |
--PNM2PPA="/usr/local/bin/pnm2ppa" |
76 |
-+PNM2PPA="/usr/bin/pnm2ppa" |
77 |
- #------------------dont change below this line---------------------- |
78 |
- gs -sDEVICE=ppmraw -sPAPERSIZE=$PAPER -q -dNOPAUSE -r600 -sOutputFile=- - | \ |
79 |
- $PNM2PPA $PPAOPTS -i - -o - |
80 |
-diff -ur pnm2ppa-1.12.orig/lpd/printcap pnm2ppa-1.12/lpd/printcap |
81 |
---- pnm2ppa-1.12.orig/lpd/printcap 2000-10-27 21:12:23.000000000 +0300 |
82 |
-+++ pnm2ppa-1.12/lpd/printcap 2009-07-18 21:12:42.000000000 +0300 |
83 |
-@@ -6,7 +6,7 @@ |
84 |
- :sd=/var/spool/lpd/coloreco:\ |
85 |
- :lf=/var/spool/lpd/coloreco/log:\ |
86 |
- :af=/var/spool/lpd/coloreco/acct:\ |
87 |
-- :if=/usr/local/bin/coloreco.if:\ |
88 |
-+ :if=/usr/bin/coloreco.if:\ |
89 |
- :la:mx#0:\ |
90 |
- :sh:sf: |
91 |
- |
92 |
-@@ -16,7 +16,7 @@ |
93 |
- :sd=/var/spool/lpd/color:\ |
94 |
- :lf=/var/spool/lpd/color/log:\ |
95 |
- :af=/var/spool/lpd/color/acct:\ |
96 |
-- :if=/usr/local/bin/color.if:\ |
97 |
-+ :if=/usr/bin/color.if:\ |
98 |
- :la:mx#0:\ |
99 |
- :sh:sf: |
100 |
- |
101 |
-@@ -26,7 +26,7 @@ |
102 |
- :sd=/var/spool/lpd/bw:\ |
103 |
- :lf=/var/spool/lpd/bw/log:\ |
104 |
- :af=/var/spool/lpd/bw/acct:\ |
105 |
-- :if=/usr/local/bin/bw.if:\ |
106 |
-+ :if=/usr/bin/bw.if:\ |
107 |
- :la:mx#0:\ |
108 |
- :sh:sf: |
109 |
- |
110 |
-@@ -36,7 +36,7 @@ |
111 |
- :sd=/var/spool/lpd/bweco:\ |
112 |
- :lf=/var/spool/lpd/bweco/log:\ |
113 |
- :af=/var/spool/lpd/bweco/acct:\ |
114 |
-- :if=/usr/local/bin/bweco.if:\ |
115 |
-+ :if=/usr/bin/bweco.if:\ |
116 |
- :la:mx#0:\ |
117 |
- :sh:sf: |
118 |
- |
119 |
-@@ -46,7 +46,7 @@ |
120 |
- :sd=/var/spool/lpd/ascii:\ |
121 |
- :lf=/var/spool/lpd/ascii/log:\ |
122 |
- :af=/var/spool/lpd/ascii/acct:\ |
123 |
-- :if=/usr/local/bin/ascii.if:\ |
124 |
-+ :if=/usr/bin/ascii.if:\ |
125 |
- :la:mx#0:\ |
126 |
- :sh:sf: |
127 |
- |
128 |
-diff -ur pnm2ppa-1.12.orig/Makefile pnm2ppa-1.12/Makefile |
129 |
---- pnm2ppa-1.12.orig/Makefile 2002-11-16 01:29:29.000000000 +0200 |
130 |
-+++ pnm2ppa-1.12/Makefile 2009-07-18 21:22:20.000000000 +0300 |
131 |
-@@ -5,14 +5,14 @@ |
132 |
- # paths to locations where the pnm2ppa binary, the configuration file, |
133 |
- # and the man page should be installed. On some systems (like Solaris) |
134 |
- # the install command requires the syntax BINDIR="-f /usr/local/bin". |
135 |
--BINDIR="/usr/local/bin" |
136 |
-+BINDIR="/usr/bin" |
137 |
- CONFDIR="/etc" |
138 |
--MANDIR="/usr/local/man/man1" |
139 |
-+MANDIR="/usr/share/man/man1" |
140 |
- |
141 |
- #compiler and linker options: |
142 |
--CC=gcc |
143 |
--CFLAGS=-Wall -pedantic -O2 |
144 |
--LDFLAGS=-lm |
145 |
-+CC?=gcc |
146 |
-+CFLAGS+=-Wall -pedantic |
147 |
-+LIBS=-lm |
148 |
- |
149 |
- INSTALL=install |
150 |
- # Install under Linux and other versions with the -b (backup) option |
151 |
-@@ -81,10 +81,10 @@ |
152 |
- default: all |
153 |
- |
154 |
- profile: |
155 |
-- make "CFLAGS=-Wall -pedantic -O2 -g -pg -DNDEBUG" |
156 |
-+ make "CFLAGS=-Wall -pedantic -g -pg -DNDEBUG" |
157 |
- |
158 |
- debug: |
159 |
-- make "CFLAGS=-Wall -pedantic -g -O2 -DDEBUG=1 -DLANG_EN" "LDFLAGS=-lm -lefence" "OBJS=$(DOBJS)" |
160 |
-+ make "CFLAGS=-Wall -pedantic -g -DDEBUG=1 -DLANG_EN" "LIBS=-lm" "OBJS=$(DOBJS)" |
161 |
- |
162 |
- # the following have been left in for those with good memories |
163 |
- |
164 |
-@@ -125,10 +125,10 @@ |
165 |
- rm -f $(CONFDIR)/pnm2ppa.conf |
166 |
- |
167 |
- pnm2ppa: $(OBJS) |
168 |
-- $(CC) $(LDFLAGS) $(CFLAGS) -o pnm2ppa $(OBJS) |
169 |
-+ $(CC) $(LDFLAGS) $(CFLAGS) $(OBJS) $(LIBS) -o pnm2ppa |
170 |
- |
171 |
- calibrate_ppa: calibrate_ppa.o pnmtools.o gamma.o |
172 |
-- $(CC) $(LDFLAGS) $(CFLAGS) -o calibrate_ppa calibrate_ppa.o pnmtools.o gamma.o |
173 |
-+ $(CC) $(LDFLAGS) $(CFLAGS) calibrate_ppa.o pnmtools.o gamma.o $(LIBS) -o calibrate_ppa |
174 |
- |
175 |
- calibrate_ppa.o: calibrate_ppa.c global.h image.h defaults.h pnmtools.h |
176 |
- $(CC) $(CFLAGS) -c calibrate_ppa.c |
177 |
-diff -ur pnm2ppa-1.12.orig/ppa_protocol/Makefile pnm2ppa-1.12/ppa_protocol/Makefile |
178 |
---- pnm2ppa-1.12.orig/ppa_protocol/Makefile 2000-10-21 05:17:46.000000000 +0300 |
179 |
-+++ pnm2ppa-1.12/ppa_protocol/Makefile 2009-07-18 21:18:27.000000000 +0300 |
180 |
-@@ -2,9 +2,9 @@ |
181 |
- # Makefile for parse_vlink |
182 |
- # |
183 |
- |
184 |
--CC=gcc |
185 |
-+CC?=gcc |
186 |
- |
187 |
--CFLAGS=-Wall -pedantic -O2 -g |
188 |
-+CFLAGS+=-Wall -pedantic |
189 |
- |
190 |
- default: all |
191 |
- |
192 |
-diff -ur pnm2ppa-1.12.orig/ppa_protocol/parse_vlink.c pnm2ppa-1.12/ppa_protocol/parse_vlink.c |
193 |
---- pnm2ppa-1.12.orig/ppa_protocol/parse_vlink.c 2000-10-21 05:17:46.000000000 +0300 |
194 |
-+++ pnm2ppa-1.12/ppa_protocol/parse_vlink.c 2009-07-18 21:19:30.000000000 +0300 |
195 |
-@@ -1,4 +1,5 @@ |
196 |
- #include <stdio.h> |
197 |
-+#include <string.h> |
198 |
- |
199 |
- void parse_scp (FILE *fptr, int length, unsigned long *pos) |
200 |
- { |