Your message dated Thu, 17 Mar 2011 22:35:17 +0000
with message-id <e1q0lmn-00075g...@franck.debian.org>
and subject line Bug#617783: fixed in supertuxkart 0.7+dfsg1-2
has caused the Debian Bug report #617783,
regarding src:supertuxkart: fails to build with enet 1.3.1
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
617783: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=617783
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: supertuxkart
Version: 0.7+dfsg1-1
Severity: important

supertuxkart fails to build with enet 1.3.1-1 from experimental:

x86_64-linux-gnu-g++ -DPACKAGE_NAME=\"supertuxkart\" 
-DPACKAGE_TARNAME=\"supertuxkart\" -DPACKAGE_VERSION=\"0.7\" 
-DPACKAGE_STRING=\"supertuxkart\ 0.7\" -DPACKAGE_BUGREPORT=\"\" 
-DPACKAGE_URL=\"\" -DPACKAGE=\"supertuxkart\" -DVERSION=\"0.7\" 
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_AL_AL_H=1 -DHAVE_OGGVORBIS=1 
-DBT_NO_PROFILE=/\*\*/ -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -I.  
-DSUPERTUXKART_DATADIR="\"/usr/share/games/supertuxkart/\"" -I./bullet/src/ 
-I/usr/local/include -I /usr/include/irrlicht -I/usr/local/include  -g -O2 
-Wall -Wall -DNDEBUG -O2 -MT network_manager.o -MD -MP -MF 
.deps/network_manager.Tpo -c -o network_manager.o `test -f 
'network/network_manager.cpp' || echo './'`network/network_manager.cpp
network/network_manager.cpp: In member function 'bool 
NetworkManager::initServer()':
network/network_manager.cpp:86:76: error: too few arguments to function 
'ENetHost* enet_host_create(const ENetAddress*, size_t, size_t, enet_uint32, 
enet_uint32)'
/usr/include/enet/enet.h:498:21: note: declared here
network/network_manager.cpp: In member function 'bool 
NetworkManager::initClient()':
network/network_manager.cpp:111:76: error: too few arguments to function 
'ENetHost* enet_host_create(const ENetAddress*, size_t, size_t, enet_uint32, 
enet_uint32)'
/usr/include/enet/enet.h:498:21: note: declared here
network/network_manager.cpp:128:50: error: too few arguments to function 
'ENetPeer* enet_host_connect(ENetHost*, const ENetAddress*, size_t, 
enet_uint32)'
/usr/include/enet/enet.h:500:21: note: declared here
make[3]: *** [network_manager.o] Error 1

The attached patch allows to build supertuxkart with enet 1.3.1, but I did not
do any further testing.

Regards,
Ansgar
diff -u supertuxkart-0.7+dfsg1/debian/control supertuxkart-0.7+dfsg1/debian/control
--- supertuxkart-0.7+dfsg1/debian/control
+++ supertuxkart-0.7+dfsg1/debian/control
@@ -17,7 +17,7 @@
  libmikmod2-dev,
  libvorbis-dev,
  automake,
- libenet-dev
+ libenet-dev (>= 1.3.1)
 Standards-Version: 3.8.4
 Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/supertuxkart/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/supertuxkart/?op=log
--- supertuxkart-0.7+dfsg1.orig/src/network/network_manager.cpp
+++ supertuxkart-0.7+dfsg1/src/network/network_manager.cpp
@@ -82,6 +82,7 @@
 
      m_host = enet_host_create (& address     /* the address to bind the server host to */, 
                                 stk_config->m_max_karts /* number of connections */,
+				0             /* channel limit */,
                                 0             /* incoming bandwidth */,
                                 0             /* outgoing bandwidth */     );
     if (m_host == NULL)
@@ -107,6 +108,7 @@
 {
     m_host = enet_host_create (NULL /* create a client host */,
                                1    /* only allow 1 outgoing connection */,
+			       0    /* channel limit */,
                                0    /* downstream bandwidth unlimited   */,
                                0    /*  upstream bandwidth unlimited    */ );
     
@@ -125,7 +127,7 @@
     address.port = UserConfigParams::m_server_port;
 
     /* Initiate the connection, allocating the two channels 0 and 1. */
-    peer = enet_host_connect (m_host, &address, 2);    
+    peer = enet_host_connect (m_host, &address, 2, 0);
     
     if (peer == NULL)
     {

--- End Message ---
--- Begin Message ---
Source: supertuxkart
Source-Version: 0.7+dfsg1-2

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

supertuxkart-data_0.7+dfsg1-2_all.deb
  to main/s/supertuxkart/supertuxkart-data_0.7+dfsg1-2_all.deb
supertuxkart_0.7+dfsg1-2.debian.tar.gz
  to main/s/supertuxkart/supertuxkart_0.7+dfsg1-2.debian.tar.gz
supertuxkart_0.7+dfsg1-2.dsc
  to main/s/supertuxkart/supertuxkart_0.7+dfsg1-2.dsc
supertuxkart_0.7+dfsg1-2_amd64.deb
  to main/s/supertuxkart/supertuxkart_0.7+dfsg1-2_amd64.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 617...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christoph Egger <christ...@debian.org> (supplier of updated supertuxkart 
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 ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 17 Mar 2011 21:08:17 +0100
Source: supertuxkart
Binary: supertuxkart supertuxkart-data
Architecture: source amd64 all
Version: 0.7+dfsg1-2
Distribution: unstable
Urgency: low
Maintainer: Debian Games Team <pkg-games-de...@lists.alioth.debian.org>
Changed-By: Christoph Egger <christ...@debian.org>
Description: 
 supertuxkart - kart racing game
 supertuxkart-data - data for the supertuxkart kart racing game
Closes: 617783
Changes: 
 supertuxkart (0.7+dfsg1-2) unstable; urgency=low
 .
   * drop 3DGraphics from desktop file (LP: #532065)
   * Apply patch by Ansgar Burchardt to build against enet 1.3 (Closes:
     #617783)
Checksums-Sha1: 
 e633dabe4ad0b2d77e085f047f66a41df8546d83 2237 supertuxkart_0.7+dfsg1-2.dsc
 b640b8d3e4cade57442c84c5ddb68057eafba660 33472 
supertuxkart_0.7+dfsg1-2.debian.tar.gz
 c9c30a7912ffeee83a0a7ee981ad2d9aaf524296 970542 
supertuxkart_0.7+dfsg1-2_amd64.deb
 d94c69819a64e071edba412f8a6c5e75bd6ba707 108249204 
supertuxkart-data_0.7+dfsg1-2_all.deb
Checksums-Sha256: 
 3402f73503cc5557a66adfd97b7d89ba5c1510e86af2be40f9d974be821e7792 2237 
supertuxkart_0.7+dfsg1-2.dsc
 59f632f153ec45d19e37f3cbf65096b351c1dc3535a569f59d227e1df6b2237c 33472 
supertuxkart_0.7+dfsg1-2.debian.tar.gz
 173c403a9dcb972d7f6706e6f131fc2a41f9de2ba1d82b7b9ceaf8c8f1e94602 970542 
supertuxkart_0.7+dfsg1-2_amd64.deb
 0a816efcb7d5791875903486a67515b03e6eb6eca7f395f9dcc0656c740a8431 108249204 
supertuxkart-data_0.7+dfsg1-2_all.deb
Files: 
 869532fb95e66eaddff85d346f510e78 2237 games optional 
supertuxkart_0.7+dfsg1-2.dsc
 bc97b8fdb3dce55e29cf5bfae3ee1d67 33472 games optional 
supertuxkart_0.7+dfsg1-2.debian.tar.gz
 79b80dc117ac7e58c950130e4641c9cd 970542 games optional 
supertuxkart_0.7+dfsg1-2_amd64.deb
 fc9e9da5cc2c91c1b4ef9ddab45ed181 108249204 games optional 
supertuxkart-data_0.7+dfsg1-2_all.deb

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

iQIcBAEBCgAGBQJNgnasAAoJEKv/7bJACMb5jNIP/RSovtOg+i4BKiB6WzZtROV7
9N75WO5GqMydkcX7Q8lBu0KHldDmTLKIA66egjnUhMFFoYjXUIJCg8AqXmhBMO/D
Dqon3RfQlWRpxo2A0e6asWtGfMHIvKT9GolowxDeWwQhxXg9zEYJ/FO4jgidpN12
YfXd6IT+nWujFNfLwpLYvzJ8n7ez5vw/0vnl3Xud3Kqd8Eo7nh+NNL7xPIdysNNW
tG5Zp7bB80t0gt5hpXgac8ckRqZ3gshXXsZOyN+LKK1dqZTF8H5IcE9RNxQOG8nI
fR0jbx3qwuTyL0/r6vUFFgqYAf8mezosv7pXCFhVf06QU4rOmHOImntFsUY6jj9W
Iuzoqm9MkEOTNg6Z1UemRk7TGnINkuBIfdSz4BjhXCE74QCaDdM5ERTqeihui8MW
My8b31gF+JUi12dkOd5Leox34U+aCSI+c4M2wzOxVazrTs79ccC4PM4W0mByDOxi
bxryUQIqcjXo3g14u1xgl42oSCTVH2b1t8rBYyfqmcFQ7L8PDRrzf/j4Qz9h4ZPv
9v3whPYn6zQBA0ha+p8m+oERiZJ/dx1jrsF1ZFUE0DQr6pRBsybZgIc6vJPCy7XK
hDsJVUVykKOmxJpLjeAp+RzPi9k6horPrGL0XQ2Drk7yQ96/uykcECya/YOHEu30
RcFdYtXSIQJ80AkL4i+9
=z1uB
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to