diff options
| author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2024-03-12 21:01:40 +0000 |
|---|---|---|
| committer | git-ubuntu importer <ubuntu-devel-discuss@lists.ubuntu.com> | 2024-04-10 13:05:10 +0000 |
| commit | 2f967b9f4a21ffde7e714744ae8db55db632b1fc (patch) | |
| tree | f1293f0eb60a2fbcb5825b5610edb1b66cb5a435 | |
| parent | b0967007598c8c77d46c6966a0b1211e6c8ce933 (diff) | |
1.2-5ubuntu0.1 (patches unapplied)import/1.2-5ubuntu0.1ubuntu/jammy-updatesubuntu/jammy-proposedubuntu/jammy-devel
Imported using git-ubuntu import.
Notes
Notes:
* Fix crash in Python 3.10 (LP: #2056361)
| -rw-r--r-- | debian/changelog | 6 | ||||
| -rw-r--r-- | debian/control | 3 | ||||
| -rw-r--r-- | debian/patches/python3-10-port.patch | 15 | ||||
| -rw-r--r-- | debian/patches/series | 1 |
4 files changed, 24 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index f28986b..c9bf627 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +python-qrencode (1.2-5ubuntu0.1) jammy; urgency=medium + + * Fix crash in Python 3.10 (LP: #2056361) + + -- Sudip Mukherjee <sudipm.mukherjee@gmail.com> Tue, 12 Mar 2024 21:01:40 +0000 + python-qrencode (1.2-5build6) jammy; urgency=medium * No-change rebuild with Python 3.10 only. diff --git a/debian/control b/debian/control index 6e1b87d..114909c 100644 --- a/debian/control +++ b/debian/control @@ -1,7 +1,8 @@ Source: python-qrencode Section: python Priority: optional -Maintainer: Hugo Lefeuvre <hle@debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Hugo Lefeuvre <hle@debian.org> Build-Depends: debhelper-compat (= 12), dh-python, libqrencode-dev, diff --git a/debian/patches/python3-10-port.patch b/debian/patches/python3-10-port.patch new file mode 100644 index 0000000..e60f964 --- /dev/null +++ b/debian/patches/python3-10-port.patch @@ -0,0 +1,15 @@ +Description: adapt to changes in Python 3.10 +Author: anarcat@debian.org +Origin: Debian, https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=1032287;filename=python-qrencode-1.2-5.1-nmu.diff;msg=14 +Bug-Ubuntu: https://bugs.launchpad.net/bugs/2056361 +Forwarded: no +Last-Update: 2024-03-12 +--- + +--- python-qrencode-1.2.orig/qr_encode.c ++++ python-qrencode-1.2/qr_encode.c +@@ -1,3 +1,4 @@ ++#define PY_SSIZE_T_CLEAN + #include <Python.h> + #include <stdlib.h> + #include <qrencode.h> diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..78aeb6c --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +python3-10-port.patch |
