summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/texmacs/files/texmacs-ldflags.patch')
-rw-r--r--app-office/texmacs/files/texmacs-ldflags.patch56
1 files changed, 56 insertions, 0 deletions
diff --git a/app-office/texmacs/files/texmacs-ldflags.patch b/app-office/texmacs/files/texmacs-ldflags.patch
new file mode 100644
index 000000000000..f0e632beb8b4
--- /dev/null
+++ b/app-office/texmacs/files/texmacs-ldflags.patch
@@ -0,0 +1,56 @@
+diff -r -U1 TeXmacs-1.0.7.7-src.orig/plugins/axiom/Makefile TeXmacs-1.0.7.7-src/plugins/axiom/Makefile
+--- TeXmacs-1.0.7.7-src.orig/plugins/axiom/Makefile 2010-10-23 02:38:00.000000000 +0700
++++ TeXmacs-1.0.7.7-src/plugins/axiom/Makefile 2010-10-31 18:26:17.000000000 +0600
+@@ -16,3 +16,3 @@
+ bin/tm_axiom: src/tm_axiom.c
+- $(CC) $(CPPFLAGS) $(CFLAGS) src/tm_axiom.c -o bin/tm_axiom
++ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) src/tm_axiom.c -o bin/tm_axiom
+
+diff -r -U1 TeXmacs-1.0.7.7-src.orig/plugins/graphviz/Makefile TeXmacs-1.0.7.7-src/plugins/graphviz/Makefile
+--- TeXmacs-1.0.7.7-src.orig/plugins/graphviz/Makefile 2010-10-23 02:38:00.000000000 +0700
++++ TeXmacs-1.0.7.7-src/plugins/graphviz/Makefile 2010-10-31 18:29:34.000000000 +0600
+@@ -16,3 +16,3 @@
+ bin/tm_graphviz: src/tm_graphviz.c
+- $(CC) $(CPPFLAGS) $(CFLAGS) src/tm_graphviz.c -o bin/tm_graphviz
++ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) src/tm_graphviz.c -o bin/tm_graphviz
+
+diff -r -U1 TeXmacs-1.0.7.7-src.orig/plugins/maple/Makefile TeXmacs-1.0.7.7-src/plugins/maple/Makefile
+--- TeXmacs-1.0.7.7-src.orig/plugins/maple/Makefile 2010-10-23 02:38:00.000000000 +0700
++++ TeXmacs-1.0.7.7-src/plugins/maple/Makefile 2010-10-31 18:30:26.000000000 +0600
+@@ -17,3 +17,3 @@
+ bin/tm_maple_5: src/tm_maple_5.cpp
+- $(CXX) $(CPPFLAGS) $(CXXFLAGS) src/tm_maple_5.cpp -o bin/tm_maple_5
++ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) src/tm_maple_5.cpp -o bin/tm_maple_5
+
+diff -r -U1 TeXmacs-1.0.7.7-src.orig/plugins/mathematica/Makefile TeXmacs-1.0.7.7-src/plugins/mathematica/Makefile
+--- TeXmacs-1.0.7.7-src.orig/plugins/mathematica/Makefile 2010-10-23 02:38:00.000000000 +0700
++++ TeXmacs-1.0.7.7-src/plugins/mathematica/Makefile 2010-10-31 18:31:09.000000000 +0600
+@@ -14,3 +14,3 @@
+ bin/realpath: src/realpath.c
+- $(CC) $(CPPFLAGS) $(CFLAGS) src/realpath.c -o bin/realpath
++ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) src/realpath.c -o bin/realpath
+
+diff -r -U1 TeXmacs-1.0.7.7-src.orig/plugins/maxima/Makefile TeXmacs-1.0.7.7-src/plugins/maxima/Makefile
+--- TeXmacs-1.0.7.7-src.orig/plugins/maxima/Makefile 2010-10-23 02:38:00.000000000 +0700
++++ TeXmacs-1.0.7.7-src/plugins/maxima/Makefile 2010-10-31 18:32:01.000000000 +0600
+@@ -16,3 +16,3 @@
+ bin/maxima_filter: src/maxima_filter.c
+- $(CC) $(CPPFLAGS) $(CFLAGS) src/maxima_filter.c -o bin/maxima_filter
++ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) src/maxima_filter.c -o bin/maxima_filter
+
+diff -r -U1 TeXmacs-1.0.7.7-src.orig/plugins/r/Makefile TeXmacs-1.0.7.7-src/plugins/r/Makefile
+--- TeXmacs-1.0.7.7-src.orig/plugins/r/Makefile 2010-10-23 02:38:00.000000000 +0700
++++ TeXmacs-1.0.7.7-src/plugins/r/Makefile 2010-10-31 18:32:47.000000000 +0600
+@@ -16,3 +16,3 @@
+ bin/tm_r: src/tm_r.c
+- $(CC) $(CPPFLAGS) $(CFLAGS) -I../../src/System src/tm_r.c -o bin/tm_r -lutil
++ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -I../../src/System src/tm_r.c -o bin/tm_r -lutil
+
+diff -r -U1 TeXmacs-1.0.7.7-src.orig/plugins/shell/Makefile TeXmacs-1.0.7.7-src/plugins/shell/Makefile
+--- TeXmacs-1.0.7.7-src.orig/plugins/shell/Makefile 2010-10-23 02:38:00.000000000 +0700
++++ TeXmacs-1.0.7.7-src/plugins/shell/Makefile 2010-10-31 18:34:16.000000000 +0600
+@@ -16,3 +16,3 @@
+ bin/tm_shell: src/tm_shell.cpp
+- $(CXX) $(CPPFLAGS) $(CXXFLAGS) -I../../src/System -lutil src/tm_shell.cpp -o bin/tm_shell
++ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -I../../src/System -lutil src/tm_shell.cpp -o bin/tm_shell
+