summaryrefslogtreecommitdiff
path: root/games/xjig
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-03-16 21:01:58 +0000
committerrillig <rillig@pkgsrc.org>2005-03-16 21:01:58 +0000
commit2b1b828c7668990cbebde610b0b9d369719b9a87 (patch)
treea024c4861d86fa33f55f862770128090d196158f /games/xjig
parent9f019aad4c0570eb620ba29e77c301e5d08b3082 (diff)
downloadpkgsrc-2b1b828c7668990cbebde610b0b9d369719b9a87.tar.gz
Using fd_set instead of struct fd_set is more portable. Needed for Linux.
Might fix pr#29493. Approved by jlam.
Diffstat (limited to 'games/xjig')
-rw-r--r--games/xjig/distinfo3
-rw-r--r--games/xjig/patches/patch-ab16
2 files changed, 18 insertions, 1 deletions
diff --git a/games/xjig/distinfo b/games/xjig/distinfo
index 5a79140d966..1d1b36647d9 100644
--- a/games/xjig/distinfo
+++ b/games/xjig/distinfo
@@ -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 --git a/games/xjig/patches/patch-ab b/games/xjig/patches/patch-ab
new file mode 100644
index 00000000000..5cad688b057
--- /dev/null
+++ b/games/xjig/patches/patch-ab
@@ -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 );