pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/swig Use stdlib.h instead of malloc.h in generat...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dade3684d4ed
branches:  trunk
changeset: 524227:dade3684d4ed
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sun Jan 21 16:39:57 2007 +0000

description:
Use stdlib.h instead of malloc.h in generated codes.  Noted by
Martijn van Buul in PR 35453, and also by Mark E. Perkins on
pkgsrc-users@.

Bump PKGREVISION.

diffstat:

 devel/swig/Makefile         |   3 ++-
 devel/swig/distinfo         |   3 ++-
 devel/swig/patches/patch-ac |  15 +++++++++++++++
 3 files changed, 19 insertions(+), 2 deletions(-)

diffs (44 lines):

diff -r 09fc460bfabf -r dade3684d4ed devel/swig/Makefile
--- a/devel/swig/Makefile       Sun Jan 21 12:55:19 2007 +0000
+++ b/devel/swig/Makefile       Sun Jan 21 16:39:57 2007 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.21 2006/12/02 10:15:46 wulf Exp $
+# $NetBSD: Makefile,v 1.22 2007/01/21 16:39:57 minskim Exp $
 
 DISTNAME=      swig-1.3.31
+PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=swig/}
 
diff -r 09fc460bfabf -r dade3684d4ed devel/swig/distinfo
--- a/devel/swig/distinfo       Sun Jan 21 12:55:19 2007 +0000
+++ b/devel/swig/distinfo       Sun Jan 21 16:39:57 2007 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.8 2006/12/03 23:55:14 obache Exp $
+$NetBSD: distinfo,v 1.9 2007/01/21 16:39:57 minskim Exp $
 
 SHA1 (swig-1.3.31.tar.gz) = 3369543fa178bdeaa597dba806be04b9c8d0f12c
 RMD160 (swig-1.3.31.tar.gz) = 7f2c8edec5875bd21138bb00070f214d14ed1894
 Size (swig-1.3.31.tar.gz) = 4177499 bytes
 SHA1 (patch-aa) = 27c6fdcb0394fa6b5f307cc8b46ff4516a2d2fd9
 SHA1 (patch-ab) = c690480ad10256c7198fc19699557e0b3f46b087
+SHA1 (patch-ac) = 0f96e9107f238ad24945c18532b87ac105e3d49e
diff -r 09fc460bfabf -r dade3684d4ed devel/swig/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/swig/patches/patch-ac       Sun Jan 21 16:39:57 2007 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1 2007/01/21 16:39:57 minskim Exp $
+
+SourceForge tracker #1640862
+
+--- Lib/lua/luarun.swg.orig    2006-10-23 23:26:48.000000000 -0700
++++ Lib/lua/luarun.swg
+@@ -15,7 +15,7 @@ extern "C" {
+ 
+ #include "lua.h"
+ #include "lauxlib.h"
+-#include <malloc.h>
++#include <stdlib.h>
+ #include <assert.h>   /* for a few sanity tests */
+ 
+ /* -----------------------------------------------------------------------------



Home | Main Index | Thread Index | Old Index