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.org-1.0 | |
parent | befdd3f392a32aec05d87d36786d1d49ff77bf9d (diff) | |
download | freebsd-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.org-1.0')
4 files changed, 32 insertions, 12 deletions
diff --git a/editors/openoffice.org-1.0/files/patch-solenv+bin+addsym.awk b/editors/openoffice.org-1.0/files/patch-solenv+bin+addsym.awk new file mode 100644 index 000000000000..d4b9daeb8a48 --- /dev/null +++ b/editors/openoffice.org-1.0/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.org-1.0/files/patch-solenv+inc+unxfbsdi.mk b/editors/openoffice.org-1.0/files/patch-solenv+inc+unxfbsdi.mk index d9a06e4a004f..b189474e5f82 100644 --- a/editors/openoffice.org-1.0/files/patch-solenv+inc+unxfbsdi.mk +++ b/editors/openoffice.org-1.0/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 diff --git a/editors/openoffice.org-1.0/files/patch-solenv::bin::addsym.awk b/editors/openoffice.org-1.0/files/patch-solenv::bin::addsym.awk new file mode 100644 index 000000000000..d4b9daeb8a48 --- /dev/null +++ b/editors/openoffice.org-1.0/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.org-1.0/files/patch-solenv::inc::unxfbsdi.mk b/editors/openoffice.org-1.0/files/patch-solenv::inc::unxfbsdi.mk index d9a06e4a004f..b189474e5f82 100644 --- a/editors/openoffice.org-1.0/files/patch-solenv::inc::unxfbsdi.mk +++ b/editors/openoffice.org-1.0/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 |