make gnomesword build on amd64

Manuel Stuehn freebsdnewbie at freenet.de
Wed Jun 1 16:57:49 GMT 2005


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
-------------- next part --------------
--- 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;
 	


More information about the freebsd-ports mailing list