ports/81797: fix gnomesword-build on amd64

Manuel Stuehn freebsdnewbie at freenet.de
Thu Jun 2 09:30:06 UTC 2005


>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 at 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:



More information about the freebsd-ports-bugs mailing list