[med-svn] [Git][med-team/gdcm][master] Add upstream patch to fix poppler related FTBFS, team upload
Gianfranco Costamagna
gitlab at salsa.debian.org
Mon Oct 22 10:38:10 BST 2018
Gianfranco Costamagna pushed to branch master at Debian Med / gdcm
Commits:
148b8f5b by Gianfranco Costamagna at 2018-10-22T09:36:52Z
Add upstream patch to fix poppler related FTBFS, team upload
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/5083513138fc90aa602b93293d2e44ae73e883b0.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+gdcm (2.8.7-4) unstable; urgency=medium
+
+ * Team upload
+ * debian/patches/5083513138fc90aa602b93293d2e44ae73e883b0.patch:
+ - adapt to new poppler 0.69 with upstream patch
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org> Mon, 22 Oct 2018 11:35:13 +0200
+
gdcm (2.8.7-3) unstable; urgency=medium
* d/control: Add conflict with python2 packages, Closes: #908472
=====================================
debian/patches/5083513138fc90aa602b93293d2e44ae73e883b0.patch
=====================================
@@ -0,0 +1,42 @@
+From 5083513138fc90aa602b93293d2e44ae73e883b0 Mon Sep 17 00:00:00 2001
+From: Mathieu Malaterre <mathieu.malaterre at gmail.com>
+Date: Thu, 18 Oct 2018 10:33:48 +0200
+Subject: [PATCH] Adapt to new poppler API
+
+Bug #462
+---
+ Applications/Cxx/gdcminfo.cxx | 7 ++++---
+ 1 file changed, 4 insertions(+), 3 deletions(-)
+
+diff --git a/Applications/Cxx/gdcminfo.cxx b/Applications/Cxx/gdcminfo.cxx
+index d926a2a8e..2c510d7df 100644
+--- a/Applications/Cxx/gdcminfo.cxx
++++ b/Applications/Cxx/gdcminfo.cxx
+@@ -189,7 +189,7 @@ static int checkdeflated(const char *name)
+ static std::string getInfoDate(Dict *infoDict, const char *key)
+ {
+ Object obj;
+- char *s;
++ const char *s;
+ int year, mon, day, hour, min, sec, n;
+ struct tm tmStruct;
+ //char buf[256];
+@@ -201,7 +201,8 @@ static std::string getInfoDate(Dict *infoDict, const char *key)
+ if (infoDict->lookup((char*)key, &obj)->isString())
+ #endif
+ {
+- s = obj.getString()->getCString();
++ const GooString* gs = obj.getString();
++ s = gs->getCString();
+ if (s[0] == 'D' && s[1] == ':')
+ {
+ s += 2;
+@@ -256,7 +257,7 @@ static std::string getInfoDate(Dict *infoDict, const char *key)
+ static std::string getInfoString(Dict *infoDict, const char *key, UnicodeMap *uMap)
+ {
+ Object obj;
+- GooString *s1;
++ const GooString *s1;
+ GBool isUnicode;
+ Unicode u;
+ char buf[8];
=====================================
debian/patches/series
=====================================
@@ -8,3 +8,4 @@ enable_ninja_build.patch
gdcm-fix-xslt-maxdepth.patch
fix-vtkjava-build-dir.patch
add_cxx11_vtk_defines.patch
+5083513138fc90aa602b93293d2e44ae73e883b0.patch
View it on GitLab: https://salsa.debian.org/med-team/gdcm/commit/148b8f5b59febdc790b914cb8f4f63497abbd024
--
View it on GitLab: https://salsa.debian.org/med-team/gdcm/commit/148b8f5b59febdc790b914cb8f4f63497abbd024
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/20181022/da69ecb1/attachment-0001.html>
More information about the debian-med-commit
mailing list