[med-svn] [Git][med-team/uncalled][master] Added patch for 32-bit architectures.

Michael R. Crusoe gitlab at salsa.debian.org
Mon Feb 8 08:52:09 GMT 2021



Michael R. Crusoe pushed to branch master at Debian Med / uncalled


Commits:
dd5f070e by Michael R. Crusoe at 2021-02-08T09:51:21+01:00
Added patch for 32-bit architectures.

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/32bit
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+uncalled (2.2+ds-1) unstable; urgency=high
+
+  * Source-only upload.
+  * Added patch for 32-bit architectures.
+
+ -- Michael R. Crusoe <crusoe at debian.org>  Mon, 08 Feb 2021 09:22:50 +0100
+
 uncalled (2.2+ds-1~0exp) experimental; urgency=medium
 
   * Initial release. (Closes: #982142)


=====================================
debian/patches/32bit
=====================================
@@ -0,0 +1,37 @@
+From: Michael R. Crusoe <crusoe at debian.org>
+Subject: Add support for 32-bit architectures
+Forwarded: https://github.com/skovaka/UNCALLED/pull/24
+--- uncalled.orig/src/range.cpp
++++ uncalled/src/range.cpp
+@@ -23,11 +23,11 @@
+ 
+ #include "range.hpp"
+ 
+-size_t max(size_t a, size_t b) {
++u64 max(u64 a, u64 b) {
+     return a > b ? a : b;
+ }
+ 
+-size_t min(size_t a, size_t b) {
++u64 min(u64 a, u64 b) {
+     return a < b ? a : b;
+ }
+ 
+@@ -35,7 +35,7 @@
+     : start_(prev.start_), 
+       end_(prev.end_) {}
+ 
+-Range::Range(size_t start, size_t end) : start_(start), end_(end) {}
++Range::Range(u64 start, u64 end) : start_(start), end_(end) {}
+ 
+ 
+ Range::Range() : start_(1), end_(0) {}
+@@ -46,7 +46,7 @@
+            !(q.start_ > end_ || q.end_ < start_);
+ }
+ 
+-size_t Range::length() const {
++u64 Range::length() const {
+     return end_ - start_ + 1;
+ }
+ 


=====================================
debian/patches/series
=====================================
@@ -5,3 +5,4 @@ debian_pybind11
 fix_debug
 skip_read_until
 debian_pdqsort
+32bit



View it on GitLab: https://salsa.debian.org/med-team/uncalled/-/commit/dd5f070e8453aeba12005d6f6a6cb6162098ee66

-- 
View it on GitLab: https://salsa.debian.org/med-team/uncalled/-/commit/dd5f070e8453aeba12005d6f6a6cb6162098ee66
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/20210208/a7e84fef/attachment-0001.html>


More information about the debian-med-commit mailing list