freebsd-ports/editors/openoffice-3/files/patch-solenv+bin+addsym.awk
Martin Blapp 19599e5a4a Update to cws_srx644_ooo11beta. It still doesn't build but this commit will help
to track the things down.

There are known problems with weak symbols and exceptions. Some c++ tools
inside the port will fail if you try to compile.

The cpp_uno bridge has been updated to the latest linux version available.
Added 'make update' target to upgrade the source to the latest version.

Approved by:	kris (portmgr)
2003-03-12 01:04:08 +00:00

16 lines
589 B
Awk

--- ../solenv/bin/addsym.awk.orig Tue Mar 11 15:11:44 2003
+++ ../solenv/bin/addsym.awk Tue Mar 11 15:13:19 2003
@@ -72,11 +72,11 @@
END {
if (state == 0) {
print "# Weak RTTI symbols for C++ exceptions:"
- print "UDK_3_0_0 { global: _ZTI*; _ZTS*; };"
+ print "UDK_3_0_0 { global: _ZTI*; _ZTS*; GetVersionInfo;};"
}
}
state == 2 {
- print " _ZTI*; _ZTS*; # weak RTTI symbols for C++ exceptions"
+ print " _ZTI*; _ZTS*; GetVersionInfo;# weak RTTI symbols for C++ exceptions"
state = 3
}
/^[\t ]*UDK_3_0_0[\t ]*{/ { state = 1 }