diff options
author | mycroft <mycroft@pkgsrc.org> | 2003-09-30 09:36:27 +0000 |
---|---|---|
committer | mycroft <mycroft@pkgsrc.org> | 2003-09-30 09:36:27 +0000 |
commit | ac5f504f17398549cf40640a07f9d0b43bf8c357 (patch) | |
tree | 623c15bf2299cffa0de93317cb6e6f3704523891 | |
parent | b67552af4cfb405830cd2c2979d4dbd54fca5c8d (diff) | |
download | pkgsrc-ac5f504f17398549cf40640a07f9d0b43bf8c357.tar.gz |
Trivial fix for GCC3.
-rw-r--r-- | graphics/dia/distinfo | 3 | ||||
-rw-r--r-- | graphics/dia/patches/patch-bd | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/graphics/dia/distinfo b/graphics/dia/distinfo index b63bc23ec1d..7293ce8203b 100644 --- a/graphics/dia/distinfo +++ b/graphics/dia/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.8 2003/05/09 15:21:29 drochner Exp $ +$NetBSD: distinfo,v 1.9 2003/09/30 09:36:27 mycroft Exp $ SHA1 (dia-0.91.tar.gz) = 4514af1f5685e45480761c6f42e5ecdc2492cd2c Size (dia-0.91.tar.gz) = 3409320 bytes SHA1 (patch-bc) = 0b868e0b6c1d156eebfffce4c35a003db8e40613 +SHA1 (patch-bd) = c79dffdce3e7b65c1d10e11480f81b76f56a8066 diff --git a/graphics/dia/patches/patch-bd b/graphics/dia/patches/patch-bd new file mode 100644 index 00000000000..6724ab3043c --- /dev/null +++ b/graphics/dia/patches/patch-bd @@ -0,0 +1,13 @@ +$NetBSD: patch-bd,v 1.1 2003/09/30 09:36:27 mycroft Exp $ + +--- plug-ins/python/pydia-geometry.c.orig 2003-01-19 16:38:22.000000000 +0000 ++++ plug-ins/python/pydia-geometry.c 2003-09-30 09:30:54.000000000 +0000 +@@ -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" ); |