Bug#1102786: bookworm-pu: package adonthell/0.3.8-2
> Attach: Desktop/Debian/BSP/adonthell/adonthell_0.3.8-2.1_0.3.8-2.1+deb12u1.diff
Alright, I failed there, this should have gone to the mutt header, not the
mail pseudo header. xD It is now in the mail.
> [ Reason ]
> https://bugs.debian.org/1029043 is still not fixed for stable.
>
> [ Impact ]
> The impact s that the package can't get used, at all.
>
> [ Tests ]
> The package doesn't has any automated tests, but I test installed the built
> package and finally the interface started.
>
> [ Risks ]
> The risk is minimal, the patch only contains very minor changes to the
> makefiles.
>
> [ Checklist ]
> [x] *all* changes are documented in the d/changelog
> [x] I reviewed all changes and I approve them
> [x] attach debdiff against the package in (old)stable
> [x] the issue is verified as fixed in unstable
>
> [ Changes ]
> The change contains of the switch changes lined out in the bugreport.
>
--
Fühlst du dich mutlos, fass endlich Mut, los |
Fühlst du dich hilflos, geh raus und hilf, los | Wir sind Helden
Fühlst du dich machtlos, geh raus und mach, los | 23.55: Alles auf Anfang
Fühlst du dich haltlos, such Halt und lass los |
diff -Nru adonthell-0.3.8/debian/changelog adonthell-0.3.8/debian/changelog
--- adonthell-0.3.8/debian/changelog 2023-01-03 18:39:42.000000000 +0100
+++ adonthell-0.3.8/debian/changelog 2025-04-12 18:13:20.000000000 +0200
@@ -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 <rhonda@debian.org> 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 19:29:42.000000000 +0200
+++ adonthell-0.3.8/debian/patches/python3.10.patch 2025-04-12 18:11:30.000000000 +0200
@@ -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."; \
Reply to: