[118590] trunk/dports/science/lalxml
ram at macports.org
ram at macports.org
Sat Apr 5 03:17:05 PDT 2014
Revision: 118590
https://trac.macports.org/changeset/118590
Author: ram at macports.org
Date: 2014-04-05 03:17:05 -0700 (Sat, 05 Apr 2014)
Log Message:
-----------
science/lalxml: support SWIG-3.0.0 #43186
Modified Paths:
--------------
trunk/dports/science/lalxml/Portfile
Added Paths:
-----------
trunk/dports/science/lalxml/files/0001-SWIG-make-wrappings-compatible-with-SWIG-v3.0.0.patch
Modified: trunk/dports/science/lalxml/Portfile
===================================================================
--- trunk/dports/science/lalxml/Portfile 2014-04-05 10:16:58 UTC (rev 118589)
+++ trunk/dports/science/lalxml/Portfile 2014-04-05 10:17:05 UTC (rev 118590)
@@ -6,7 +6,7 @@
name lalxml
version 1.1.10
-revision 2
+revision 3
categories science
platforms darwin
maintainers ram
@@ -23,6 +23,9 @@
checksums rmd160 24bb89445bdfd2198d506e2384ecaa553f1532ba \
sha256 b36f06bc97cab401edcf6da1186eb60cfa9c66335ef310652778f05d8327be3b
+patchfiles 0001-SWIG-make-wrappings-compatible-with-SWIG-v3.0.0.patch
+patch.pre_args -p2
+
depends_build-append port:pkgconfig
depends_lib port:python27 \
Added: trunk/dports/science/lalxml/files/0001-SWIG-make-wrappings-compatible-with-SWIG-v3.0.0.patch
===================================================================
--- trunk/dports/science/lalxml/files/0001-SWIG-make-wrappings-compatible-with-SWIG-v3.0.0.patch (rev 0)
+++ trunk/dports/science/lalxml/files/0001-SWIG-make-wrappings-compatible-with-SWIG-v3.0.0.patch 2014-04-05 10:17:05 UTC (rev 118590)
@@ -0,0 +1,41 @@
+From 20d0cb2d0c60c0feeb5f6ff5518b9d3b41574e2b Mon Sep 17 00:00:00 2001
+From: Karl Wette <karl.wette at ligo.org>
+Date: Sun, 30 Mar 2014 00:20:56 +0100
+Subject: [PATCH] SWIG: make wrappings compatible with SWIG v3.0.0
+
+- %typemaps_string_alloc() has an extra argument
+- structs containing pointer-to-const members now
+ need SWIGLAL(IMMUTABLE_MEMBERS(...))
+
+(cherry picked from commit 4558d05958962d8240e19651c72dc1699fa63807)
+---
+ lalxml/src/LALXML.h | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/lalxml/src/LALXML.h b/lalxml/src/LALXML.h
+index 1610c02..5c2f6e4 100644
+--- a/lalxml/src/LALXML.h
++++ b/lalxml/src/LALXML.h
+@@ -63,6 +63,9 @@ extern "C" {
+ * \author Oliver Bock\n
+ * Albert-Einstein-Institute Hannover, Germany
+ */
++#ifdef SWIG /* SWIG interface directives */
++SWIGLAL(IMMUTABLE_MEMBERS(tagXML_NAMESPACE, prefix, url));
++#endif /* SWIG */
+ typedef struct tagXML_NAMESPACE {
+ const xmlChar *prefix;
+ const xmlChar *url;
+@@ -78,6 +81,9 @@ typedef struct tagXML_NAMESPACE {
+ * \author Oliver Bock\n
+ * Albert-Einstein-Institute Hannover, Germany
+ */
++#ifdef SWIG /* SWIG interface directives */
++SWIGLAL(IMMUTABLE_MEMBERS(tagXML_NAMESPACE_VECTOR, items, count));
++#endif /* SWIG */
+ typedef struct tagXML_NAMESPACE_VECTOR {
+ const XML_NAMESPACE *items;
+ const int count;
+--
+1.9.1
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140405/716f18e2/attachment.html>
More information about the macports-changes
mailing list