[25603] trunk/dports/devel/hoard

source_changes at macosforge.org source_changes at macosforge.org
Fri May 25 16:07:09 PDT 2007


Revision: 25603
          http://trac.macosforge.org/projects/macports/changeset/25603
Author:   stechert at macports.org
Date:     2007-05-25 16:07:09 -0700 (Fri, 25 May 2007)

Log Message:
-----------
upgrade hoard to version 3.6.1

Modified Paths:
--------------
    trunk/dports/devel/hoard/Portfile

Added Paths:
-----------
    trunk/dports/devel/hoard/files/
    trunk/dports/devel/hoard/files/patch-malloc.h

Modified: trunk/dports/devel/hoard/Portfile
===================================================================
--- trunk/dports/devel/hoard/Portfile	2007-05-25 22:54:27 UTC (rev 25602)
+++ trunk/dports/devel/hoard/Portfile	2007-05-25 23:07:09 UTC (rev 25603)
@@ -3,7 +3,7 @@
 PortSystem 1.0
 
 name			hoard
-version			3.6
+version			3.6.1
 categories		devel
 platforms		darwin
 maintainers		stechert at macports.org
@@ -12,11 +12,12 @@
 long_description	${description}
 homepage		http://www.hoard.org/
 distfiles		${name}-[strsed ${version} {g/[.]//}]${extract.suffix}
-master_sites		http://www.cs.umass.edu/~emery/hoard/hoard-3.6/
-checksums		md5 fb6b59a173825601c0f443610ba21740 \
-			sha1 8a0880f6ee5a38f44138de875e239141bd342dd4 \
-			rmd160 b1e52042df1927bbe8a5add948c85c6d23a6cd7e
-worksrcdir		${name}-[strsed ${version} {g/[.]//}]
+master_sites		http://www.cs.umass.edu/~emery/hoard/hoard-${version}/
+patchfiles		patch-malloc.h
+patch.pre_args		-p1
+checksums		md5 b0d4caf762282c29fbee99959b22d342 \
+			sha1 02660aca53559d17a2ea848f9125fd6478f3ce44 \
+			rmd160 b21c11b095505fb9e739f7297117ae4f36bd3dbf
 use_configure		no
 build {
 			cd ${worksrcpath}/src

Added: trunk/dports/devel/hoard/files/patch-malloc.h
===================================================================
--- trunk/dports/devel/hoard/files/patch-malloc.h	                        (rev 0)
+++ trunk/dports/devel/hoard/files/patch-malloc.h	2007-05-25 23:07:09 UTC (rev 25603)
@@ -0,0 +1,31 @@
+diff -ruN hoard-3.6.1.orig/src/heaplayers/wrapper.cpp hoard-3.6.1/src/heaplayers/wrapper.cpp
+--- hoard-3.6.1.orig/src/heaplayers/wrapper.cpp	2007-05-21 18:47:06.000000000 -0700
++++ hoard-3.6.1/src/heaplayers/wrapper.cpp	2007-05-25 16:03:55.000000000 -0700
+@@ -31,7 +31,12 @@
+  */
+ 
+ #include <string.h> // for memcpy
++
++#if defined(_WIN32) || defined(linux)
+ #include <malloc.h> // for memalign
++#elif defined(__APPLE__)
++#include <malloc/malloc.h>
++#endif
+ 
+ #ifdef _WIN32
+ #define WIN32_LEAN_AND_MEAN
+diff -ruN hoard-3.6.1.orig/src/hoarddetours.cpp hoard-3.6.1/src/hoarddetours.cpp
+--- hoard-3.6.1.orig/src/hoarddetours.cpp	2007-05-21 18:47:06.000000000 -0700
++++ hoard-3.6.1/src/hoarddetours.cpp	2007-05-25 16:04:13.000000000 -0700
+@@ -29,7 +29,11 @@
+ 
+ #include <windows.h>
+ #include <stdio.h>
++#if defined(_WIN32) || defined(linux)
+ #include <malloc.h>
++#elif defined(__APPLE__)
++#include <malloc/malloc.h>
++#endif
+ #include "detours.h"
+ 
+ #if defined(_WIN32)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070525/8125b0de/attachment.html


More information about the macports-changes mailing list