summaryrefslogtreecommitdiff
path: root/sc/patches
diff options
context:
space:
mode:
Diffstat (limited to 'sc/patches')
-rw-r--r--sc/patches/makefile.patch11
-rw-r--r--sc/patches/xmalloc.patch11
2 files changed, 22 insertions, 0 deletions
diff --git a/sc/patches/makefile.patch b/sc/patches/makefile.patch
new file mode 100644
index 0000000..f8a5b90
--- /dev/null
+++ b/sc/patches/makefile.patch
@@ -0,0 +1,11 @@
+--- sc-7.15/Makefile 2001-11-06 01:37:05.000000000 +0100
++++ sc-7.15mod/Makefile 2010-05-26 13:42:54.000000000 +0200
+@@ -299,7 +299,7 @@
+
+ #########################################
+ # Use this for Linux
+-CC=gcc
++#CC=gcc
+ # Only use -Wall for testing, since it produces warnings that are of no
+ # real effect on the reliability of the program, but may concern some
+ # people who don't understand them.
diff --git a/sc/patches/xmalloc.patch b/sc/patches/xmalloc.patch
new file mode 100644
index 0000000..3777e7e
--- /dev/null
+++ b/sc/patches/xmalloc.patch
@@ -0,0 +1,11 @@
+--- sc-7.15/xmalloc.c 2001-11-06 01:41:58.000000000 +0100
++++ sc-7.15mod/xmalloc.c 2010-05-24 14:38:54.000000000 +0200
+@@ -6,7 +6,7 @@
+ #include <curses.h>
+ #include "sc.h"
+
+-extern char *malloc();
++/*extern char *malloc();*/
+ extern char *realloc();
+ extern void free();
+ void fatal();