summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-05-14 18:08:28 +0000
committerMike Frysinger <vapier@gentoo.org>2005-05-14 18:08:28 +0000
commitb680d10de7965530a8b9973d3652f1ccbdc2db9c (patch)
treed32d22a342f577207f398d8e51e5678ceffee889 /x11-terms/eterm/files
parentadd --enable-extendedapdu #92614 by Alon Bar-Lev (diff)
downloadhistorical-b680d10de7965530a8b9973d3652f1ccbdc2db9c.tar.gz
historical-b680d10de7965530a8b9973d3652f1ccbdc2db9c.tar.bz2
historical-b680d10de7965530a8b9973d3652f1ccbdc2db9c.zip
Fix building with gcc-4 by Aaron Walker #92485.
Package-Manager: portage-2.0.51.21-r1
Diffstat (limited to 'x11-terms/eterm/files')
-rw-r--r--x11-terms/eterm/files/eterm-0.9.3-gcc4.patch17
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");