tokyocabinet: Updated (1.2.7 -> 1.2.11)
[opensde-package-nopast.git] / shells / ash / slakware-fix.patch
blob2590b816881d22b23fc4a77816acd1541d9597b9
1 # --- SDE-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # Filename: package/.../ash/slakware-fix.patch
5 # Copyright (C) 2004 - 2006 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- SDE-COPYRIGHT-NOTE-END ---
17 Cleanup from Slackware.
19 --- ./Makefile.orig Sun May 15 14:16:31 1994
20 +++ ./Makefile Tue Aug 3 16:19:10 1999
21 @@ -14,8 +14,10 @@
23 OBJS = $(OBJ1) $(OBJ2)
25 -CFLAGS = -O2 -fomit-frame-pointer -m486 -DSHELL -I/usr/include/bsd -I.
26 -LDFLAGS = -s -lbsd
27 +#CFLAGS = -O2 -pipe -DSHELL -I/usr/include/bsd -I. -D__BIT_TYPES_DEFINED__
28 +#LDFLAGS = -s -lbsd
29 +CFLAGS = -O2 -pipe -DSHELL -I. -D__BIT_TYPES_DEFINED__
30 +LDFLAGS = -s
32 CLEANFILES =\
33 builtins.c builtins.h init.c mkinit mknodes mksyntax \
34 @@ -32,7 +34,7 @@
35 token.def: mktokens
36 sh ./mktokens
38 -builtins.h builtins.c: mkbuiltins builtins
39 +builtins.h builtins.c: mkbuiltins
40 sh ./mkbuiltins
42 init.c: mkinit $(SRCS)
43 --- ./mknodes.c.orig Mon Sep 6 04:04:23 1993
44 +++ ./mknodes.c Tue Aug 3 16:19:10 1999
45 @@ -89,7 +89,7 @@
46 struct str *curstr; /* current structure */
49 -FILE *infp = stdin;
50 +FILE *infp;
51 char line[1024];
52 int linno;
53 char *linep;
54 @@ -102,6 +102,7 @@
55 main(argc, argv)
56 char **argv;
58 + infp = stdin;
59 if (argc != 3) {
60 error("usage: mknodes file\n");
61 return(1);
62 --- ./trap.c.orig Tue Aug 24 04:12:57 1993
63 +++ ./trap.c Tue Aug 3 16:19:10 1999
64 @@ -53,6 +53,9 @@
65 #include "mystring.h"
66 #include <signal.h>
68 +#ifndef sig_t
69 +#define sig_t __sighandler_t
70 +#endif
73 * Sigmode records the current value of the signal handlers for the various