aboutsummaryrefslogtreecommitdiff
path: root/devel/libhoard
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
parent25785909cc4e852ca4c8e3dd1042f0b170f03d93 (diff)
downloadports-f6047d4b6121745c3684e4925048be702a4018b0.tar.gz
ports-f6047d4b6121745c3684e4925048be702a4018b0.zip
Make fetchable by update to latest release 3.6.1.
Pointed out by: pointyhat, kris Approved by: portmgr (erwin)
Notes
Notes: svn path=/head/; revision=191626
Diffstat (limited to 'devel/libhoard')
-rw-r--r--devel/libhoard/Makefile7
-rw-r--r--devel/libhoard/distinfo6
-rw-r--r--devel/libhoard/files/patch-Makefile12
-rw-r--r--devel/libhoard/files/patch-heaplayers-wrapper.cpp14
4 files changed, 26 insertions, 13 deletions
diff --git a/devel/libhoard/Makefile b/devel/libhoard/Makefile
index 5a7c43f437e8..7831c6e34808 100644
--- a/devel/libhoard/Makefile
+++ b/devel/libhoard/Makefile
@@ -6,18 +6,17 @@
#
PORTNAME= libhoard
-PORTVERSION= 3.6
-PORTREVISION= 1
+PORTVERSION= 3.6.1
CATEGORIES= devel
MASTER_SITES= http://www.cs.umass.edu/~emery/hoard/hoard-${PORTVERSION}/
-DISTNAME= hoard-36
+DISTNAME= hoard-361
MAINTAINER= osa@FreeBSD.org
COMMENT= Fast, scalable and memory-efficient allocator for MP
ONLY_FOR_ARCHS= i386
USE_LDCONFIG= yes
-WRKSRC= ${WRKDIR}/${DISTNAME}/src
+WRKSRC= ${WRKDIR}/hoard-${PORTVERSION}/src
ALL_TARGET= freebsd
diff --git a/devel/libhoard/distinfo b/devel/libhoard/distinfo
index b62a084646ca..1c6b3e75d6ec 100644
--- a/devel/libhoard/distinfo
+++ b/devel/libhoard/distinfo
@@ -1,3 +1,3 @@
-MD5 (hoard-36.tar.gz) = fb6b59a173825601c0f443610ba21740
-SHA256 (hoard-36.tar.gz) = c125a7e9ac5c6c01548dbbf6d4e63f05905c4594af2ca304b67ce9cf3254e5c9
-SIZE (hoard-36.tar.gz) = 410960
+MD5 (hoard-361.tar.gz) = b0d4caf762282c29fbee99959b22d342
+SHA256 (hoard-361.tar.gz) = b485fccad5b5ee7b19ee79f10c2a0fdc6ad45ed78152b2a8594b950409c77e40
+SIZE (hoard-361.tar.gz) = 821285
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