Your message dated Wed, 05 Oct 2005 17:47:06 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#295052: fixed in exult 1.2-5
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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 13 Feb 2005 10:34:48 +0000
>From [EMAIL PROTECTED] Sun Feb 13 02:34:48 2005
Return-path: <[EMAIL PROTECTED]>
Received: from d027102.adsl.hansenet.de (localhost.localdomain) [80.171.27.102] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1D0H5T-000465-00; Sun, 13 Feb 2005 02:34:47 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
        id 1D0H5R-0006NJ-HF; Sun, 13 Feb 2005 11:34:45 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: exult: FTBFS (amd64/gcc-4.0): 'std::hash_map' has not been declared
Message-Id: <[EMAIL PROTECTED]>
Date: Sun, 13 Feb 2005 11:34:45 +0100
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: exult
Severity: normal
Tags: patch

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

 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../headers -I./.. -I./../files 
-I./../imagewin -I/usr/include/SDL -D_REENTRANT -I/usr/include/freetype2 -DXWIN 
-O2 -Wno-long-long -g -O2 -Wp,-MD,.deps/bodies.pp -c bodies.cc -o bodies.o
../hash_utils.h:32: error: 'std::hash_map' has not been declared
../hash_utils.h:50: error: 'std::hash_set' has not been declared
../game.h:60: error: ISO C++ forbids declaration of 'hash_map' with no type
../game.h:60: error: expected ';' before '<' token
../game.h:61: error: ISO C++ forbids declaration of 'hash_map' with no type
../game.h:61: error: expected ';' before '<' token
bodies.cc: In static member function 'static int Body_lookup::find(int, int&, 
int&)':
bodies.cc:424: error: expected initializer before '<' token
bodies.cc:429: error: 'htable' was not declared in this scope
bodies.cc:432: error: expected type-specifier before 'hash_set'
bodies.cc:432: error: expected `;' before 'hash_set'
bodies.cc:456: error: 'hash_set' was not declared in this scope
bodies.cc:456: error: expected primary-expression before 'short'
bodies.cc:456: error: expected `;' before 'short'
bodies.cc:461: error: 'it' was not declared in this scope
bodies.cc:461: error: 'htable' was not declared in this scope
make[3]: *** [bodies.lo] Error 1
make[3]: Leaving directory `/exult-1.2/shapes'

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/exult-1.2/hash_utils.h ./hash_utils.h
--- ../tmp-orig/exult-1.2/hash_utils.h  2003-08-31 19:32:24.000000000 +0200
+++ ./hash_utils.h      2005-02-13 10:41:56.000000000 +0100
@@ -26,7 +26,7 @@
 #else
 #if HAVE_EXT_HASH_MAP
 #  include <ext/hash_map>
-#  if (defined(__GNUC__) && (__GNUC__ == 3) && ( __GNUC_MINOR__ > 0))
+#  if (defined(__GNUC__) && (((__GNUC__ == 3) && ( __GNUC_MINOR__ > 0)) || 
__GNUC__ >= 4))
 using __gnu_cxx::hash_map;
 #  else
 using std::hash_map;
@@ -44,7 +44,7 @@
 #else
 #if HAVE_EXT_HASH_SET
 #  include <ext/hash_set>
-#  if (defined(__GNUC__) && (__GNUC__ == 3) && ( __GNUC_MINOR__ > 0))
+#  if (defined(__GNUC__) && (((__GNUC__ == 3) && ( __GNUC_MINOR__ > 0)) || 
__GNUC__ >= 4))
 using __gnu_cxx::hash_set;
 #  else
 using std::hash_set;
diff -urN ../tmp-orig/exult-1.2/mapedit/npcedit.cc ./mapedit/npcedit.cc
--- ../tmp-orig/exult-1.2/mapedit/npcedit.cc    2004-04-26 06:59:14.000000000 
+0200
+++ ./mapedit/npcedit.cc        2005-02-13 11:02:25.423507594 +0100
@@ -234,7 +234,7 @@
        GtkLabel *label = GTK_LABEL(glade_xml_get_widget(app_xml, lname));
        g_free(lname);
                                        // User data = schedule #.
-       sched.type = (int) gtk_object_get_user_data(GTK_OBJECT(label));
+       sched.type = (long) gtk_object_get_user_data(GTK_OBJECT(label));
        if (sched.type < 0 || sched.type > 31)
                return false;
                                        // Get location.
@@ -600,7 +600,7 @@
        int shape = get_num_entry("npc_shape");
        int frame = get_num_entry("npc_frame");
        GtkWidget *fw = glade_xml_get_widget(app_xml, "npc_face_frame");
-       int face = (int) gtk_object_get_user_data(GTK_OBJECT(fw));
+       long face = (long) gtk_object_get_user_data(GTK_OBJECT(fw));
        int usecode = get_num_entry("npc_usecode_entry");
        short attack_mode = get_optmenu("npc_attack_mode");
        short alignment = get_optmenu("npc_alignment");
@@ -723,7 +723,7 @@
                return;
        npc_face_draw->configure();
        GtkWidget *frame = glade_xml_get_widget(app_xml, "npc_face_frame");
-       int shnum = (int) gtk_object_get_user_data(GTK_OBJECT(frame));
+       long shnum = (long) gtk_object_get_user_data(GTK_OBJECT(frame));
        npc_face_draw->draw_shape_centered(shnum, 0);
        if (w != -1)
                npc_face_draw->show(x, y, w, h);
diff -urN ../tmp-orig/exult-1.2/mapedit/studio.cc ./mapedit/studio.cc
--- ../tmp-orig/exult-1.2/mapedit/studio.cc     2004-04-26 06:32:13.000000000 
+0200
+++ ./mapedit/studio.cc 2005-02-13 11:03:59.533339828 +0100
@@ -2009,7 +2009,7 @@
        gpointer data
        )
        {
-       guint32 color = (guint32) gtk_object_get_user_data(GTK_OBJECT(widget));
+       guint32 color = (long) gtk_object_get_user_data(GTK_OBJECT(widget));
        GdkGC *gc = (GdkGC *) 
                        gtk_object_get_data(GTK_OBJECT(widget), "color_gc");
        if (!gc)
@@ -2071,7 +2071,7 @@
        config->set("config/estudio/default_game", default_game, true);
        GtkWidget *backgrnd = glade_xml_get_widget(app_xml, 
                                                        "prefs_background");
-       background_color = (guint32) gtk_object_get_user_data(
+       background_color = (long) gtk_object_get_user_data(
                                                GTK_OBJECT(backgrnd));
        config->set("config/estudio/background_color", background_color, true);
                                        // Set background color.
diff -urN ../tmp-orig/exult-1.2/usecode/useval.cc ./usecode/useval.cc
--- ../tmp-orig/exult-1.2/usecode/useval.cc     2004-05-23 07:07:11.000000000 
+0200
+++ ./usecode/useval.cc 2005-02-13 10:53:32.000000000 +0100
@@ -464,7 +464,7 @@
                if (buflen < 5)
                        return -1;
                *ptr++ = type;
-               Write4(ptr, (int)value.ptr);
+               Write4(ptr, (long)value.ptr);
                break;
        case string_type:
                {

---------------------------------------
Received: (at 295052-close) by bugs.debian.org; 6 Oct 2005 00:48:42 +0000
>From [EMAIL PROTECTED] Wed Oct 05 17:48:42 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1ENJuc-0004QL-00; Wed, 05 Oct 2005 17:47:06 -0700
From: Michael Banck <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#295052: fixed in exult 1.2-5
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Wed, 05 Oct 2005 17:47:06 -0700
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: exult
Source-Version: 1.2-5

We believe that the bug you reported is fixed in the latest version of
exult, which is due to be installed in the Debian FTP archive:

exult-studio_1.2-5_i386.deb
  to pool/contrib/e/exult/exult-studio_1.2-5_i386.deb
exult_1.2-5.diff.gz
  to pool/contrib/e/exult/exult_1.2-5.diff.gz
exult_1.2-5.dsc
  to pool/contrib/e/exult/exult_1.2-5.dsc
exult_1.2-5_i386.deb
  to pool/contrib/e/exult/exult_1.2-5_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Banck <[EMAIL PROTECTED]> (supplier of updated exult package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu,  6 Oct 2005 01:42:41 +0200
Source: exult
Binary: exult exult-studio
Architecture: source i386
Version: 1.2-5
Distribution: unstable
Urgency: low
Maintainer: Michael Banck <[EMAIL PROTECTED]>
Changed-By: Michael Banck <[EMAIL PROTECTED]>
Description: 
 exult      - An engine for Ultima VII (BG, FOV, SI, SS)
 exult-studio - Tools for editing and viewing exult games
Closes: 295052 319580 320873 322140 330388 331819
Changes: 
 exult (1.2-5) unstable; urgency=low
 .
   * Package transformed to dpatch:
     + debian/patches/01_estudio_dir.patch: New file.
     + debian/patches/02_gimp_plugin_dir.patch: New file.
     + debian/rules (/usr/share/dpatch/dpatch.make): New include.
     + (configure): Depend on patch rule.
     + (clean): Depend on unpatch rule.
     + (build): Depend on configure instead of configure-stamp.
     + debian/control (Build-Depends): Added dpatch.
   * debian/patches/03_gcc4_build_fix.patch: New patch by Andreas Jochens.
     Fixes build failure on gcc4. (Closes: #295052)
   * debian/control (Build-Depends): Modify libsdl1.2-dev build
     dependency to the aalib and smpeg transitioned version. (Closes: #320873,
     Closes: #322140)  Switch from libpng2-dev to libpng12-dev.
   * debian/po/cs.po: New file, by Martin Sin. (Closes: #319580).
   * debian/exult.files: Updated.
   * debian/control (exult): Add alternative Depends on debconf-2.0.
     (Closes: #331819)
   * debian/po/sv.po: New file, by Daniel Nylander. (Closes: #330388).
Files: 
 57cfd112256f4aa2aebb945e30da6bad 777 contrib/games extra exult_1.2-5.dsc
 89ebfe9b47db2a160194353835837a50 41949 contrib/games extra exult_1.2-5.diff.gz
 f67b855b7dae9afcff41b344576f9f56 983206 contrib/games extra 
exult_1.2-5_i386.deb
 a629dadbd3452fe1822b0de1237cc0c3 585578 contrib/games extra 
exult-studio_1.2-5_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFDRHIPmHaJYZ7RAb8RAp0pAKDIpUa3VtE9hooJ5aC0211NfDvhngCgwMC3
4mXMv46wzhSKmyIbPDjXokE=
=rx4q
-----END PGP SIGNATURE-----


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

Reply via email to