diff options
author | marcus <marcus@FreeBSD.org> | 2003-07-19 04:40:13 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-07-19 04:40:13 +0000 |
commit | dc3bba6ed394eaa00fb2849f21366c0bacf5ff47 (patch) | |
tree | a1a50c7891edf7d29f91dc1d77464920a671b053 | |
parent | 967b521b4e67266d9371a1886672b77c4f3a739c (diff) | |
download | FreeBSD-ports-dc3bba6ed394eaa00fb2849f21366c0bacf5ff47.zip FreeBSD-ports-dc3bba6ed394eaa00fb2849f21366c0bacf5ff47.tar.gz |
Fix build with GCC 3.3.1.
Submitted by: Jeremy Messenger <mezz7@cox.net> (based on)
-rw-r--r-- | graphics/dia/files/patch-plug-ins_python_pydia-geometry.c | 11 |
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 0000000..be48c3c --- /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" ); |