[med-svn] [Git][med-team/spoa][master] 2 commits: Fix getopt for architectures where char is unsigned
Andreas Tille
gitlab at salsa.debian.org
Wed Apr 15 15:16:14 BST 2020
Andreas Tille pushed to branch master at Debian Med / spoa
Commits:
d7e9c778 by Andreas Tille at 2020-04-15T16:11:49+02:00
Fix getopt for architectures where char is unsigned
- - - - -
44df91e0 by Andreas Tille at 2020-04-15T16:14:39+02:00
routine-update: Ready to upload to unstable
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/getopt.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+spoa (3.0.2-3) unstable; urgency=medium
+
+ [ Adrian Bunk ]
+ * Fix getopt for architectures where char is unsigned
+ Closes: #956809
+
+ -- Andreas Tille <tille at debian.org> Wed, 15 Apr 2020 16:12:16 +0200
+
spoa (3.0.2-2) unstable; urgency=medium
* Team upload.
=====================================
debian/patches/getopt.patch
=====================================
@@ -0,0 +1,16 @@
+Description: Fix getopt for architectures where char is unsigned
+Bug-Debian: https://bugs.debian.org/956809
+From: Adrian Bunk <bunk at debian.org>
+Date: Wed, 15 Apr 2020 15:58:08 +0300
+
+--- a/src/main.cpp
++++ b/src/main.cpp
+@@ -37,7 +37,7 @@ int main(int argc, char** argv) {
+
+ std::string dot_path = "";
+
+- char opt;
++ int opt;
+ while ((opt = getopt_long(argc, argv, "m:n:g:e:q:c:l:r:d:h", options, nullptr)) != -1) {
+ switch (opt) {
+ case 'm': m = atoi(optarg); break;
=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@ use_debian_packaged_libs.patch
shared_and_static.patch
fix_soversion.patch
simde
+getopt.patch
View it on GitLab: https://salsa.debian.org/med-team/spoa/-/compare/3c6d8cc820c99b921adb9b94b15d3f0d119730aa...44df91e001803a8eb5fcf6150da7f1d186ecc5e2
--
View it on GitLab: https://salsa.debian.org/med-team/spoa/-/compare/3c6d8cc820c99b921adb9b94b15d3f0d119730aa...44df91e001803a8eb5fcf6150da7f1d186ecc5e2
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/20200415/c0212688/attachment-0001.html>
More information about the debian-med-commit
mailing list