aboutsummaryrefslogtreecommitdiff
path: root/devel/libhoard/files
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2007-05-24 07:05:45 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2007-05-24 07:05:45 +0000
commitf6047d4b6121745c3684e4925048be702a4018b0 (patch)
tree583186d797312e4d94a95876b632dead05a435bc /devel/libhoard/files
parent25785909cc4e852ca4c8e3dd1042f0b170f03d93 (diff)
Notes
Diffstat (limited to 'devel/libhoard/files')
-rw-r--r--devel/libhoard/files/patch-Makefile12
-rw-r--r--devel/libhoard/files/patch-heaplayers-wrapper.cpp14
2 files changed, 20 insertions, 6 deletions
diff --git a/devel/libhoard/files/patch-Makefile b/devel/libhoard/files/patch-Makefile
index d55d0a4ebd8d..85a236be04ad 100644
--- a/devel/libhoard/files/patch-Makefile
+++ b/devel/libhoard/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig Sun Mar 11 10:57:07 2007
-+++ Makefile Sun Mar 11 11:00:07 2007
+--- Makefile.orig Thu May 24 10:21:25 2007
++++ Makefile Thu May 24 10:22:26 2007
@@ -1,6 +1,8 @@
# Commands to compile Hoard for various targets.
# Run make (with no arguments) to see the complete target list.
@@ -9,18 +9,18 @@
DARWIN8_COMPILE := g++ -pipe -O2 -DNDEBUG -I. -Iheaplayers -Iheaplayers/util -D_REENTRANT=1 -compatibility_version 1 -current_version 1 -dynamiclib libhoard.cpp -o libhoard.dylib -ldl -lpthread
DARWIN8_COMPILE_DEBUG := g++ -pipe -g -I. -Iheaplayers -Iheaplayers/util -D_REENTRANT=1 -compatibility_version 1 -current_version 1 -dynamiclib libhoard.cpp -o libhoard.dylib -ldl -lpthread
-@@ -32,6 +34,7 @@
+@@ -36,6 +38,7 @@
all:
@echo "To build Hoard, specify the desired build target:"
+ @echo " freebsd"
@echo " darwin"
@echo " linux-gcc-x86"
- @echo " solaris-sunw-sparc"
-@@ -42,6 +45,9 @@
+ @echo " linux-gcc-x86-64"
+@@ -47,6 +50,9 @@
@echo " (for build instructions on Windows, see NOTES.Windows)"
- .PHONY: darwin linux-gcc-x86 linux-gcc-x86-debug solaris-sunw-sparc solaris-sunw-x86 solaris-gcc-sparc generic-gcc clean
+ .PHONY: darwin linux-gcc-x86 linux-gcc-x86-debug solaris-sunw-sparc solaris-sunw-x86 solaris-gcc-sparc generic-gcc linux-gcc-x86-64 clean
+
+freebsd:
+ $(FREEBSD_COMPILE)
diff --git a/devel/libhoard/files/patch-heaplayers-wrapper.cpp b/devel/libhoard/files/patch-heaplayers-wrapper.cpp
new file mode 100644
index 000000000000..4354780d247e
--- /dev/null
+++ b/devel/libhoard/files/patch-heaplayers-wrapper.cpp
@@ -0,0 +1,14 @@
+--- heaplayers/wrapper.cpp.orig Thu May 24 10:24:34 2007
++++ heaplayers/wrapper.cpp Thu May 24 10:29:14 2007
+@@ -31,7 +31,11 @@
+ */
+
+ #include <string.h> // for memcpy
++#ifdef __FreeBSD__
++#include <stdlib.h>
++#else
+ #include <malloc.h> // for memalign
++#endif
+
+ #ifdef _WIN32
+ #define WIN32_LEAN_AND_MEAN