summaryrefslogtreecommitdiff
path: root/emulators/dynamips/files/patch-utils.c
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2006-03-08 16:55:26 +0000
committerMax Khon <fjoe@FreeBSD.org>2006-03-08 16:55:26 +0000
commitde95d18b5c4456b8757087933ee1dc81c1a6d484 (patch)
treefc12f5fc62196f7131f60e72057a221f0b55fda0 /emulators/dynamips/files/patch-utils.c
parent- This is now fetchable again and (diff)
- Update to 0.2.4
- Fix build on ia64 - Fix m_memalign for jemalloc - Set DYNAMIPS_ARCH on non-i386 properly Approved by: portmgr
Notes
Notes: svn path=/head/; revision=157043
Diffstat (limited to 'emulators/dynamips/files/patch-utils.c')
-rw-r--r--emulators/dynamips/files/patch-utils.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/dynamips/files/patch-utils.c b/emulators/dynamips/files/patch-utils.c
new file mode 100644
index 000000000000..970f89eb2e78
--- /dev/null
+++ b/emulators/dynamips/files/patch-utils.c
@@ -0,0 +1,11 @@
+--- utils.c.orig Wed Mar 8 22:53:21 2006
++++ utils.c Wed Mar 8 22:53:37 2006
+@@ -187,7 +187,7 @@
+ {
+ void *p;
+
+-#ifdef __linux__
++#if defined(__linux__) || HAS_POSIX_MEMALIGN
+ if (posix_memalign((void *)&p,boundary,size))
+ #else
+ #ifdef __CYGWIN__