aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/dia/files/patch-plug-ins_python_pydia-geometry.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/dia/files/patch-plug-ins_python_pydia-geometry.c b/graphics/dia/files/patch-plug-ins_python_pydia-geometry.c
new file mode 100644
index 000000000000..be48c3cf7ac9
--- /dev/null
+++ b/graphics/dia/files/patch-plug-ins_python_pydia-geometry.c
@@ -0,0 +1,11 @@
+--- plug-ins/python/pydia-geometry.c.orig Sat Jul 19 00:22:20 2003
++++ plug-ins/python/pydia-geometry.c Sat Jul 19 00:22:34 2003
+@@ -211,7 +211,7 @@
+ {
+ #define I_OR_F(v) \
+ (self->is_int ? \
+- PyInt_FromLong(self->r.ri.##v) : PyFloat_FromDouble(self->r.rf.##v))
++ PyInt_FromLong(self->r.ri./**/v) : PyFloat_FromDouble(self->r.rf./**/v))
+
+ if (!strcmp(attr, "__members__"))
+ return Py_BuildValue("[ssss]", "top", "left", "right", "bottom" );