Your message dated Mon, 07 Jul 2014 04:34:28 +0000
with message-id <[email protected]>
and subject line Bug#751225: fixed in megaglest 3.7.1-4
has caused the Debian Bug report #751225,
regarding FTBFS with libminiupnpc newer version
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 [email protected]
immediately.)


-- 
751225: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751225
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: megaglest
Version: 3.7.1-3.1
Severity: important
Tags: patch

Dear package maintainer,

Please apply attached patch, so that megaglest can build against the
version of MiniUPnP client currently in experimental. Please upload
it ASAP so that we can do the transition.

Note that I have tested the patch, and megaglest built fine with it.
However, I didn't check/test for the UPnP functionality.

Cheers,

Thomas Goirand (zigo)
Description: Allow build with newer libminiupnpc10
 The API changed, this fixes the calls.
Author: Thomas Goirand <[email protected]>
Forwarded: no
Last-Update: 2014-06-11

--- megaglest-3.7.1.orig/source/shared_lib/sources/platform/posix/socket.cpp
+++ megaglest-3.7.1/source/shared_lib/sources/platform/posix/socket.cpp
@@ -2478,13 +2478,21 @@ int UPNP_Tools::upnp_init(void *param) {
 				if(SystemFlags::VERBOSE_MODE_ENABLED) printf("UPnP device found: %s %s\n", dev->descURL, dev->st);
 
 				//printf("UPnP device found: [%s] [%s] lanaddr [%s]\n", dev->descURL, dev->st,lanaddr);
+#if defined(MINIUPNPC_API_VERSION) && MINIUPNPC_API_VERSION > 8
+				descXML = (char *)miniwget_getaddr(dev->descURL, &descXMLsize, lanaddr, (sizeof(lanaddr) / sizeof(lanaddr[0])), 0);
+#else
 				descXML = (char *)miniwget_getaddr(dev->descURL, &descXMLsize, lanaddr, (sizeof(lanaddr) / sizeof(lanaddr[0])));
+#endif
 				if(SystemFlags::getSystemSettingType(SystemFlags::debugNetwork).enabled) SystemFlags::OutputDebug(SystemFlags::debugNetwork,"LAN address: %s\n", lanaddr);
 
 				if (descXML) {
 					parserootdesc (descXML, descXMLsize, &data);
 					free (descXML); descXML = 0;
+#if defined(MINIUPNPC_API_VERSION) && MINIUPNPC_API_VERSION > 8
+					GetUPNPUrls (&urls, &data, dev->descURL, 0);
+#else
 					GetUPNPUrls (&urls, &data, dev->descURL);
+#endif
 				}
 				snprintf(buf, 255,"UPnP device found: %s %s LAN address %s", dev->descURL, dev->st, lanaddr);
 

--- End Message ---
--- Begin Message ---
Source: megaglest
Source-Version: 3.7.1-4

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

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.
Paul Wise <[email protected]> (supplier of updated megaglest 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: SHA512

Format: 1.8
Date: Mon, 07 Jul 2014 11:35:01 +0800
Source: megaglest
Binary: megaglest megaglest-dbg
Architecture: source amd64
Version: 3.7.1-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <[email protected]>
Changed-By: Paul Wise <[email protected]>
Description:
 megaglest  - 3D multi-player real time strategy game
 megaglest-dbg - debug files for MegaGlest
Closes: 751225
Changes:
 megaglest (3.7.1-4) unstable; urgency=medium
 .
   * Team upload.
   * Allow building with newer miniupnpc (Closes: #751225)
Checksums-Sha1:
 bf07c4aa69c7a34adf387e72783fe620b5854900 2545 megaglest_3.7.1-4.dsc
 dd48923ebec69701d3b245dc76cb8bc284b8512e 10256 megaglest_3.7.1-4.debian.tar.xz
 419613caf2b7af1a7ed4b74fa8996b97b43d80e4 2733602 megaglest_3.7.1-4_amd64.deb
 dd6c8733189ea8c076ffd747eb12618e2fffc383 33277132 
megaglest-dbg_3.7.1-4_amd64.deb
Checksums-Sha256:
 6ef86cbf9de12b1f515b8cdb0e9479b00e4315236ec33a9b810fa1accbb6720d 2545 
megaglest_3.7.1-4.dsc
 6404e87c7d7a435e16d4889751666d4c5ecb1572afa8d4311e0ac767445b9201 10256 
megaglest_3.7.1-4.debian.tar.xz
 d21def581eabc28ea56a0a1e4fdac03a7c198085ad762dc784a1f50a38124bc3 2733602 
megaglest_3.7.1-4_amd64.deb
 17bf706f94cb0377099ac4ee6c829779d549694ea46dd98403775b67bb10f82f 33277132 
megaglest-dbg_3.7.1-4_amd64.deb
Files:
 58fe926c01f7c75cd5b9a71e9158e173 2733602 games extra 
megaglest_3.7.1-4_amd64.deb
 4ef977dc1e3489a49203247b475adbcc 33277132 debug extra 
megaglest-dbg_3.7.1-4_amd64.deb
 7e03998b584149e1ca355e45032c506f 2545 games extra megaglest_3.7.1-4.dsc
 69440eb03a2502f289fd0fd263ab7a90 10256 games extra 
megaglest_3.7.1-4.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJTuh3FAAoJEDEWul6f+mmjbhcP/2X25ehJeQKby4O7/tBpkK6h
8JuGcY9chw7m7j4Plrl+4vO299SuiwMuTl2+hNlIiw06GtMclhv3TnlyVOMmHYeH
z9elRnecPZ8Tra9ywbOG7tz2ohn9rIklNAu9wKZvXRMoEMGoitTGXHoTm22DQ7Qf
VTYTrid982AqhLKzJgANMuVcE2s4Z4Oy7KNeJ1o8yhCohG4pNZ9rZUmHJAY0BZL7
ltrtDdb4hkPJ4Vmo/m7pPC/UmZOigQ9iwlOUHROlRFhZmm8LfA9S001O+QWJ6DCI
BWF4dcaQm1LLzoFjLupR3l8aja6OW64SlIfesYgmqakRejHMThCy4Sw0sLnHjjyG
9Fxbz7TnZqhnrwu+H+ZuN2ZKwQQM2yps7Odc2+sBfNFG0kEdWTEptQRt8f8MM/8e
Le6v2romazD+dIxHQNQ7AtjxKB0lvtDCdsYq4vUoaS/JpxuNvVMTWiVY40YAcfZz
Lv1z1Mh2DCS+dpdR0Y3VLZLyLncvxSwfA3WO/ABCLuibTuNQmjf3A8C4lYhlkTrQ
2nLgB6XebUzuBT7lHfnc6nY9DeTZ5AVilVWyy0zbmyNBjRJetH4+/+U9qnwuBdSD
sc0ukBbn8JXjRS2IJRVGMv6A6PlwHPPEOUfms6Hw77R8O4Thn2GXmFFGgRbVtgm8
p8L0ICbGg9qn7aVI2+WU
=/eUB
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to