summaryrefslogtreecommitdiff
path: root/devel/swig20
diff options
context:
space:
mode:
authorLev A. Serebryakov <lev@FreeBSD.org>2005-07-29 11:11:52 +0000
committerLev A. Serebryakov <lev@FreeBSD.org>2005-07-29 11:11:52 +0000
commit781a6f3440b03be467e02d3d36581894e216c8a1 (patch)
treed4489996412e87da6a5bb4898f6f498f8b18b788 /devel/swig20
parent- Update to 0.1.0.12 (diff)
Fix compilation of prograsm, which uses `runtime.swg', with gcc 2.95
Submitted: maintainer Approved: maintainer
Notes
Notes: svn path=/head/; revision=140389
Diffstat (limited to 'devel/swig20')
-rw-r--r--devel/swig20/Makefile1
-rw-r--r--devel/swig20/files/patch-Lib::runtime.swg18
2 files changed, 19 insertions, 0 deletions
diff --git a/devel/swig20/Makefile b/devel/swig20/Makefile
index c0dd31cfb356..7c2aab603790 100644
--- a/devel/swig20/Makefile
+++ b/devel/swig20/Makefile
@@ -7,6 +7,7 @@
PORTNAME= swig
PORTVERSION= 1.3.25
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/devel/swig20/files/patch-Lib::runtime.swg b/devel/swig20/files/patch-Lib::runtime.swg
new file mode 100644
index 000000000000..b54bfefe905d
--- /dev/null
+++ b/devel/swig20/files/patch-Lib::runtime.swg
@@ -0,0 +1,18 @@
+--- Lib/runtime.swg.orig Fri Jul 29 14:23:14 2005
++++ Lib/runtime.swg Fri Jul 29 14:23:58 2005
+@@ -25,13 +25,13 @@
+
+ SWIGRUNTIMEINLINE swig_type_info *
+ SWIG_TypeQuery(const char *name) {
+- swig_module_info *module = SWIG_GetModule();
++ swig_module_info *module = SWIG_GetModule(clientdata);
+ return SWIG_TypeQueryModule(module, module, name);
+ }
+
+ SWIGRUNTIMEINLINE swig_type_info *
+ SWIG_MangledTypeQuery(const char *name) {
+- swig_module_info *module = SWIG_GetModule();
++ swig_module_info *module = SWIG_GetModule(clientdata);
+ return SWIG_MangledTypeQueryModule(module, module, name);
+ }
+