diff options
author | asau <asau@pkgsrc.org> | 2011-07-09 21:15:48 +0000 |
---|---|---|
committer | asau <asau@pkgsrc.org> | 2011-07-09 21:15:48 +0000 |
commit | fddf0f84f27b1d97d973c857a3d0a9c39fa7fb8f (patch) | |
tree | ca1726b4fdaec2687aafdd5c6867ce649dd3dd75 /lang | |
parent | 2bc7818ac880b30d30a516fa45786f9522e2b23b (diff) | |
download | pkgsrc-fddf0f84f27b1d97d973c857a3d0a9c39fa7fb8f.tar.gz |
Don't use obsolete "malloc.h", some systems choose to break it intentionally (e.g. DragonFly).
Diffstat (limited to 'lang')
-rw-r--r-- | lang/yap/distinfo | 4 | ||||
-rw-r--r-- | lang/yap/patches/patch-af | 31 |
2 files changed, 25 insertions, 10 deletions
diff --git a/lang/yap/distinfo b/lang/yap/distinfo index c1181995a47..779cc484c7b 100644 --- a/lang/yap/distinfo +++ b/lang/yap/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.11 2011/07/08 11:40:27 asau Exp $ +$NetBSD: distinfo,v 1.12 2011/07/09 21:15:48 asau Exp $ SHA1 (yap-6.2.1.tar.gz) = e6076a501aaee9e8a6a484a34308c32ca1193a95 RMD160 (yap-6.2.1.tar.gz) = 702a72a1e02e1a8e107f2b0888ae7c26132ae417 @@ -6,6 +6,6 @@ Size (yap-6.2.1.tar.gz) = 5309094 bytes SHA1 (patch-aa) = 113f443f57fac208632701fc7eddca18d98d240d SHA1 (patch-ad) = e3765c0d6729b4d531cdea59dc8e442055091d10 SHA1 (patch-ae) = cf4a79ccd0c34e42ca3d8a108619a9974288cde6 -SHA1 (patch-af) = 135f2f3e82242d7b17ade4a797a3077834719e77 +SHA1 (patch-af) = a042950ee63fac0f5863c3caa3f7c07227c46b4b SHA1 (patch-ah) = 572e29729d97d5e9942a3d2c22e121d4e756d648 SHA1 (patch-aj) = 61a53b4ef921270544edc79ddcb0f816824fd3ce diff --git a/lang/yap/patches/patch-af b/lang/yap/patches/patch-af index 29730baa251..f7c52237064 100644 --- a/lang/yap/patches/patch-af +++ b/lang/yap/patches/patch-af @@ -1,15 +1,30 @@ -$NetBSD: patch-af,v 1.2 2010/08/10 07:49:57 asau Exp $ +$NetBSD: patch-af,v 1.3 2011/07/09 21:15:48 asau Exp $ -Use canonical macro. +Don't use obsolete header file, contemporary operating systems +(e.g. of BSD family) choose to break it. ---- H/dlmalloc.h.orig 2010-08-04 21:36:28.000000000 +0400 -+++ H/dlmalloc.h 2010-08-10 11:04:45.000000000 +0400 -@@ -493,7 +493,7 @@ +--- H/dlmalloc.h.orig 2011-06-11 19:38:36.000000000 +0400 ++++ H/dlmalloc.h 2011-07-10 00:22:57.000000000 +0400 +@@ -493,14 +493,6 @@ HAVE_USR_INCLUDE_MALLOC_H. */ -#if HAVE_MALLOC_H && !defined(_WIN32) && !defined(__NetBSD_Version__) -+#if HAVE_MALLOC_H && !defined(_WIN32) && !defined(__NetBSD__) - #define HAVE_USR_INCLUDE_MALLOC_H 1 - #endif +-#define HAVE_USR_INCLUDE_MALLOC_H 1 +-#endif +- +-#ifdef HAVE_USR_INCLUDE_MALLOC_H +-#include <malloc.h> +-#else +- + /* SVID2/XPG mallinfo structure */ + struct mallinfo { +@@ -523,7 +515,6 @@ + so setting them has no effect. But this malloc also supports other + options in mallopt described below. + */ +-#endif + + + /* ---------- description of public routines ------------ */ |