aboutsummaryrefslogtreecommitdiff
path: root/graphics/dia
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-07-19 04:40:13 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-07-19 04:40:13 +0000
commit74c0a9561d68c40e40ff0b58b4403863beef86f2 (patch)
tree63ae506d8f476d1082af9b53b757dc769c3b2c02 /graphics/dia
parente3b29ff95b9948af58787da4589e39192efb762f (diff)
downloadports-74c0a9561d68c40e40ff0b58b4403863beef86f2.tar.gz
ports-74c0a9561d68c40e40ff0b58b4403863beef86f2.zip
Notes
Diffstat (limited to 'graphics/dia')
-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" );