summaryrefslogtreecommitdiff
path: root/devel/log4cxx/files/patch-include-log4cxx-helpers-tchar.h
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-01-16 13:47:07 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-01-16 13:47:07 +0000
commitaa16f3ce599f0ed3cbf70fa899cf4dc0b918d43a (patch)
treee9f5aadd61e053eea1cc5775022e82506fe96765 /devel/log4cxx/files/patch-include-log4cxx-helpers-tchar.h
parentUpdate to 0.2.1 (diff)
Log4cxx is a port to C++ of the Log4j project. The goal is have the same
functionnalities and interfaces of log4j. PR: ports/76287 Submitted by: Thaddeus Covert <tcovert+ports@sahuagin.net>
Notes
Notes: svn path=/head/; revision=126582
Diffstat (limited to 'devel/log4cxx/files/patch-include-log4cxx-helpers-tchar.h')
-rw-r--r--devel/log4cxx/files/patch-include-log4cxx-helpers-tchar.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/log4cxx/files/patch-include-log4cxx-helpers-tchar.h b/devel/log4cxx/files/patch-include-log4cxx-helpers-tchar.h
new file mode 100644
index 000000000000..b3a869f09542
--- /dev/null
+++ b/devel/log4cxx/files/patch-include-log4cxx-helpers-tchar.h
@@ -0,0 +1,12 @@
+--- include/log4cxx/helpers/tchar.h.orig Wed Jan 12 17:56:51 2005
++++ include/log4cxx/helpers/tchar.h Wed Jan 12 17:57:04 2005
+@@ -83,6 +83,9 @@
+ #include <malloc.h>
+ #define USES_CONVERSION void * _dst = _alloca(1024);
+ #endif
++#elif defined( __FreeBSD__ )
++ #include <stdlib.h>
++ #define USES_CONVERSION void * _dst = alloca(1024);
+ #else
+ #include <alloca.h>
+ #define USES_CONVERSION void * _dst = alloca(1024);