Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jun 2005 09:25:49 GMT
From:      Manuel Stuehn <freebsdnewbie@freenet.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/81797: fix gnomesword-build on amd64
Message-ID:  <200506020925.j529PnpA003340@www.freebsd.org>
Resent-Message-ID: <200506020930.j529U6dX063670@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         81797
>Category:       ports
>Synopsis:       fix gnomesword-build on amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 02 09:30:05 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Manuel Stuehn
>Release:        FreeBSD 5-STABLE amd64
>Organization:
>Environment:
FreeBSD amd64.BSDNet 5.4-STABLE FreeBSD 5.4-STABLE #0: Wed Jun  1 14:51:55 CEST 2005     manuel@amd64.BSDNet:/usr/obj/usr/src/sys/SCHED_ULE  amd64
>Description:
Fix the build of gnomesword on amd64, which stopped as a result of conversion errors (unsigned int to gsize).
>How-To-Repeat:
      
>Fix:
Put the following patch into /usr/ports/misc/gnomesword/files

#cat patch-src::backend::sword_main.diff
--- 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;
>Release-Note:
>Audit-Trail:
>Unformatted:



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