summaryrefslogtreecommitdiff
path: root/geography/qgis/patches/patch-python_core_sipcorepart3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'geography/qgis/patches/patch-python_core_sipcorepart3.cpp')
-rw-r--r--geography/qgis/patches/patch-python_core_sipcorepart3.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/geography/qgis/patches/patch-python_core_sipcorepart3.cpp b/geography/qgis/patches/patch-python_core_sipcorepart3.cpp
new file mode 100644
index 00000000000..9205f6b7608
--- /dev/null
+++ b/geography/qgis/patches/patch-python_core_sipcorepart3.cpp
@@ -0,0 +1,15 @@
+$NetBSD: patch-python_core_sipcorepart3.cpp,v 1.1 2012/01/23 08:58:00 adam Exp $
+
+Fix C++ errors.
+
+--- python/core/sipcorepart3.cpp.orig 2012-01-23 06:46:18.000000000 +0000
++++ python/core/sipcorepart3.cpp
+@@ -2968,7 +2968,7 @@ static PyObject *meth_QgsMapLayer_writeX
+ {
+ QDomNode * a0;
+ QDomDocument * a1;
+- const QgsMapLayer *sipCpp;
++ QgsMapLayer *sipCpp;
+
+ if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9", &sipSelf, sipType_QgsMapLayer, &sipCpp, sipType_QDomNode, &a0, sipType_QDomDocument, &a1))
+ {