summaryrefslogtreecommitdiff
path: root/editors/libreoffice/files/patch-bridges__source__cpp_uno__gcc3_linux_x86-64__uno2cpp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'editors/libreoffice/files/patch-bridges__source__cpp_uno__gcc3_linux_x86-64__uno2cpp.cxx')
-rw-r--r--editors/libreoffice/files/patch-bridges__source__cpp_uno__gcc3_linux_x86-64__uno2cpp.cxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/editors/libreoffice/files/patch-bridges__source__cpp_uno__gcc3_linux_x86-64__uno2cpp.cxx b/editors/libreoffice/files/patch-bridges__source__cpp_uno__gcc3_linux_x86-64__uno2cpp.cxx
new file mode 100644
index 000000000000..f6a6537c4b0b
--- /dev/null
+++ b/editors/libreoffice/files/patch-bridges__source__cpp_uno__gcc3_linux_x86-64__uno2cpp.cxx
@@ -0,0 +1,14 @@
+--- ./bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx.orig 2012-07-03 07:01:28.000000000 -0400
++++ ./bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx 2012-07-17 13:02:19.000000000 -0400
+@@ -26,7 +26,11 @@
+ *
+ ************************************************************************/
+
++#if defined (FREEBSD) || defined(NETBSD) || defined(OPENBSD) || defined(DRAGONFLY)
++#include <stdlib.h>
++#else
+ #include <alloca.h>
++#endif
+ #include <exception>
+ #include <typeinfo>
+