pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/dia Trivial fix for GCC3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ef791d2bedd5
branches:  trunk
changeset: 462313:ef791d2bedd5
user:      mycroft <mycroft%pkgsrc.org@localhost>
date:      Tue Sep 30 09:36:27 2003 +0000

description:
Trivial fix for GCC3.

diffstat:

 graphics/dia/distinfo         |   3 ++-
 graphics/dia/patches/patch-bd |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 28740b5d3424 -r ef791d2bedd5 graphics/dia/distinfo
--- a/graphics/dia/distinfo     Tue Sep 30 09:34:08 2003 +0000
+++ b/graphics/dia/distinfo     Tue Sep 30 09:36:27 2003 +0000
@@ -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 -r 28740b5d3424 -r ef791d2bedd5 graphics/dia/patches/patch-bd
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/dia/patches/patch-bd     Tue Sep 30 09:36:27 2003 +0000
@@ -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" );



Home | Main Index | Thread Index | Old Index