[med-svn] [gdcm] 03/06: Add patch to compile with CharLS 1,1
Gert Wollny
gert-guest at moszumanska.debian.org
Mon May 30 14:33:08 UTC 2016
This is an automated email from the git hooks/post-receive script.
gert-guest pushed a commit to branch master
in repository gdcm.
commit eba49a50a70b1f3a7078c999bc22b9f35e7e13ec
Author: Gert Wollny <gw.fossdev at gmail.com>
Date: Fri May 27 10:44:45 2016 +0000
Add patch to compile with CharLS 1,1
---
.../patches/12_gdcm_system_charls_includes.patch | 23 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 24 insertions(+)
diff --git a/debian/patches/12_gdcm_system_charls_includes.patch b/debian/patches/12_gdcm_system_charls_includes.patch
new file mode 100644
index 0000000..4135715
--- /dev/null
+++ b/debian/patches/12_gdcm_system_charls_includes.patch
@@ -0,0 +1,23 @@
+Description: Update charls includes for the system version 1.1
+Author: Gert Wollny <gw.fossdev at gmail.com>
+Forwarded: yes
+
+diff --git a/Utilities/gdcm_charls.h b/Utilities/gdcm_charls.h
+index c8f2c54..ba36b60 100644
+--- a/Utilities/gdcm_charls.h
++++ b/Utilities/gdcm_charls.h
+@@ -18,12 +18,13 @@
+ #include "gdcmTypes.h"
+ #ifdef GDCM_USE_SYSTEM_CHARLS
+ // It is expected that 1.0 API is used (JlsParameters instead of JlsParamaters)
++# include <CharLS/header.h>
+ # include <CharLS/interface.h>
+ # include <CharLS/util.h>
+ # include <CharLS/defaulttraits.h>
+ # include <CharLS/losslesstraits.h>
+ # include <CharLS/colortransform.h>
+-# include <CharLS/streams.h>
++//# include <CharLS/streams.h>
+ # include <CharLS/processline.h>
+ #else
+ #include "gdcmcharls/header.h"
diff --git a/debian/patches/series b/debian/patches/series
index 3da7a19..e2001ea 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,3 +8,4 @@
09_set_java_15.patch
10_gdcm_openjpeg2_git4f793f.patch
11_gdcm_openjpeg2_git0511b1.patch
+12_gdcm_system_charls_includes.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/gdcm.git
More information about the debian-med-commit
mailing list