Version in base suite: 0.3.8-2.1 Base version: adonthell_0.3.8-2.1 Target version: adonthell_0.3.8-2.1+deb12u1 Base file: /srv/ftp-master.debian.org/ftp/pool/main/a/adonthell/adonthell_0.3.8-2.1.dsc Target file: /srv/ftp-master.debian.org/policy/pool/main/a/adonthell/adonthell_0.3.8-2.1+deb12u1.dsc changelog | 7 +++++++ patches/python3.10.patch | 28 ++++++++++++++++++++++++++-- 2 files changed, 33 insertions(+), 2 deletions(-) diff -Nru adonthell-0.3.8/debian/changelog adonthell-0.3.8/debian/changelog --- adonthell-0.3.8/debian/changelog 2023-01-03 17:39:42.000000000 +0000 +++ adonthell-0.3.8/debian/changelog 2025-04-12 16:13:20.000000000 +0000 @@ -1,3 +1,10 @@ +adonthell (0.3.8-2.1+deb12u1) bookworm; urgency=low + + * Team upload. + * Fix compatibility with SWIG 4.1 (Closes: #1029043) + + -- Rhonda D'Vine Sat, 12 Apr 2025 18:13:20 +0200 + adonthell (0.3.8-2.1) unstable; urgency=medium * Non-maintainer upload. diff -Nru adonthell-0.3.8/debian/patches/python3.10.patch adonthell-0.3.8/debian/patches/python3.10.patch --- adonthell-0.3.8/debian/patches/python3.10.patch 2022-03-28 17:29:42.000000000 +0000 +++ adonthell-0.3.8/debian/patches/python3.10.patch 2025-04-12 16:11:30.000000000 +0000 @@ -7,8 +7,6 @@ src/python_class.h | 1 - 1 file changed, 1 deletion(-) -diff --git a/src/python_class.h b/src/python_class.h -index b4552bc..1e2706e 100644 --- a/src/python_class.h +++ b/src/python_class.h @@ -36,7 +36,6 @@ @@ -19,3 +17,29 @@ #include "fileops.h" #ifndef SWIG +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -161,8 +161,8 @@ + # Note: adonthell.py is also built by this target. + py_adonthell_wrap.cc : py_adonthell.i $(headers) + @if test "${SWIG}" != "no" ; then \ +- echo ${SWIG} -python -modern -shadow ${SDL_CFLAGS} -I$(srcdir) -I$(top_srcdir) -c++ -makedefault -o $(srcdir)/$*.cc $(srcdir)/py_adonthell.i; \ +- ${SWIG} -python -modern -shadow ${SDL_CFLAGS} -I$(srcdir) -I$(top_srcdir) -c++ -makedefault -o $(srcdir)/$*.cc $(srcdir)/py_adonthell.i; \ ++ echo ${SWIG} -python -flatstaticmethod -modern -shadow ${SDL_CFLAGS} -I$(srcdir) -I$(top_srcdir) -c++ -o $(srcdir)/$*.cc $(srcdir)/py_adonthell.i; \ ++ ${SWIG} -python -flatstaticmethod -modern -shadow ${SDL_CFLAGS} -I$(srcdir) -I$(top_srcdir) -c++ -o $(srcdir)/$*.cc $(srcdir)/py_adonthell.i; \ + mv $(srcdir)/adonthell.py $(srcdir)/modules/adonthell.py; \ + else \ + echo "You need swig >= ${SWIG_MINVER} in order to re-build this file."; \ +--- a/src/Makefile.in ++++ b/src/Makefile.in +@@ -1016,8 +1016,8 @@ + # Note: adonthell.py is also built by this target. + py_adonthell_wrap.cc : py_adonthell.i $(headers) + @if test "${SWIG}" != "no" ; then \ +- echo ${SWIG} -python -modern -shadow ${SDL_CFLAGS} -I$(srcdir) -I$(top_srcdir) -c++ -makedefault -o $(srcdir)/$*.cc $(srcdir)/py_adonthell.i; \ +- ${SWIG} -python -modern -shadow ${SDL_CFLAGS} -I$(srcdir) -I$(top_srcdir) -c++ -makedefault -o $(srcdir)/$*.cc $(srcdir)/py_adonthell.i; \ ++ echo ${SWIG} -python -flatstaticmethod -modern -shadow ${SDL_CFLAGS} -I$(srcdir) -I$(top_srcdir) -c++ -o $(srcdir)/$*.cc $(srcdir)/py_adonthell.i; \ ++ ${SWIG} -python -flatstaticmethod -modern -shadow ${SDL_CFLAGS} -I$(srcdir) -I$(top_srcdir) -c++ -o $(srcdir)/$*.cc $(srcdir)/py_adonthell.i; \ + mv $(srcdir)/adonthell.py $(srcdir)/modules/adonthell.py; \ + else \ + echo "You need swig >= ${SWIG_MINVER} in order to re-build this file."; \