Your message dated Wed, 28 Jun 2006 12:03:36 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#297906: fixed in whowatch 1.6.0-6
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: whowatch
Severity: normal
Tags: patch
When building 'whowatch' on amd64 with gcc-4.0,
I get the following error:
gcc -g -O2 -Wall -I. -ggdb -c -o process.o process.c
process.c: In function 'synchronize':
process.c:78: error: invalid lvalue in assignment
make[2]: *** [process.o] Error 1
make[2]: Leaving directory `/whowatch-1.6.0/src'
With the attached patch 'whowatch' can be compiled
on amd64 using gcc-4.0.
Regards
Andreas Jochens
diff -urN ../tmp-orig/whowatch-1.6.0/src/process.c ./src/process.c
--- ../tmp-orig/whowatch-1.6.0/src/process.c 2005-03-03 15:58:43.561876676
+0100
+++ ./src/process.c 2005-03-03 15:58:23.855680335 +0100
@@ -75,7 +75,7 @@
memset(z, 0, sizeof *z);
check_line(l);
z->line = l++;
- (struct process *) p->priv = z;
+ p->priv = z;
z->proc = p;
if (*current){
z->next = *current;
diff -urN ../tmp-orig/whowatch-1.6.0/src/subwin.c ./src/subwin.c
--- ../tmp-orig/whowatch-1.6.0/src/subwin.c 2005-03-03 15:58:43.562876483
+0100
+++ ./src/subwin.c 2005-03-03 15:58:37.076128545 +0100
@@ -201,7 +201,7 @@
static void *p = 0;
static int pid;
if(current == &users_list)
- (char *)p = cursor_user()->name;
+ p = cursor_user()->name;
else {
pid = cursor_pid();
p = &pid;
--- End Message ---
--- Begin Message ---
Source: whowatch
Source-Version: 1.6.0-6
The NMU was acknowledged in 1.6.0-6:
whowatch (1.6.0-6) unstable; urgency=low
* Acknowledging NMU, thanks Matej.
* debian/rules: Various compile fixes. (Closes: #297906)
* debian/rules: DH_COMPAT=4
* debian/control: Bumped Standards version to 3.7.2 (no changes).
-- KELEMEN Peter <[EMAIL PROTECTED]> Thu, 15 Jun 2006 01:42:36 +0200
Cheers,
Matej
--- End Message ---