1 |
commit: f9ba7161ed0c960f3add84d0edd267e71d9ce379 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Dec 5 17:35:36 2017 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 6 11:59:47 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9ba7161 |
7 |
|
8 |
dev-tcltk/expect: remove unused patches |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/6456 |
11 |
|
12 |
.../expect/files/expect-5.44.1.15-expectk.patch | 14 --- |
13 |
.../expect/files/expect-5.44.1.15-gfbsd.patch | 17 --- |
14 |
.../expect/files/expect-5.44.1.15-headers.patch | 86 --------------- |
15 |
.../expect/files/expect-5.44.1.15_with-tk-no.patch | 117 --------------------- |
16 |
4 files changed, 234 deletions(-) |
17 |
|
18 |
diff --git a/dev-tcltk/expect/files/expect-5.44.1.15-expectk.patch b/dev-tcltk/expect/files/expect-5.44.1.15-expectk.patch |
19 |
deleted file mode 100644 |
20 |
index 0c0ba80293e..00000000000 |
21 |
--- a/dev-tcltk/expect/files/expect-5.44.1.15-expectk.patch |
22 |
+++ /dev/null |
23 |
@@ -1,14 +0,0 @@ |
24 |
-expectk is only built when TK_BIN_DIR is defined. the configure script |
25 |
-takes care of figuring out this value, but then they forgot to actually |
26 |
-write it out to the Makefile. |
27 |
- |
28 |
---- Makefile.in |
29 |
-+++ Makefile.in |
30 |
-@@ -24,6 +24,7 @@ |
31 |
- # SETUID = chmod u+s |
32 |
- |
33 |
- LIB_RUNTIME_DIR = $(DESTDIR)@libdir@ |
34 |
-+TK_BIN_DIR = @TK_BIN_DIR@ |
35 |
- |
36 |
- # The following Expect scripts are not necessary to have installed as |
37 |
- # commands, but are very useful. Edit out what you don't want |
38 |
|
39 |
diff --git a/dev-tcltk/expect/files/expect-5.44.1.15-gfbsd.patch b/dev-tcltk/expect/files/expect-5.44.1.15-gfbsd.patch |
40 |
deleted file mode 100644 |
41 |
index d67de2126a0..00000000000 |
42 |
--- a/dev-tcltk/expect/files/expect-5.44.1.15-gfbsd.patch |
43 |
+++ /dev/null |
44 |
@@ -1,17 +0,0 @@ |
45 |
---- expect-5.44.1.15/tclconfig/tcl.m4.orig 2010-04-08 22:49:51.568043292 -0700 |
46 |
-+++ expect-5.44.1.15/tclconfig/tcl.m4 2010-04-08 22:50:28.207915301 -0700 |
47 |
-@@ -1579,12 +1579,12 @@ |
48 |
- FreeBSD-*) |
49 |
- # FreeBSD 3.* and greater have ELF. |
50 |
- SHLIB_CFLAGS="-fPIC" |
51 |
-- SHLIB_LD="ld -Bshareable -x" |
52 |
-+ SHLIB_LD="${CC} -shared" |
53 |
- SHLIB_LD_LIBS='${LIBS}' |
54 |
- SHLIB_SUFFIX=".so" |
55 |
- DL_OBJS="tclLoadDl.o" |
56 |
- DL_LIBS="" |
57 |
-- LDFLAGS="$LDFLAGS -export-dynamic" |
58 |
-+ LDFLAGS="$LDFLAGS -Wl,-export-dynamic" |
59 |
- CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' |
60 |
- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' |
61 |
- if test "${TCL_THREADS}" = "1" ; then |
62 |
|
63 |
diff --git a/dev-tcltk/expect/files/expect-5.44.1.15-headers.patch b/dev-tcltk/expect/files/expect-5.44.1.15-headers.patch |
64 |
deleted file mode 100644 |
65 |
index 77e4d91f4bf..00000000000 |
66 |
--- a/dev-tcltk/expect/files/expect-5.44.1.15-headers.patch |
67 |
+++ /dev/null |
68 |
@@ -1,86 +0,0 @@ |
69 |
-https://sourceforge.net/tracker/?func=detail&aid=3071706&group_id=13179&atid=113179 |
70 |
- |
71 |
---- a/exp_clib.c |
72 |
-+++ b/exp_clib.c |
73 |
-@@ -15,6 +15,12 @@ |
74 |
- #endif |
75 |
- #include <sys/types.h> |
76 |
- #include <sys/ioctl.h> |
77 |
-+#ifdef HAVE_UNISTD_H |
78 |
-+# include <unistd.h> |
79 |
-+#endif |
80 |
-+#ifdef HAVE_SYS_WAIT_H |
81 |
-+#include <sys/wait.h> |
82 |
-+#endif |
83 |
- |
84 |
- #ifdef TIME_WITH_SYS_TIME |
85 |
- # include <sys/time.h> |
86 |
---- a/exp_trap.c |
87 |
-+++ b/exp_trap.c |
88 |
-@@ -13,6 +13,7 @@ |
89 |
- #include <stdio.h> |
90 |
- #include <signal.h> |
91 |
- #include <sys/types.h> |
92 |
-+#include <string.h> |
93 |
- |
94 |
- #ifdef HAVE_SYS_WAIT_H |
95 |
- #include <sys/wait.h> |
96 |
---- a/pty_termios.c |
97 |
-+++ b/pty_termios.c |
98 |
-@@ -9,6 +9,8 @@ |
99 |
- |
100 |
- #include <stdio.h> |
101 |
- #include <signal.h> |
102 |
-+#include <string.h> |
103 |
-+#include <pty.h> |
104 |
- |
105 |
- #if defined(SIGCLD) && !defined(SIGCHLD) |
106 |
- #define SIGCHLD SIGCLD |
107 |
-@@ -100,6 +100,7 @@ |
108 |
- |
109 |
- #include "exp_tty_in.h" |
110 |
- #include "exp_rename.h" |
111 |
-+#include "exp_int.h" |
112 |
- #include "exp_pty.h" |
113 |
- |
114 |
- void expDiagLog(); |
115 |
---- a/exp_chan.c |
116 |
-+++ b/exp_chan.c |
117 |
-@@ -34,6 +34,7 @@ |
118 |
- #include "exp_rename.h" |
119 |
- #include "exp_prog.h" |
120 |
- #include "exp_command.h" |
121 |
-+#include "exp_event.h" |
122 |
- #include "exp_log.h" |
123 |
- #include "tcldbg.h" /* Dbg_StdinMode */ |
124 |
- |
125 |
---- a/exp_clib.c |
126 |
-+++ b/exp_clib.c |
127 |
-@@ -1955,6 +1955,7 @@ |
128 |
- |
129 |
- #include "expect.h" |
130 |
- #include "exp_int.h" |
131 |
-+EXTERN void exp_init_tty _ANSI_ARGS_((void)); |
132 |
- |
133 |
- /* exp_glob.c - expect functions for doing glob |
134 |
- * |
135 |
---- a/exp_tty.h |
136 |
-+++ b/exp_tty.h |
137 |
-@@ -17,6 +17,7 @@ |
138 |
- |
139 |
- void exp_tty_raw(int set); |
140 |
- void exp_tty_echo(int set); |
141 |
-+int exp_tty_cooked_echo(Tcl_Interp *interp, exp_tty *tty_old, int *was_raw, int *was_echo); |
142 |
- void exp_tty_break(Tcl_Interp *interp, int fd); |
143 |
- int exp_tty_raw_noecho(Tcl_Interp *interp, exp_tty *tty_old, int *was_raw, int *was_echo); |
144 |
- int exp_israw(void); |
145 |
---- a/exp_main_tk.c |
146 |
-+++ b/exp_main_tk.c |
147 |
-@@ -32,6 +32,7 @@ |
148 |
- static char sccsid[] = "@(#) tkAppInit.c 1.19 95/12/23 17:09:24"; |
149 |
- #endif /* not lint */ |
150 |
- |
151 |
-+#include <string.h> |
152 |
- #include <ctype.h> |
153 |
- |
154 |
- #include "tk.h" |
155 |
|
156 |
diff --git a/dev-tcltk/expect/files/expect-5.44.1.15_with-tk-no.patch b/dev-tcltk/expect/files/expect-5.44.1.15_with-tk-no.patch |
157 |
deleted file mode 100644 |
158 |
index cea372daaac..00000000000 |
159 |
--- a/dev-tcltk/expect/files/expect-5.44.1.15_with-tk-no.patch |
160 |
+++ /dev/null |
161 |
@@ -1,117 +0,0 @@ |
162 |
-This is a minimal patch that does not keep indentation consistent in tcl.m4 |
163 |
-Updating indentation would make the patch much bigger and less readable. |
164 |
- |
165 |
-Signed-off-by: Gilles Espinasse <g.esp@××××.fr> |
166 |
- |
167 |
-Index: INSTALL |
168 |
-=================================================================== |
169 |
-RCS file: /cvsroot/expect/expect/INSTALL,v |
170 |
-retrieving revision 5.30 |
171 |
-diff -u -r5.30 INSTALL |
172 |
---- INSTALL 21 Jun 1999 18:41:41 -0000 5.30 |
173 |
-+++ INSTALL 30 May 2009 11:51:21 -0000 |
174 |
-@@ -152,6 +152,7 @@ |
175 |
- |
176 |
- --with-tk=... Specifies the directory containing Tk's |
177 |
- configure file (tkConfig.sh). |
178 |
-+ --with-tk=no disable Tk usage in expect |
179 |
- |
180 |
- --with-tkinclude=... Specifies the directory containing Tk's |
181 |
- private include files (such as tkInt.h) |
182 |
-Index: Makefile.in |
183 |
-=================================================================== |
184 |
-RCS file: /cvsroot/expect/expect/Makefile.in,v |
185 |
-retrieving revision 5.45 |
186 |
-diff -u -r5.45 Makefile.in |
187 |
---- Makefile.in 3 Oct 2008 17:05:14 -0000 5.45 |
188 |
-+++ Makefile.in 30 May 2009 11:51:21 -0000 |
189 |
-@@ -103,7 +103,11 @@ |
190 |
- PKG_STUB_LIB_FILE = @PKG_STUB_LIB_FILE@ |
191 |
- |
192 |
- lib_BINARIES = $(PKG_LIB_FILE) |
193 |
--bin_BINARIES = expect expectk |
194 |
-+bin_BINARIES = expect |
195 |
-+ifneq ($(TK_BIN_DIR),) |
196 |
-+ bin_BINARIES += expectk |
197 |
-+endif |
198 |
-+ |
199 |
- BINARIES = $(lib_BINARIES) $(bin_BINARIES) |
200 |
- |
201 |
- SHELL = @SHELL@ |
202 |
-Index: tclconfig/tcl.m4 |
203 |
-=================================================================== |
204 |
-RCS file: /cvsroot/expect/expect/tclconfig/tcl.m4,v |
205 |
-retrieving revision 1.3 |
206 |
-diff -u -r1.3 tcl.m4 |
207 |
---- tclconfig/tcl.m4 25 Jan 2006 21:52:11 -0000 1.3 |
208 |
-+++ tclconfig/tcl.m4 30 May 2009 11:51:23 -0000 |
209 |
-@@ -181,10 +181,12 @@ |
210 |
- # |
211 |
- # Adds the following arguments to configure: |
212 |
- # --with-tk=... |
213 |
-+# --with-tk=no disable Tk usage |
214 |
- # |
215 |
- # Defines the following vars: |
216 |
- # TK_BIN_DIR Full path to the directory containing |
217 |
- # the tkConfig.sh file |
218 |
-+# Empty if Tk is disabled |
219 |
- #------------------------------------------------------------------------ |
220 |
- |
221 |
- AC_DEFUN(TEA_PATH_TKCONFIG, [ |
222 |
-@@ -201,6 +203,12 @@ |
223 |
- AC_HELP_STRING([--with-tk], |
224 |
- [directory containing tk configuration (tkConfig.sh)]), |
225 |
- with_tkconfig=${withval}) |
226 |
-+ |
227 |
-+ if test x"${with_tkconfig}" = x"no" ; then |
228 |
-+ AC_MSG_RESULT([Tk is disabled by --with-tk=no]) |
229 |
-+ unset TK_BIN_DIR |
230 |
-+ else |
231 |
-+ |
232 |
- AC_MSG_CHECKING([for Tk configuration]) |
233 |
- AC_CACHE_VAL(ac_cv_c_tkconfig,[ |
234 |
- |
235 |
-@@ -309,6 +317,7 @@ |
236 |
- TK_BIN_DIR=${ac_cv_c_tkconfig} |
237 |
- AC_MSG_RESULT([found ${TK_BIN_DIR}/tkConfig.sh]) |
238 |
- fi |
239 |
-+ fi |
240 |
- fi |
241 |
- ]) |
242 |
- |
243 |
-@@ -420,6 +429,7 @@ |
244 |
- #------------------------------------------------------------------------ |
245 |
- |
246 |
- AC_DEFUN(TEA_LOAD_TKCONFIG, [ |
247 |
-+ if test x"${with_tkconfig}" != x"no" ; then |
248 |
- AC_MSG_CHECKING([for existence of ${TK_BIN_DIR}/tkConfig.sh]) |
249 |
- |
250 |
- if test -f "${TK_BIN_DIR}/tkConfig.sh" ; then |
251 |
-@@ -501,6 +511,7 @@ |
252 |
- |
253 |
- AC_SUBST(TK_LIBS) |
254 |
- AC_SUBST(TK_XINCLUDES) |
255 |
-+ fi |
256 |
- ]) |
257 |
- |
258 |
- #------------------------------------------------------------------------ |
259 |
-@@ -3528,6 +3539,11 @@ |
260 |
- #------------------------------------------------------------------------ |
261 |
- |
262 |
- AC_DEFUN(TEA_PUBLIC_TK_HEADERS, [ |
263 |
-+ if test x"${with_tkconfig}" = x"no" ; then |
264 |
-+ TK_INCLUDES="" |
265 |
-+ AC_SUBST(TK_INCLUDES) |
266 |
-+ else |
267 |
-+ |
268 |
- AC_MSG_CHECKING([for Tk public headers]) |
269 |
- |
270 |
- AC_ARG_WITH(tkinclude, [ --with-tkinclude directory containing the public Tk header files.], with_tkinclude=${withval}) |
271 |
-@@ -3608,6 +3624,7 @@ |
272 |
- fi |
273 |
- AC_MSG_RESULT([${INCLUDE_DIR_NATIVE}]) |
274 |
- fi |
275 |
-+ fi |
276 |
- ]) |
277 |
- |
278 |
- #------------------------------------------------------------------------ |