Your message dated Sun, 23 Apr 2006 12:53:39 +0200
with message-id <[EMAIL PROTECTED]>
and subject line overlooked
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: gnopernicus
Severity: normal
Tags: patch

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

cmdmapui.c: In function 'cmdui_get_text_from_code':
cmdmapui.c:343: error: invalid lvalue in assignment
cmdmapui.c: In function 'cmdui_get_code_from_text':
cmdmapui.c:393: error: invalid lvalue in assignment
cmdmapui.c: In function 'cmdui_get_key':
cmdmapui.c:796: error: invalid lvalue in assignment
cmdmapui.c: In function 'cmdui_selection_changed':
cmdmapui.c:1312: warning: cast from pointer to integer of different size
make[4]: *** [cmdmapui.o] Error 1
make[4]: Leaving directory `/gnopernicus-0.8.4/gnopi'

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/gnopernicus-0.8.4/gnopi/cmdmapui.c ./gnopi/cmdmapui.c
--- ../tmp-orig/gnopernicus-0.8.4/gnopi/cmdmapui.c      2004-02-23 
16:25:37.000000000 +0100
+++ ./gnopi/cmdmapui.c  2004-12-22 18:13:55.526153584 +0100
@@ -340,7 +340,7 @@
                                str[POS_DIGIT_3]);
 
     delimit = g_strrstr (str, KEY_NAME_SEPARATOR);
-    (const gchar*)tmp = str;
+    tmp = str;
     if (delimit)
        tmp = delimit + 1;
 
@@ -390,7 +390,7 @@
     }
     
     delimit = g_strrstr (str, KEY_SEPARATOR);
-    (const gchar*)tmp = str;
+    tmp = str;
     
     if (delimit)
        tmp = delimit + 1;
@@ -793,7 +793,7 @@
     
     line = alt || shift || ctrl ;
     
-    (const gchar*)key = cmdui_get_key_keystring (gtk_entry_get_text (GTK_ENTRY 
(GTK_COMBO (cb_key_list)->entry)));
+    key = cmdui_get_key_keystring (gtk_entry_get_text (GTK_ENTRY (GTK_COMBO 
(cb_key_list)->entry)));
     
     if (!key || strlen (key) == 0)
        return rv;


--- End Message ---
--- Begin Message ---
as tagged, this is already fixed-upstream since quite a while.
acknowledging the NMU, thanks for helping out.

-- 
CYa,
  Mario

--- End Message ---

Reply via email to