]> git.pld-linux.org Git - packages/Eterm.git/commitdiff
- fix compile with gcc4, patch from gentoo, not tested
authorsparky <sparky@pld-linux.org>
Thu, 30 Jun 2005 20:03:12 +0000 (20:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    Eterm-gcc4.patch -> 1.1

Eterm-gcc4.patch [new file with mode: 0644]

diff --git a/Eterm-gcc4.patch b/Eterm-gcc4.patch
new file mode 100644 (file)
index 0000000..4b72fd3
--- /dev/null
@@ -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");
This page took 0.042479 seconds and 4 git commands to generate.