summaryrefslogtreecommitdiff
path: root/x11/xmindpath/patches
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2012-05-23 07:19:23 +0000
committerdholland <dholland@pkgsrc.org>2012-05-23 07:19:23 +0000
commit5e1a31c51e0109e562fb4c78633333f43f67506e (patch)
tree624f8cb763eeddee1e6c2d7a16a04d95f9d0bb8e /x11/xmindpath/patches
parentcef30286e823186125f9f7bc43cb921460f1c629 (diff)
downloadpkgsrc-5e1a31c51e0109e562fb4c78633333f43f67506e.tar.gz
fd_set is a typedef, not a struct tag. Should fix Linux build.
Diffstat (limited to 'x11/xmindpath/patches')
-rw-r--r--x11/xmindpath/patches/patch-ab19
1 files changed, 16 insertions, 3 deletions
diff --git a/x11/xmindpath/patches/patch-ab b/x11/xmindpath/patches/patch-ab
index 79d4da81a06..2a0a9abf4ed 100644
--- a/x11/xmindpath/patches/patch-ab
+++ b/x11/xmindpath/patches/patch-ab
@@ -1,7 +1,11 @@
-$NetBSD: patch-ab,v 1.3 2007/10/01 11:02:45 rillig Exp $
+$NetBSD: patch-ab,v 1.4 2012/05/23 07:19:23 dholland Exp $
---- main.c.orig 1998-10-01 01:58:17.000000000 +0200
-+++ main.c 2007-10-01 12:55:46.375715000 +0200
+- use standard headers
+- fix solaris build
+- fd_set isn't a struct
+
+--- main.c.orig 1998-09-30 23:58:17.000000000 +0000
++++ main.c
@@ -33,16 +33,20 @@
*/
@@ -56,3 +60,12 @@ $NetBSD: patch-ab,v 1.3 2007/10/01 11:02:45 rillig Exp $
raw.c_cflag &= ~(CSIZE|PARENB|CSTOPB|MDMBUF);
raw.c_cflag |= CS8|CREAD|CLOCAL;
tcsetattr(fd, TCSANOW, &raw);
+@@ -183,7 +204,7 @@ mainloop(fd)
+ int fd;
+ {
+ struct timeval tv;
+- struct fd_set rfd;
++ fd_set rfd;
+ u_char buf[BUFSIZ];
+ int nfd;
+ int len;