diff options
author | minskim <minskim> | 2007-06-23 08:01:08 +0000 |
---|---|---|
committer | minskim <minskim> | 2007-06-23 08:01:08 +0000 |
commit | d558046bcd186681f9db41926179d5c91e984e55 (patch) | |
tree | ea62199805704d40d39c20d1e921a60465314a14 /graphics/xmorph | |
parent | ea085a5e58df21def2e58d2d1c6a01a571f441af (diff) | |
download | pkgsrc-d558046bcd186681f9db41926179d5c91e984e55.tar.gz |
Use stdlib.h instead of malloc.h, which is nonstandard.
Diffstat (limited to 'graphics/xmorph')
-rw-r--r-- | graphics/xmorph/distinfo | 3 | ||||
-rw-r--r-- | graphics/xmorph/patches/patch-ab | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/graphics/xmorph/distinfo b/graphics/xmorph/distinfo index 43f6b56c053..a33111d7f61 100644 --- a/graphics/xmorph/distinfo +++ b/graphics/xmorph/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.1.1.1 2006/10/30 21:51:49 agc Exp $ +$NetBSD: distinfo,v 1.2 2007/06/23 08:01:08 minskim Exp $ SHA1 (xmorph_20060817.tar.gz) = 7eeb4d59c937c155dc36d97c43a27da629bf0a1e RMD160 (xmorph_20060817.tar.gz) = 0ce2138ad0a590b4ecc404758c026d38f720557e Size (xmorph_20060817.tar.gz) = 1564280 bytes SHA1 (patch-aa) = 0ece4ac06bbc772471ef8847bfe8151e3299bd26 +SHA1 (patch-ab) = 75079fb481f3875d5c984b5b6a1d395ba139a588 diff --git a/graphics/xmorph/patches/patch-ab b/graphics/xmorph/patches/patch-ab new file mode 100644 index 00000000000..02ebac348e2 --- /dev/null +++ b/graphics/xmorph/patches/patch-ab @@ -0,0 +1,22 @@ +$NetBSD: patch-ab,v 1.1 2007/06/23 08:01:08 minskim Exp $ + +--- libmorph/my_malloc.c.orig 2005-10-07 03:07:39.000000000 -0700 ++++ libmorph/my_malloc.c +@@ -26,17 +26,6 @@ Boston, MA 02111-1307, USA. + #include <sys/types.h> + #include "braindead_msvc.h" + +-/* Apollo w/ Domain/OS SR10.4.1, BSD 4.3 has no "malloc.h". Thanks to PW. +-// +-// Windows NT/95 using the cygwin package already includes "malloc.h". +-// Thanks to Geoff Lawler. +-*/ +- +-#if defined(apollo) || defined(__CYGWIN32__) +-#else +-#include <malloc.h> +-#endif +- + + #include "my_malloc.h" + |