Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jul 2003 20:56:46 -0500
From:      Jeremy Messenger <mezz7@cox.net>
To:        freebsd-gnome@freebsd.org
Subject:   patch for graphics/dia fixes with GCC 3.3.1..
Message-ID:  <oprsjbow0r8ckrg5@smtp.central.cox.net>

next in thread | raw e-mail | index | archive | help
------------7KngHcaL9LVV6TVPnzJi7e
Content-Type: text/plain; charset=utf-8; format=flowed

Here's an attach of patch to fix the build, it works fine when I played 
with it.

Cheers,
Mezz


-- 
bsdforums.org 's moderator, mezz.
------------7KngHcaL9LVV6TVPnzJi7e
Content-Disposition: attachment;
	filename="dia.diff"
Content-Type: text/plain;
	name="dia.diff"

diff -urN dia.orig/Makefile dia/Makefile
--- dia.orig/Makefile	Sun Jun 15 18:34:23 2003
+++ dia/Makefile	Fri Jul 18 20:37:09 2003
@@ -7,7 +7,7 @@
 
 PORTNAME=	dia
 PORTVERSION=	0.91
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics gnome
 MASTER_SITES=	${MASTER_SITE_GNOME}
 MASTER_SITE_SUBDIR=	sources/${PORTNAME}/0.91
diff -urN dia.orig/files/patch-plug-ins::python::pydia-geometry.c dia/files/patch-plug-ins::python::pydia-geometry.c
--- dia.orig/files/patch-plug-ins::python::pydia-geometry.c	Wed Dec 31 18:00:00 1969
+++ dia/files/patch-plug-ins::python::pydia-geometry.c	Fri Jul 18 20:38:07 2003
@@ -0,0 +1,11 @@
+--- plug-ins/python/pydia-geometry.c.orig	Fri Jul 18 20:32:03 2003
++++ plug-ins/python/pydia-geometry.c	Fri Jul 18 20:33:56 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" );

------------7KngHcaL9LVV6TVPnzJi7e--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?oprsjbow0r8ckrg5>