summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/swig13/Makefile1
-rw-r--r--devel/swig13/files/patch-Lib::runtime.swg18
-rw-r--r--devel/swig20/Makefile1
-rw-r--r--devel/swig20/files/patch-Lib::runtime.swg18
4 files changed, 38 insertions, 0 deletions
diff --git a/devel/swig13/Makefile b/devel/swig13/Makefile
index c0dd31cfb356..7c2aab603790 100644
--- a/devel/swig13/Makefile
+++ b/devel/swig13/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/swig13/files/patch-Lib::runtime.swg b/devel/swig13/files/patch-Lib::runtime.swg
new file mode 100644
index 000000000000..b54bfefe905d
--- /dev/null
+++ b/devel/swig13/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);
+ }
+
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);
+ }
+