aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice-devel
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2002-07-31 18:06:52 +0800
committermbr <mbr@FreeBSD.org>2002-07-31 18:06:52 +0800
commit115f14abcba5a89f579e13e3cd2f2e0ca835d4d1 (patch)
tree5db11bcba4ec550ab45d01fedaf3164844301c9c /editors/openoffice-devel
parentbefdd3f392a32aec05d87d36786d1d49ff77bf9d (diff)
downloadfreebsd-ports-gnome-115f14abcba5a89f579e13e3cd2f2e0ca835d4d1.tar.gz
freebsd-ports-gnome-115f14abcba5a89f579e13e3cd2f2e0ca835d4d1.tar.zst
freebsd-ports-gnome-115f14abcba5a89f579e13e3cd2f2e0ca835d4d1.zip
Remove probematic -export-dynamic flag, which could lead to namespace
collisions. Add missing symbols to addsym.awk, so -export-dynamic gets obsolete. Submitted by: kan
Diffstat (limited to 'editors/openoffice-devel')
-rw-r--r--editors/openoffice-devel/files/patch-solenv+bin+addsym.awk10
-rw-r--r--editors/openoffice-devel/files/patch-solenv+inc+unxfbsdi.mk12
2 files changed, 16 insertions, 6 deletions
diff --git a/editors/openoffice-devel/files/patch-solenv+bin+addsym.awk b/editors/openoffice-devel/files/patch-solenv+bin+addsym.awk
new file mode 100644
index 000000000000..d4b9daeb8a48
--- /dev/null
+++ b/editors/openoffice-devel/files/patch-solenv+bin+addsym.awk
@@ -0,0 +1,10 @@
+--- ../solenv/bin/addsym.awk.kan Sat Jul 27 10:10:19 2002
++++ ../solenv/bin/addsym.awk Thu Jul 25 14:49:30 2002
+@@ -62,6 +62,7 @@
+ BEGIN { global_found = "false" }
+ /[ \t]*local:/ { global_found = "false" }
+ global_found == "true" {
++ print "\t\tGetVersionInfo;"
+ print "\t\t_ZTS*;"
+ print "\t\t_ZTI*;"
+ global_found = "false" }
diff --git a/editors/openoffice-devel/files/patch-solenv+inc+unxfbsdi.mk b/editors/openoffice-devel/files/patch-solenv+inc+unxfbsdi.mk
index d9a06e4a004f..b189474e5f82 100644
--- a/editors/openoffice-devel/files/patch-solenv+inc+unxfbsdi.mk
+++ b/editors/openoffice-devel/files/patch-solenv+inc+unxfbsdi.mk
@@ -120,16 +120,16 @@
+
+LINK=$(CXX)
LINKFLAGS=
+-LINKFLAGSAPPGUI= -Wl,-export-dynamic
+-LINKFLAGSAPPCUI= -Wl,-export-dynamic
+
+# linker flags for linking applications
- LINKFLAGSAPPGUI= -Wl,-export-dynamic
- LINKFLAGSAPPCUI= -Wl,-export-dynamic
--LINKFLAGSSHLGUI= -shared
--LINKFLAGSSHLCUI= -shared
++LINKFLAGSAPPGUI=
++LINKFLAGSAPPCUI=
+
+# linker flags for linking shared libraries
-+LINKFLAGSSHLGUI= -shared -Wl,-export-dynamic
-+LINKFLAGSSHLCUI= -shared -Wl,-export-dynamic
+ LINKFLAGSSHLGUI= -shared
+ LINKFLAGSSHLCUI= -shared
LINKFLAGSTACK=
LINKFLAGSPROF=
LINKFLAGSDEBUG=-g