From owner-freebsd-ports@FreeBSD.ORG Wed Jun 1 16:57:49 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7ECDD16A41C for ; Wed, 1 Jun 2005 16:57:49 +0000 (GMT) (envelope-from freebsdnewbie@freenet.de) Received: from mout2.freenet.de (mout2.freenet.de [194.97.50.155]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2847B43D54 for ; Wed, 1 Jun 2005 16:57:48 +0000 (GMT) (envelope-from freebsdnewbie@freenet.de) Received: from [194.97.55.191] (helo=mx7.freenet.de) by mout2.freenet.de with esmtpa (Exim 4.51) id 1DdWXL-0006I7-Ij for freebsd-ports@freebsd.org; Wed, 01 Jun 2005 18:57:47 +0200 Received: from p54af1805.dip0.t-ipconnect.de ([84.175.24.5] helo=amd64.bsdnet.) by mx7.freenet.de with esmtpa (ID freebsdnewbie@freenet.de) (Exim 4.51 #1) id 1DdWXL-0008TN-AU; Wed, 01 Jun 2005 18:57:47 +0200 Date: Wed, 1 Jun 2005 18:57:35 +0200 From: Manuel Stuehn To: freebsd-ports@freebsd.org Message-Id: <20050601185735.2e72b961.freebsdnewbie@freenet.de> X-Mailer: Sylpheed version 1.9.12 (GTK+ 2.6.7; amd64-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Wed__1_Jun_2005_18_57_35_+0200_vzbe7Aag+pFKKjx+" Subject: make gnomesword build on amd64 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jun 2005 16:57:49 -0000 This is a multi-part message in MIME format. --Multipart=_Wed__1_Jun_2005_18_57_35_+0200_vzbe7Aag+pFKKjx+ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi. I've a patch which makes /usr/ports/misc/gnomesword build on FreeBSD/amd64. Perhaps someone could commit it after a further testing. On my amd64 it compiles and runs fine. With regards Manuel --Multipart=_Wed__1_Jun_2005_18_57_35_+0200_vzbe7Aag+pFKKjx+ Content-Type: text/plain; name="patch-src::backend::sword_main.diff" Content-Disposition: attachment; filename="patch-src::backend::sword_main.diff" Content-Transfer-Encoding: 7bit --- src/backend/sword_main.cc Thu Jul 1 17:45:30 2004 +++ sword_main.cc Wed Jun 1 18:36:53 2005 @@ -190,8 +190,8 @@ VerseKey key; GList *retlist = NULL; char *book = NULL; - unsigned int bytes_read; - unsigned int bytes_written; + gsize bytes_read; + gsize bytes_written; GError *error; int i = 0, j = 0, x = 2; --Multipart=_Wed__1_Jun_2005_18_57_35_+0200_vzbe7Aag+pFKKjx+--