Bug#286872: gnopernicus: FTBFS (amd64/gcc-4.0): invalid lvalue in assignment

2005-12-03 Thread Christoph Berg
Re: Free Ekanayaka in <[EMAIL PROTECTED]>
> is there any news  about this bug? I'd really  like to see gnopernicus
> in testing..

Hi,

I have just uploaded an NMU to Delayed/7. Patch is below.

debdiff gnopernicus_0.9.19-2.dsc ./gnopernicus_0.9.19-2.1.dsc
 gnopernicus-0.9.19/debian/changelog |7 +++
 gnopi/cmdmapui.c|6 +++---
 2 files changed, 10 insertions(+), 3 deletions(-)

diff -u gnopernicus-0.9.19/debian/changelog gnopernicus-0.9.19/debian/changelog
--- gnopernicus-0.9.19/debian/changelog
+++ gnopernicus-0.9.19/debian/changelog
@@ -1,3 +1,10 @@
+gnopernicus (0.9.19-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * gnopi/cmdmapui.c: Fix FTBFS with gcc-4.0 (Closes: #286872).
+
+ -- Christoph Berg <[EMAIL PROTECTED]>  Sun,  4 Dec 2005 00:03:41 +0100
+
 gnopernicus (0.9.19-2) unstable; urgency=low
 
   * Upload to unstable.
only in patch2:
unchanged:
--- gnopernicus-0.9.19.orig/gnopi/cmdmapui.c
+++ gnopernicus-0.9.19/gnopi/cmdmapui.c
@@ -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;

Christoph
-- 
[EMAIL PROTECTED] | http://www.df7cb.de/


signature.asc
Description: Digital signature


Bug#286872: gnopernicus: FTBFS (amd64/gcc-4.0): invalid lvalue in assignment

2005-11-20 Thread Free Ekanayaka
Hi all,

is there any news  about this bug? I'd really  like to see gnopernicus
in testing..

Cheers,

Free




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#286872: gnopernicus: FTBFS (amd64/gcc-4.0): invalid lvalue in assignment

2005-10-30 Thread Rob Weir
On Wed, Dec 22, 2004 at 07:53:29PM +0100, Andreas Jochens said
> 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.

Hi Mario,

this bug has been sitting around for a while (and is apparently fixed in
the new upstream version); do you think you'll have time to upload the
fix soon?  Would you like someone to NMU it?

-rob
-- 
I don't understand...all I did was get up in the morning.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]