[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#451631: marked as done (adonthell: Fix to work with python2.5)



Your message dated Sun, 08 Jun 2008 12:32:03 +0000
with message-id <E1K5K43-0002is-1W@ries.debian.org>
and subject line Bug#451631: fixed in adonthell 0.3.4.cvs.20080529-1
has caused the Debian Bug report #451631,
regarding adonthell: Fix to work with python2.5
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 owner@bugs.debian.org
immediately.)


-- 
451631: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=451631
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: adonthell
Severity: normal
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu hardy

The attached patch from Matthias Klose fixes the package to work with
python2.5. The latest version can also be grabbed from

http://patches.ubuntu.com/a/adonthell/extracted/04_python2.5.diff

It can be dropped in to debian/patches, and added to the end of
debian/patches/series, and it should apply cleanly.

Thanks,

James
--- ./src/py_adonthell_wrap.cc.orig	2007-01-16 17:38:05.000000000 +0100
+++ ./src/py_adonthell_wrap.cc	2007-01-16 17:39:17.000000000 +0100
@@ -1174,7 +1174,7 @@
     obj = pyobj;
     if (PyCFunction_Check(obj)) {
       /* here we get the method pointer for callbacks */
-      char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
+      const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
       c = doc ? strstr(doc, "swig_ptr: ") : 0;
       if (c) {
 	c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
@@ -28592,11 +28592,11 @@
     swig_type_info **types_initial) {
         size_t i;
         for (i = 0; methods[i].ml_name; ++i) {
-            char *c = methods[i].ml_doc;
+            const char *c = methods[i].ml_doc;
             if (c && (c = strstr(c, "swig_ptr: "))) {
                 int j;
                 swig_const_info *ci = 0;
-                char *name = c + 10;
+                const char *name = c + 10;
                 for (j = 0; const_table[j].type; j++) {
                     if (strncmp(const_table[j].name, name, 
                     strlen(const_table[j].name)) == 0) {

--- End Message ---
--- Begin Message ---
Source: adonthell
Source-Version: 0.3.4.cvs.20080529-1

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

adonthell_0.3.4.cvs.20080529-1.diff.gz
  to pool/main/a/adonthell/adonthell_0.3.4.cvs.20080529-1.diff.gz
adonthell_0.3.4.cvs.20080529-1.dsc
  to pool/main/a/adonthell/adonthell_0.3.4.cvs.20080529-1.dsc
adonthell_0.3.4.cvs.20080529-1_i386.deb
  to pool/main/a/adonthell/adonthell_0.3.4.cvs.20080529-1_i386.deb
adonthell_0.3.4.cvs.20080529.orig.tar.gz
  to pool/main/a/adonthell/adonthell_0.3.4.cvs.20080529.orig.tar.gz



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 451631@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Barry deFreese <bddebian@comcast.net> (supplier of updated adonthell 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 ftpmaster@debian.org)


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

Format: 1.8
Date: Thu, 29 May 2008 21:54:50 -0400
Source: adonthell
Binary: adonthell
Architecture: source i386
Version: 0.3.4.cvs.20080529-1
Distribution: unstable
Urgency: low
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Changed-By: Barry deFreese <bddebian@comcast.net>
Description: 
 adonthell  - A 2D graphical roleplaying game
Closes: 392492 427141 451631
Changes: 
 adonthell (0.3.4.cvs.20080529-1) unstable; urgency=low
 .
   [ Barry deFreese ]
   * New maintainer. (Closes: #427141).
     + Debian Games Team <pkg-games-devel@lists.alioth.debian.org>.
     + Add myself to uploaders.
   * New upstream CVS snapshot.
     + Drop all current patches as they are fixed in CVS.
     + Fixes to build with python2.5. (Closes: #451631).
   * Make clean not ignore errors.
   * Add copyright holders to debian/copyright.
   * Move Homepage from package description to source header.
   * Add VCS tags.
   * Add autotools-dev build dependency.
   * Don't ship pyc files. (Closes: #392492).
     + Thanks to Luis Rodrigo Gallardo Cruz for the patch.
   * Remove symlink and rename binary to /usr/games/adonthell.
   * Bump debian/compat to 5.
   * Bump Standards Version to 3.7.3. (No changes needed).
 .
   [ Gonéri Le Bouder ]
   * Remove src/modules/adonthell.py src/py_adonthell_wrap.cc since they are
     generated with SWIG during the build process
Checksums-Sha1: 
 0ddbfc107b1f295bd7a28278f3e1e6957428c336 1537 adonthell_0.3.4.cvs.20080529-1.dsc
 0ebe5383717c0c77529152bcb109c2de471a099c 1477310 adonthell_0.3.4.cvs.20080529.orig.tar.gz
 6e68dabdcd576ee0e97c7a47fb7359c2ea50c923 7604 adonthell_0.3.4.cvs.20080529-1.diff.gz
 973dab57ddf94cabb7d56a1a8317757459dfb1bc 269330 adonthell_0.3.4.cvs.20080529-1_i386.deb
Checksums-Sha256: 
 51bd9dad8add88acc37712e44f7ef6f736ff8ff85f468e01c765504e76525669 1537 adonthell_0.3.4.cvs.20080529-1.dsc
 892adc63fd22cab0d76afc07f1ccac9fee27145cfce07f7d6f2d4a5c8cbb7710 1477310 adonthell_0.3.4.cvs.20080529.orig.tar.gz
 b0e3a783d2756276f67f728d4b955c48b35910b38dd45c57692e43d008e3b940 7604 adonthell_0.3.4.cvs.20080529-1.diff.gz
 6e8b32a5980d9cc2e7ec1bb6503d161842529eb8f07fb47f5aaca6ffa9931352 269330 adonthell_0.3.4.cvs.20080529-1_i386.deb
Files: 
 b642d46ef3e4f124c6240409d1bf712e 1537 games optional adonthell_0.3.4.cvs.20080529-1.dsc
 d734cf9c2391963cb6740e6bbd2e94b5 1477310 games optional adonthell_0.3.4.cvs.20080529.orig.tar.gz
 974c9ef007844c679f34242679f0370d 7604 games optional adonthell_0.3.4.cvs.20080529-1.diff.gz
 e497d92d07000c88fc088ae720cf368f 269330 games optional adonthell_0.3.4.cvs.20080529-1_i386.deb

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

iEYEARECAAYFAkhL06UACgkQsKTFpDfZQSxDRwCdGCYnqObpXHTrxUNR6SggwmvU
2v8Anjt0zgidoc90TywF6SaQvcdEXiLr
=4rhE
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: