[med-svn] [Git][med-team/pyode][master] * Fix build with Cython 3.1
Andreas Tille (@tille)
gitlab at salsa.debian.org
Fri Dec 12 11:34:25 GMT 2025
Andreas Tille pushed to branch master at Debian Med / pyode
Commits:
1f627610 by Andreas Tille at 2025-12-12T12:34:10+01:00
* Fix build with Cython 3.1
Closes: #1122006
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/Add-support-for-Cython-3.1.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+pyode (1.2.0.dev15-6) UNRELEASED; urgency=medium
+
+ * Team upload.
+ * Fix build with Cython 3.1
+ Closes: #1122006
+
+ -- Andreas Tille <tille at debian.org> Fri, 12 Dec 2025 12:32:33 +0100
+
pyode (1.2.0.dev15-5) unstable; urgency=medium
* Team upload.
=====================================
debian/patches/Add-support-for-Cython-3.1.patch
=====================================
@@ -0,0 +1,25 @@
+Description: Fix build with Cython 3.1
+Author: Andreas Tille <tille at debian.org>
+Last-Update: 2025-12-12
+Bug-Debian: https://bugs.debian.org/1122006
+
+--- a/src/geomobject.pyx
++++ b/src/geomobject.pyx
+@@ -260,7 +260,7 @@ cdef class GeomObject:
+ @param bits: Collide bit field
+ @type bits: int/long
+ """
+- dGeomSetCollideBits(self.gid, long(bits))
++ dGeomSetCollideBits(self.gid, int(bits))
+
+ def setCategoryBits(self, bits):
+ """setCategoryBits(bits)
+@@ -270,7 +270,7 @@ cdef class GeomObject:
+ @param bits: Category bit field
+ @type bits: int/long
+ """
+- dGeomSetCategoryBits(self.gid, long(bits))
++ dGeomSetCategoryBits(self.gid, int(bits))
+
+ def getCollideBits(self):
+ """getCollideBits() -> long
=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@
02_add_shebang.patch
03_spellings.patch
Add-support-for-Cython-3.patch
+Add-support-for-Cython-3.1.patch
View it on GitLab: https://salsa.debian.org/med-team/pyode/-/commit/1f627610b091622eaa5ecf87bbe04c703dcf2c74
--
View it on GitLab: https://salsa.debian.org/med-team/pyode/-/commit/1f627610b091622eaa5ecf87bbe04c703dcf2c74
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20251212/b3e06761/attachment-0001.htm>
More information about the debian-med-commit
mailing list