[71392] trunk/dports/devel/orc
rmsfisher at macports.org
rmsfisher at macports.org
Sat Sep 11 14:33:09 PDT 2010
Revision: 71392
http://trac.macports.org/changeset/71392
Author: rmsfisher at macports.org
Date: 2010-09-11 14:33:05 -0700 (Sat, 11 Sep 2010)
Log Message:
-----------
devel/orc upgraded version from 0.4.7 to 0.4.9
Modified Paths:
--------------
trunk/dports/devel/orc/Portfile
trunk/dports/devel/orc/files/patch_config.h.in.diff
trunk/dports/devel/orc/files/patch_orc-test_orcarray.c.diff
Modified: trunk/dports/devel/orc/Portfile
===================================================================
--- trunk/dports/devel/orc/Portfile 2010-09-11 18:46:13 UTC (rev 71391)
+++ trunk/dports/devel/orc/Portfile 2010-09-11 21:33:05 UTC (rev 71392)
@@ -4,7 +4,7 @@
PortSystem 1.0
name orc
-version 0.4.7
+version 0.4.9
description Orc - The Oil Runtime Compiler
long_description Orc is a library and set of tools for compiling and executing very simple programs that operate on arrays of data.
maintainers rmsfisher openmaintainer
@@ -12,10 +12,11 @@
platforms darwin
homepage http://code.entropywave.com/projects/orc/
master_sites http://code.entropywave.com/download/orc/
-checksums md5 0228f053f0743efd69126cdd4ff92424 \
- sha1 b1078d4dde51cb413f637a9c8b2845f8cc3ffd9a \
- rmd160 360cdda369d8b146774e32c4d1d7a8879be0155c
+checksums md5 4006eb0ba85a69563952a65b5ea043a0 \
+ sha1 596f9afa21736fb3f58980ad21e2cde517a12140 \
+ rmd160 45e1e3fd12f81085ede98368e96352bb480f519e
+
patchfiles patch_configure.diff \
patch_orc-test_orcarray.c.diff \
patch_config.h.in.diff
Modified: trunk/dports/devel/orc/files/patch_config.h.in.diff
===================================================================
--- trunk/dports/devel/orc/files/patch_config.h.in.diff 2010-09-11 18:46:13 UTC (rev 71391)
+++ trunk/dports/devel/orc/files/patch_config.h.in.diff 2010-09-11 21:33:05 UTC (rev 71392)
@@ -1,22 +1,12 @@
---- config.h.in.orig 2010-08-25 09:12:24.000000000 -0400
-+++ config.h.in 2010-08-25 09:12:53.000000000 -0400
-@@ -69,6 +69,9 @@
- /* Defined if host OS is MS Windows */
- #undef HAVE_OS_WIN32
-
-+/* Define to 1 if you have the `posix_memalign' function. */
-+#undef HAVE_POSIX_MEMALIGN
-+
- /* Defined if host is powerpc */
- #undef HAVE_POWERPC
-
-@@ -111,6 +114,9 @@
+--- config.h.in.orig 2010-09-11 11:27:34.000000000 -0500
++++ config.h.in 2010-09-11 11:28:59.000000000 -0500
+@@ -114,6 +114,9 @@
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
+/* Define to 1 if you have the `valloc' function. */
+#undef HAVE_VALLOC
+
- /* Define to the sub-directory in which libtool stores uninstalled libraries.
- */
- #undef LT_OBJDIR
+ /* Define to 1 if you have the <valgrind/valgrind.h> header file. */
+ #undef HAVE_VALGRIND_VALGRIND_H
+
Modified: trunk/dports/devel/orc/files/patch_orc-test_orcarray.c.diff
===================================================================
--- trunk/dports/devel/orc/files/patch_orc-test_orcarray.c.diff 2010-09-11 18:46:13 UTC (rev 71391)
+++ trunk/dports/devel/orc/files/patch_orc-test_orcarray.c.diff 2010-09-11 21:33:05 UTC (rev 71392)
@@ -1,25 +1,12 @@
---- orc-test/orcarray.c.orig 2010-08-25 09:19:38.000000000 -0400
-+++ orc-test/orcarray.c 2010-08-25 09:20:08.000000000 -0400
-@@ -1,3 +1,6 @@
-+#ifdef HAVE_CONFIG_H
-+#include "config.h"
-+#endif
+--- orc-test/orcarray.c.orig 2010-09-11 11:32:29.000000000 -0500
++++ orc-test/orcarray.c 2010-09-11 11:33:05.000000000 -0500
+@@ -43,6 +43,9 @@
- #include <orc-test/orctest.h>
- #include <orc-test/orcarray.h>
-@@ -39,8 +42,15 @@
- ar->stride = (ar->stride + (ALIGNMENT-1)) & (~(ALIGNMENT-1));
- ar->alloc_len = ar->stride * (m+2*EXTEND_ROWS) + (ALIGNMENT * element_size);
-
-+#if defined (HAVE_POSIX_MEMALIGN)
+ #ifdef HAVE_POSIX_MEMALIGN
ret = posix_memalign (&data, ALIGNMENT, ar->alloc_len);
- ar->alloc_data = data;
+#elif defined (HAVE_VALLOC)
+ /* wasteful alignment to PAGESIZE instead of 64, but it should work */
+ ar->alloc_data = valloc (ar->alloc_len);
-+#else
-+ #error "No way to allocate aligned memory."
-+#endif
-
- ar->data = ORC_PTR_OFFSET (ar->alloc_data,
- ar->stride * EXTEND_ROWS + element_size * misalignment);
+ #else
+ data = malloc (ar->alloc_len);
+ #endif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100911/9b3e8c19/attachment.html>
More information about the macports-changes
mailing list