summaryrefslogtreecommitdiff
path: root/editors/openoffice.org-3-devel/files/patch-vcl+source+gdi+sallayout.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'editors/openoffice.org-3-devel/files/patch-vcl+source+gdi+sallayout.cxx')
-rw-r--r--editors/openoffice.org-3-devel/files/patch-vcl+source+gdi+sallayout.cxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/editors/openoffice.org-3-devel/files/patch-vcl+source+gdi+sallayout.cxx b/editors/openoffice.org-3-devel/files/patch-vcl+source+gdi+sallayout.cxx
new file mode 100644
index 000000000000..5cbc59bf7db7
--- /dev/null
+++ b/editors/openoffice.org-3-devel/files/patch-vcl+source+gdi+sallayout.cxx
@@ -0,0 +1,14 @@
+malloc.h is deprecated
+http://qa.openoffice.org/issues/show_bug.cgi?id=27041
+
+--- ../vcl/source/gdi/sallayout.cxx.org Mon Mar 29 10:02:17 2004
++++ ../vcl/source/gdi/sallayout.cxx Mon Mar 29 10:02:43 2004
+@@ -67,7 +67,7 @@
+ #if defined(SOLARIS) || defined(IRIX)
+ #include <alloca.h>
+ #else
+-#ifndef MACOSX
++#if !(defined(MACOSX) || defined(FREEBSD))
+ #include <malloc.h>
+ #endif
+ #endif