summaryrefslogtreecommitdiff
path: root/sc/sc-7.16.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sc/sc-7.16.patch')
-rw-r--r--sc/sc-7.16.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/sc/sc-7.16.patch b/sc/sc-7.16.patch
new file mode 100644
index 000000000..1d113abc7
--- /dev/null
+++ b/sc/sc-7.16.patch
@@ -0,0 +1,30 @@
+diff -Nru sc-7.16.orig/vi.c sc-7.16/vi.c
+--- sc-7.16.orig/vi.c 2005-04-02 14:49:15.000000000 +0200
++++ sc-7.16/vi.c 2005-04-02 14:55:05.000000000 +0200
+@@ -40,7 +40,7 @@
+
+ #define istext(a) (isalnum(a) || ((a) == '_'))
+
+-#define bool int
++/*#define bool int*/
+ #define true 1
+ #define false 0
+
+diff -Nru sc-7.16.orig/xmalloc.c sc-7.16/xmalloc.c
+--- sc-7.16.orig/xmalloc.c 2005-04-02 14:49:15.000000000 +0200
++++ sc-7.16/xmalloc.c 2005-04-02 14:50:06.000000000 +0200
+@@ -4,11 +4,12 @@
+ */
+
+ #include <curses.h>
++#include <stdlib.h>
+ #include "sc.h"
+
+-extern char *malloc();
++/* extern char *malloc();
+ extern char *realloc();
+-extern void free();
++extern void free(); */
+ void fatal();
+
+ #ifdef SYSV3

Generated by cgit