diff options
author | joerg <joerg@pkgsrc.org> | 2005-12-09 14:10:39 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2005-12-09 14:10:39 +0000 |
commit | 58b0d1b5449a0e2d0e2dcc27933d4f933673065b (patch) | |
tree | 6f7ca8db721dfb0ec2a0e7faff593af38100e6f4 /editors/ex/patches | |
parent | a99eaa10dd11d390f615d6c8d5c315086af55d9b (diff) | |
download | pkgsrc-58b0d1b5449a0e2d0e2dcc27933d4f933673065b.tar.gz |
Adjust valloc return value on DragonFly to not conflict with unistd.h.
Diffstat (limited to 'editors/ex/patches')
-rw-r--r-- | editors/ex/patches/patch-ac | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/editors/ex/patches/patch-ac b/editors/ex/patches/patch-ac index b12df044afd..f3927c9b8f1 100644 --- a/editors/ex/patches/patch-ac +++ b/editors/ex/patches/patch-ac @@ -1,6 +1,6 @@ -$NetBSD: patch-ac,v 1.2 2005/11/08 21:39:12 rillig Exp $ +$NetBSD: patch-ac,v 1.3 2005/12/09 14:10:39 joerg Exp $ ---- mapmalloc.c.orig 2003-01-28 15:04:25.000000000 -0500 +--- mapmalloc.c.orig 2003-01-28 20:04:25.000000000 +0000 +++ mapmalloc.c @@ -54,6 +54,9 @@ #include <fcntl.h> @@ -12,3 +12,15 @@ $NetBSD: patch-ac,v 1.2 2005/11/08 21:39:12 rillig Exp $ #ifdef __GLIBC__ /* * Broken GNU libc will include stdlib.h with conflicting +@@ -551,7 +554,11 @@ size_t alignment, size; + } + + /*ARGSUSED*/ ++#if defined(__DragonFly__) ++void * ++#else + char * ++#endif + valloc(size) + size_t size; + { |