diff options
author | mbr <mbr@FreeBSD.org> | 2002-07-31 18:06:52 +0800 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2002-07-31 18:06:52 +0800 |
commit | 115f14abcba5a89f579e13e3cd2f2e0ca835d4d1 (patch) | |
tree | 5db11bcba4ec550ab45d01fedaf3164844301c9c /editors/openoffice-1.1 | |
parent | befdd3f392a32aec05d87d36786d1d49ff77bf9d (diff) | |
download | freebsd-ports-graphics-115f14abcba5a89f579e13e3cd2f2e0ca835d4d1.tar.gz freebsd-ports-graphics-115f14abcba5a89f579e13e3cd2f2e0ca835d4d1.tar.zst freebsd-ports-graphics-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-1.1')
-rw-r--r-- | editors/openoffice-1.1/files/patch-solenv+bin+addsym.awk | 10 | ||||
-rw-r--r-- | editors/openoffice-1.1/files/patch-solenv+inc+unxfbsdi.mk | 12 |
2 files changed, 16 insertions, 6 deletions
diff --git a/editors/openoffice-1.1/files/patch-solenv+bin+addsym.awk b/editors/openoffice-1.1/files/patch-solenv+bin+addsym.awk new file mode 100644 index 00000000000..d4b9daeb8a4 --- /dev/null +++ b/editors/openoffice-1.1/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-1.1/files/patch-solenv+inc+unxfbsdi.mk b/editors/openoffice-1.1/files/patch-solenv+inc+unxfbsdi.mk index d9a06e4a004..b189474e5f8 100644 --- a/editors/openoffice-1.1/files/patch-solenv+inc+unxfbsdi.mk +++ b/editors/openoffice-1.1/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 |