summaryrefslogtreecommitdiff
path: root/editors/abiword/patches/patch-plugins_wml_Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'editors/abiword/patches/patch-plugins_wml_Makefile.am')
-rw-r--r--editors/abiword/patches/patch-plugins_wml_Makefile.am20
1 files changed, 20 insertions, 0 deletions
diff --git a/editors/abiword/patches/patch-plugins_wml_Makefile.am b/editors/abiword/patches/patch-plugins_wml_Makefile.am
new file mode 100644
index 00000000000..d20dc757afd
--- /dev/null
+++ b/editors/abiword/patches/patch-plugins_wml_Makefile.am
@@ -0,0 +1,20 @@
+$NetBSD: patch-plugins_wml_Makefile.am,v 1.1 2015/09/13 21:32:13 nros Exp $
+GCC 4.6+ chokes on "--no-undefined" which older versions of GCC let fall
+to the linker. Prefix with "-Wl," to fix build.
+--- plugins/wml/Makefile.am.orig 2011-11-15 21:25:46.000000000 +0000
++++ plugins/wml/Makefile.am
+@@ -1,4 +1,5 @@
+
++
+ SUBDIRS = xp
+
+ if WML_BUILTIN
+@@ -18,7 +19,7 @@ wml_la_LIBADD = \
+ wml_la_LDFLAGS = \
+ -avoid-version \
+ -module \
+- -no-undefined
++ -Wl,-no-undefined
+
+ wml_la_SOURCES =
+ nodist_EXTRA_wml_la_SOURCES = dummy.cpp