From owner-freebsd-gnome@FreeBSD.ORG Fri Jul 18 18:56:55 2003 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7012937B401 for ; Fri, 18 Jul 2003 18:56:55 -0700 (PDT) Received: from lakemtao07.cox.net (lakemtao07.cox.net [68.1.17.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 946F643F85 for ; Fri, 18 Jul 2003 18:56:54 -0700 (PDT) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.11]) by lakemtao07.cox.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20030719015652.FKSS26675.lakemtao07.cox.net@mezz.mezzweb.com> for ; Fri, 18 Jul 2003 21:56:52 -0400 Date: Fri, 18 Jul 2003 20:56:46 -0500 To: freebsd-gnome@freebsd.org From: Jeremy Messenger Content-Type: multipart/mixed; boundary="----------7KngHcaL9LVV6TVPnzJi7e" MIME-Version: 1.0 Message-ID: User-Agent: Opera7.11/Linux M2 build 406 Subject: patch for graphics/dia fixes with GCC 3.3.1.. X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jul 2003 01:56:55 -0000 ------------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--