summaryrefslogtreecommitdiff
path: root/packages/sparse/files
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sparse/files')
-rw-r--r--packages/sparse/files/.mtn2git_empty0
-rw-r--r--packages/sparse/files/compile.patch16
-rw-r--r--packages/sparse/files/vars.patch42
3 files changed, 58 insertions, 0 deletions
diff --git a/packages/sparse/files/.mtn2git_empty b/packages/sparse/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/sparse/files/.mtn2git_empty
diff --git a/packages/sparse/files/compile.patch b/packages/sparse/files/compile.patch
index e69de29bb2..f19d521335 100644
--- a/packages/sparse/files/compile.patch
+++ b/packages/sparse/files/compile.patch
@@ -0,0 +1,16 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- sparse-bk/expression.c~compile 2004-09-13 17:42:22.642639000 -0400
++++ sparse-bk/expression.c 2004-09-13 17:44:59.147847520 -0400
+@@ -8,7 +8,7 @@
+ *
+ * This is the expression parsing part of parsing C.
+ */
+-#define _ISOC99_SOURCE
++//#define _ISOC99_SOURCE
+ #include <stdarg.h>
+ #include <stdlib.h>
+ #include <stdio.h>
diff --git a/packages/sparse/files/vars.patch b/packages/sparse/files/vars.patch
index e69de29bb2..353df2ad0b 100644
--- a/packages/sparse/files/vars.patch
+++ b/packages/sparse/files/vars.patch
@@ -0,0 +1,42 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- sparse-bk/Makefile~vars 2004-09-13 17:45:43.304134000 -0400
++++ sparse-bk/Makefile 2004-09-13 17:46:04.980839384 -0400
+@@ -1,4 +1,5 @@
+ CC=gcc
++CCLD=gcc
+ CFLAGS=-O -g -Wall
+ LDFLAGS=-g
+ AR=ar
+@@ -26,22 +27,22 @@
+ if test $< -nt $(PREFIX)/bin/sparse ; then install -v $< $(PREFIX)/bin/sparse ; fi
+
+ test-lexing: test-lexing.o $(LIB_FILE)
+- gcc $(LDFLAGS) -o $@ $< $(LIBS)
++ $(CCLD) $(LDFLAGS) -o $@ $< $(LIBS)
+
+ test-parsing: test-parsing.o $(LIB_FILE)
+- gcc $(LDFLAGS) -o $@ $< $(LIBS)
++ $(CCLD) $(LDFLAGS) -o $@ $< $(LIBS)
+
+ test-linearize: test-linearize.o $(LIB_FILE)
+- gcc $(LDFLAGS) -o $@ $< $(LIBS)
++ $(CCLD) $(LDFLAGS) -o $@ $< $(LIBS)
+
+ compile: compile.o compile-i386.o $(LIB_FILE)
+- gcc $(LDFLAGS) -o $@ $< compile-i386.o $(LIBS)
++ $(CCLD) $(LDFLAGS) -o $@ $< compile-i386.o $(LIBS)
+
+ obfuscate: obfuscate.o $(LIB_FILE)
+- gcc $(LDFLAGS) -o $@ $< $(LIBS)
++ $(CCLD) $(LDFLAGS) -o $@ $< $(LIBS)
+
+ check: check.o $(LIB_FILE)
+- gcc $(LDFLAGS) -o $@ $< $(LIBS)
++ $(CCLD) $(LDFLAGS) -o $@ $< $(LIBS)
+
+ $(LIB_FILE): $(LIB_OBJS)
+ $(AR) rcs $(LIB_FILE) $(LIB_OBJS)