Subject: pkg/34257: x11/paragui: Fix build on 64-bit architectures
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Shaun Amott <shaun@inerd.com>
List: pkgsrc-bugs
Date: 08/22/2006 14:00:01
>Number:         34257
>Category:       pkg
>Synopsis:       x11/paragui: Fix build on 64-bit architectures
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 22 14:00:00 +0000 2006
>Originator:     Shaun Amott
>Release:        NetBSD 3.0.1
>Organization:
>Environment:
System: NetBSD 3.0.1
Architecture: i386
Machine: i386
>Description:

- Add a patch that allows paragui to build on 64-bit machines.

>How-To-Repeat:

>Fix:

-----Begin paragui.diff-----
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/x11/paragui/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo	6 May 2005 20:58:08 -0000	1.4
+++ distinfo	22 Aug 2006 13:53:31 -0000
@@ -3,3 +3,4 @@
 SHA1 (paragui-1.0.4.tar.gz) = 3e412618b77499bf08a3eb478fec38f0a35ce86f
 RMD160 (paragui-1.0.4.tar.gz) = c6352dfe99344bf2dc604784ac8ef0a80dbcb5ad
 Size (paragui-1.0.4.tar.gz) = 1089511 bytes
+SHA1 (patch-aa) = 41b5e795ffac12d7d93cccb33e566baa6e6a460e
Index: patches/patch-aa
===================================================================
RCS file: patches/patch-aa
diff -N patches/patch-aa
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-aa	22 Aug 2006 13:53:31 -0000
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- include/pgtimerobject.h.orig	Sat Jan  4 21:13:38 2003
++++ include/pgtimerobject.h	Tue Aug 22 03:29:21 2006
+@@ -32,7 +32,7 @@
+ #include "paragui.h"
+ #include <map>
+ 
+-typedef Uint32 PG_TimerID;
++typedef ptrdiff_t PG_TimerID;
+ 
+ /**
+ 	@author Alexander Pipelka
-----End paragui.diff-----