diff options
author | wiz <wiz@pkgsrc.org> | 2006-08-08 10:49:01 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2006-08-08 10:49:01 +0000 |
commit | d0887fc8b7033a6ccf7fd658d85b13789bd18bea (patch) | |
tree | 269c931aa5d126c84e2811a52b0d34fae5ed9350 /x11/eterm | |
parent | 8363b10eb72cff9f407135651c950b5a1adae028 (diff) | |
download | pkgsrc-d0887fc8b7033a6ccf7fd658d85b13789bd18bea.tar.gz |
Fix build with gcc4. From Adam Hamsik via pkgsrc-users.
Diffstat (limited to 'x11/eterm')
-rw-r--r-- | x11/eterm/distinfo | 3 | ||||
-rw-r--r-- | x11/eterm/patches/patch-ac | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/x11/eterm/distinfo b/x11/eterm/distinfo index aef70ed23b0..e34fb217f23 100644 --- a/x11/eterm/distinfo +++ b/x11/eterm/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.13 2005/12/05 20:51:15 rillig Exp $ +$NetBSD: distinfo,v 1.14 2006/08/08 10:49:01 wiz Exp $ SHA1 (Eterm-0.9.3.tar.gz) = df12cb09676ca265d65b8b5ac61f1ec88d58c692 RMD160 (Eterm-0.9.3.tar.gz) = 4e9f57807f1658cf8bea90219e296f4184f31452 @@ -14,6 +14,7 @@ RMD160 (Eterm-bg-tile.tar.gz) = 43761cc527730a0305fd857fad1316b8fd04eefe Size (Eterm-bg-tile.tar.gz) = 1568166 bytes SHA1 (patch-aa) = e47c20515232098f660a166af4d4c52a2f044d73 SHA1 (patch-ab) = ad802e27730e4d6451d4d64de09750811afcf7b7 +SHA1 (patch-ac) = 83dc10c1e026836e5487f77456a877fe723d5f5c SHA1 (patch-ad) = f70a92e4eb84466e379653cbd3a9188db6d408c8 SHA1 (patch-ah) = 694d1348c05a392c193a6efa688c116c434c6e9e SHA1 (patch-ai) = a8499316ec96198ca2deceaf1838d68f36ba100d diff --git a/x11/eterm/patches/patch-ac b/x11/eterm/patches/patch-ac new file mode 100644 index 00000000000..e66af352572 --- /dev/null +++ b/x11/eterm/patches/patch-ac @@ -0,0 +1,16 @@ +$NetBSD: patch-ac,v 1.4 2006/08/08 10:49:01 wiz Exp $ + +--- src/command.c.orig 2004-06-25 21:10:33.000000000 +0000 ++++ src/command.c +@@ -3002,9 +3002,9 @@ init_command(char **argv) + Xfd = XConnectionNumber(Xdisplay); + D_CMD(("Xfd = %d\n", Xfd)); + cmdbuf_ptr = cmdbuf_endp = cmdbuf_base; +- AT_LEAST((int) num_fds, Xfd + 1); ++ AT_LEAST(num_fds, Xfd + 1); + if (pipe_fd >= 0) { +- AT_LEAST((int) num_fds, pipe_fd + 1); ++ AT_LEAST(num_fds, pipe_fd + 1); + } + if ((cmd_fd = command_func(argv)) < 0) { + print_error("Unable to run sub-command.\n"); |