pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/xjig Using fd_set instead of struct fd_set is mo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b5aade2fdaf6
branches:  trunk
changeset: 490644:b5aade2fdaf6
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Mar 16 21:01:58 2005 +0000

description:
Using fd_set instead of struct fd_set is more portable. Needed for Linux.
Might fix pr#29493. Approved by jlam.

diffstat:

 games/xjig/distinfo         |   3 ++-
 games/xjig/patches/patch-ab |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 06649b4c45b2 -r b5aade2fdaf6 games/xjig/distinfo
--- a/games/xjig/distinfo       Wed Mar 16 20:44:17 2005 +0000
+++ b/games/xjig/distinfo       Wed Mar 16 21:01:58 2005 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.6 2005/02/23 23:12:04 agc Exp $
+$NetBSD: distinfo,v 1.7 2005/03/16 21:01:58 rillig Exp $
 
 SHA1 (xjig-2.4.tgz) = 539ee5974d7228e69bb84de1424064f84cac7577
 RMD160 (xjig-2.4.tgz) = 8abe64ebd9045eb4c39db9cec7f2907212c26b1c
 Size (xjig-2.4.tgz) = 124272 bytes
 SHA1 (patch-aa) = d2999a3388c91c8d90cca3b62ae007d8202cb8ac
+SHA1 (patch-ab) = 6055c5acc964b1bb7b4ef98b6cf14289c8e6c7da
diff -r 06649b4c45b2 -r b5aade2fdaf6 games/xjig/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/xjig/patches/patch-ab       Wed Mar 16 21:01:58 2005 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1 2005/03/16 21:01:58 rillig Exp $
+
+No standard ever mentions "struct fd_set", so use the widely-known type
+fd_set instead. Needed for Linux.
+
+--- xjig.C.orig        Wed Jul 24 22:14:28 1996
++++ xjig.C     Wed Mar 16 21:55:16 2005
+@@ -668,7 +668,7 @@ Pixmap     pixmap;
+                       XSync(dpy,0);
+                       while (!XPending(dpy)) {
+                               struct timeval timeout;
+-                              struct fd_set readfds;
++                              fd_set readfds;
+                               int             nfds;
+       
+                               FD_ZERO( &readfds );



Home | Main Index | Thread Index | Old Index