From 24cd4166d5f5869950fc367dbf1e360d53248e6f Mon Sep 17 00:00:00 2001 From: minskim Date: Sat, 23 Jun 2007 08:01:08 +0000 Subject: Use stdlib.h instead of malloc.h, which is nonstandard. --- graphics/xmorph/distinfo | 3 ++- graphics/xmorph/patches/patch-ab | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 graphics/xmorph/patches/patch-ab 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 + #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 +-#endif +- + + #include "my_malloc.h" + -- cgit v1.2.3