Gianfranco Costamagna pushed to branch master at Debian Med / gdcm

Commits:
313097c9 by Gianfranco Costamagna at 2018-10-22T11:05:39Z
Adapt patch, and upstream it: https://github.com/malaterre/GDCM/pull/69

- - - - -


1 changed file:

- debian/patches/5083513138fc90aa602b93293d2e44ae73e883b0.patch


Changes:

=====================================
debian/patches/5083513138fc90aa602b93293d2e44ae73e883b0.patch
=====================================
@@ -53,7 +53,17 @@ Index: gdcm-2.8.7/Applications/Cxx/gdcmpdf.cxx
    int year, mon, day, hour, min, sec, n;
    struct tm tmStruct;
    //char buf[256];
-@@ -104,7 +104,7 @@
+@@ -49,7 +49,8 @@
+   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;
+@@ -104,7 +105,7 @@
  static std::string getInfoString(Dict *infoDict, const char *key, UnicodeMap 
*uMap, GBool & unicode)
  {
    Object obj;



View it on GitLab: 
https://salsa.debian.org/med-team/gdcm/commit/313097c9cf0f45a65093fddd21103d2b290ced67

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/gdcm/commit/313097c9cf0f45a65093fddd21103d2b290ced67
You're receiving this email because of your account on salsa.debian.org.
_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to