summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2007-01-21 16:39:57 +0000
committerminskim <minskim@pkgsrc.org>2007-01-21 16:39:57 +0000
commit20ed94f8100b5a042bf9e4b0162bf53f97c97f4a (patch)
tree41e5d614b11c8fe12d1d82125298a884d2fd5676 /devel
parentd39ff5472ef4635ccf0f9404cfc13a8e433e70e7 (diff)
downloadpkgsrc-20ed94f8100b5a042bf9e4b0162bf53f97c97f4a.tar.gz
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 (limited to 'devel')
-rw-r--r--devel/swig/Makefile3
-rw-r--r--devel/swig/distinfo3
-rw-r--r--devel/swig/patches/patch-ac15
3 files changed, 19 insertions, 2 deletions
diff --git a/devel/swig/Makefile b/devel/swig/Makefile
index fc45bef09f7..dfb12502b99 100644
--- a/devel/swig/Makefile
+++ b/devel/swig/Makefile
@@ -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 --git a/devel/swig/distinfo b/devel/swig/distinfo
index b1624c7d888..d21277e025c 100644
--- a/devel/swig/distinfo
+++ b/devel/swig/distinfo
@@ -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 --git a/devel/swig/patches/patch-ac b/devel/swig/patches/patch-ac
new file mode 100644
index 00000000000..cb7e3e9c92e
--- /dev/null
+++ b/devel/swig/patches/patch-ac
@@ -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 */
+
+ /* -----------------------------------------------------------------------------