From 9aaeb4623d3ff5746e665bc17914eefd292b7dcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20K=C3=BChling?= Date: Sun, 2 Jan 2011 15:19:00 +0100 Subject: New OpenWrt package for GNU Octave. Experimental/probably still broken. Work in progress. Committing it as compilation seems to take forever. Not sure whether I can finish this within a few days. --- sc/patches/makefile.patch | 11 +++++++++++ sc/patches/xmalloc.patch | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 sc/patches/makefile.patch create mode 100644 sc/patches/xmalloc.patch (limited to 'sc/patches') 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 + #include "sc.h" + +-extern char *malloc(); ++/*extern char *malloc();*/ + extern char *realloc(); + extern void free(); + void fatal(); -- cgit v1.2.3