aboutsummaryrefslogtreecommitdiff
path: root/editors/openoffice.org-vcltesttool/files/patch-malloc
diff options
context:
space:
mode:
Diffstat (limited to 'editors/openoffice.org-vcltesttool/files/patch-malloc')
-rw-r--r--editors/openoffice.org-vcltesttool/files/patch-malloc25
1 files changed, 25 insertions, 0 deletions
diff --git a/editors/openoffice.org-vcltesttool/files/patch-malloc b/editors/openoffice.org-vcltesttool/files/patch-malloc
new file mode 100644
index 000000000000..b923da9db5e6
--- /dev/null
+++ b/editors/openoffice.org-vcltesttool/files/patch-malloc
@@ -0,0 +1,25 @@
+Issuetracker : #i57395#
+CWS : N/A
+Author: : <pjanik@openoffice.org> (JCA)
+Description :
+
+Index: canvas/source/tools/image.cxx
+===================================================================
+RCS file: /cvs/gsl/canvas/source/tools/image.cxx,v
+retrieving revision 1.2
+diff -u -r1.2 image.cxx
+--- canvas/source/tools/image.cxx 2 Nov 2005 12:52:42 -0000 1.2
++++ canvas/source/tools/image.cxx 5 Nov 2005 07:54:50 -0000
+@@ -103,8 +103,11 @@
+ // platform-dependend includes [wrapped into their own namepsaces]
+ //////////////////////////////////////////////////////////////////////////////////
+
++#if !defined (FREEBSD)
+ #include <malloc.h> // _alloca
+-
++#else
++#include <stdlib.h>
++#endif
+ #if defined(WNT)
+ namespace win32
+ {