Your message dated Sun, 22 Oct 2006 16:30:50 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Not really NMUed
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: amaya
Version: 9.51-1
Severity: serious
Tags: patch
When building 'amaya' on amd64/unstable,
I get the following error:
/usr/include/wx-2.6/wx/image.h: In member function
'wxImageHistogramBase_wxImplementation_HashTable::Node**
wxImageHistogramBase_wxImplementation_HashTable::GetNodePtr(const long unsigned
int&) const':
/usr/include/wx-2.6/wx/image.h:123: warning: dereferencing type-punned pointer
will break strict-aliasing rules
../../thotlib/dialogue/AmayaXMLPanel.cpp: In member function 'virtual void
AmayaXMLPanel::SendDataToPanel(AmayaParams&)':
../../thotlib/dialogue/AmayaXMLPanel.cpp:105: error: cast from 'void*' to 'int'
loses precision
make[2]: *** [dialogue/AmayaXMLPanel.o] Error 1
make[2]: Leaving directory `/amaya-9.51/Amaya/WX/thotlib'
With the attached patch 'amaya' can be compiled on amd64.
Regards
Andreas Jochens
diff -urN ../tmp-orig/amaya-9.51/Amaya/amaya/MENUconf.c ./Amaya/amaya/MENUconf.c
--- ../tmp-orig/amaya-9.51/Amaya/amaya/MENUconf.c 2006-04-11
09:10:17.000000000 +0000
+++ ./Amaya/amaya/MENUconf.c 2006-06-14 12:24:32.000000000 +0000
@@ -4645,14 +4645,14 @@
static void PreferenceCallbackDialog (int ref, int typedata, char *data)
{
#ifdef _WX
- int val;
+ long val;
if (ref == -1)
TtaDestroyDialogue (PreferenceBase);
else
{
/* has the user changed the options? */
- val = (int) data;
+ val = (long) data;
switch (ref - PreferenceBase)
{
case 0:
diff -urN ../tmp-orig/amaya-9.51/Amaya/thotlib/dialogue/AmayaXMLPanel.cpp
./Amaya/thotlib/dialogue/AmayaXMLPanel.cpp
--- ../tmp-orig/amaya-9.51/Amaya/thotlib/dialogue/AmayaXMLPanel.cpp
2006-01-10 14:18:28.000000000 +0000
+++ ./Amaya/thotlib/dialogue/AmayaXMLPanel.cpp 2006-06-14 12:19:21.000000000
+0000
@@ -102,7 +102,7 @@
int nb_el = (int)p.param1;
const char * listBuffer = (char *)p.param2;
const char * currentEl = (char *)p.param3;
- int ref = (int)p.param4;;
+ int ref = (long)p.param4;;
m_XMLRef = ref;
--- End Message ---
--- Begin Message ---
Hi,
This bug is tagged as "Fixed in NMU". Since the "NMU" was done by an
uploader on behalf of the maintainer, I consider this bug really closed.
Regards,
Regis
--- End Message ---