diff options
author | 2005-05-14 18:08:28 +0000 | |
---|---|---|
committer | 2005-05-14 18:08:28 +0000 | |
commit | bee5eecc5ff562882429cb00c1d31ae70a946620 (patch) | |
tree | bdd98503c88aa02fa0bc16fdfb616c189917ea85 /x11-terms/eterm/files | |
parent | add --enable-extendedapdu #92614 by Alon Bar-Lev (diff) | |
download | gentoo-2-bee5eecc5ff562882429cb00c1d31ae70a946620.tar.gz gentoo-2-bee5eecc5ff562882429cb00c1d31ae70a946620.tar.bz2 gentoo-2-bee5eecc5ff562882429cb00c1d31ae70a946620.zip |
Fix building with gcc-4 by Aaron Walker #92485.
(Portage version: 2.0.51.21-r1)
Diffstat (limited to 'x11-terms/eterm/files')
-rw-r--r-- | x11-terms/eterm/files/eterm-0.9.3-gcc4.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/x11-terms/eterm/files/eterm-0.9.3-gcc4.patch b/x11-terms/eterm/files/eterm-0.9.3-gcc4.patch new file mode 100644 index 000000000000..4b72fd38eb78 --- /dev/null +++ b/x11-terms/eterm/files/eterm-0.9.3-gcc4.patch @@ -0,0 +1,17 @@ +Fix building with GCC4. Patch by Aaron Walker. +http://bugs.gentoo.org/92485 + +--- Eterm-0.9.3/src/command.c ++++ Eterm-0.9.3/src/command.c +@@ -3002,9 +3002,9 @@ + 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"); |