Your message dated Tue, 14 Feb 2006 22:44:09 -0500
with message-id <[EMAIL PROTECTED]>
and subject line eterm: FTBFS (amd64/gcc-4.0): invalid lvalue in assignment
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: eterm
Severity: normal
Tags: patch

When building 'eterm' on amd64 with gcc-4.0,
I get the following error:

command.c: In function 'init_command':
command.c:2998: error: invalid lvalue in assignment
command.c:3000: error: invalid lvalue in assignment
command.c: In function 'tt_winsize':
command.c:3021: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
command.c: In function 'main_loop':
command.c:3464: warning: pointer targets in passing argument 1 of 
'safe_print_string' differ in signedness
make[3]: *** [command.lo] Error 1
make[3]: Leaving directory `/eterm-0.9.2/src'

With the attached patch 'eterm' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/eterm-0.9.2/debian/compat ./debian/compat
--- ../tmp-orig/eterm-0.9.2/debian/compat       1970-01-01 01:00:00.000000000 
+0100
+++ ./debian/compat     2005-03-03 16:23:26.139711800 +0100
@@ -0,0 +1 @@
+4
diff -urN ../tmp-orig/eterm-0.9.2/src/command.c ./src/command.c
--- ../tmp-orig/eterm-0.9.2/src/command.c       2005-03-03 16:33:39.368347359 
+0100
+++ ./src/command.c     2005-03-03 16:33:02.459471453 +0100
@@ -2995,9 +2995,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");


--- End Message ---
--- Begin Message ---
tags 297917 = wontfilx
thanks

The patch is obsolete. Post one against the newer code if necessary.

--- End Message ---

Reply via email to