[med-svn] [Git][med-team/orthanc][master] 3 commits: fix build on armel and armhf
Sebastien Jodogne (@jodogne-guest)
gitlab at salsa.debian.org
Fri Mar 29 21:26:17 GMT 2024
Sebastien Jodogne pushed to branch master at Debian Med / orthanc
Commits:
4a665336 by jodogne-guest at 2024-03-29T22:07:18+01:00
fix build on armel and armhf
- - - - -
e4b4a894 by jodogne-guest at 2024-03-29T22:14:11+01:00
rename
- - - - -
822a2ed7 by jodogne-guest at 2024-03-29T22:25:23+01:00
Upload to unstable
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/arm
- + debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+orthanc (1.12.3+dfsg-2) unstable; urgency=medium
+
+ * Fix build on armel and armhf.
+
+ -- Sebastien Jodogne <s.jodogne at gmail.com> Fri, 29 Mar 2024 21:59:58 +0100
+
orthanc (1.12.3+dfsg-1) unstable; urgency=medium
* New upstream version
=====================================
debian/patches/arm
=====================================
@@ -0,0 +1,27 @@
+Description: Fix build on armel and armhf
+Author: Sebastien Jodogne <s.jodogne at gmail.com>
+Forwarded: yes
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: Orthanc-1.12.3/OrthancFramework/Sources/Images/JpegWriter.cpp
+===================================================================
+--- Orthanc-1.12.3.orig/OrthancFramework/Sources/Images/JpegWriter.cpp
++++ Orthanc-1.12.3/OrthancFramework/Sources/Images/JpegWriter.cpp
+@@ -177,7 +177,7 @@ namespace Orthanc
+ Internals::JpegErrorManager jerr;
+
+ unsigned char* data = NULL;
+- size_t size;
++ unsigned long size;
+
+ if (setjmp(jerr.GetJumpBuffer()))
+ {
+@@ -202,7 +202,7 @@ namespace Orthanc
+
+ // Everything went fine, "setjmp()" didn't get called
+
+- jpeg.assign(reinterpret_cast<const char*>(data), size);
++ jpeg.assign(reinterpret_cast<const char*>(data), static_cast<size_t>(size));
+ free(data);
+ }
+
=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+arm
View it on GitLab: https://salsa.debian.org/med-team/orthanc/-/compare/d6698ee0a2c7b9367ff7b5c78937c431aa5ede10...822a2ed7fa5ef675d0c581030f855c132ee11328
--
View it on GitLab: https://salsa.debian.org/med-team/orthanc/-/compare/d6698ee0a2c7b9367ff7b5c78937c431aa5ede10...822a2ed7fa5ef675d0c581030f855c132ee11328
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/20240329/7cad28c1/attachment-0001.htm>
More information about the debian-med-commit
mailing list