Hello community,

here is the log from the commit of package gdcm for openSUSE:Factory checked in 
at 2020-06-10 00:48:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gdcm (Old)
 and      /work/SRC/openSUSE:Factory/.gdcm.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gdcm"

Wed Jun 10 00:48:49 2020 rev:4 rq:812770 version:3.0.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/gdcm/gdcm.changes        2020-04-15 
19:54:59.285612331 +0200
+++ /work/SRC/openSUSE:Factory/.gdcm.new.3606/gdcm.changes      2020-06-10 
00:48:55.907025919 +0200
@@ -1,0 +2,6 @@
+Mon Jun  8 18:55:02 UTC 2020 - Guillaume GARDET <[email protected]>
+
+- Add patch to fix build on aarch64:
+  * gdcm-2.8.8-dont_use_EOF.patch 
+
+-------------------------------------------------------------------

New:
----
  gdcm-2.8.8-dont_use_EOF.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gdcm.spec ++++++
--- /var/tmp/diff_new_pack.y4Ufev/_old  2020-06-10 00:48:57.159029194 +0200
+++ /var/tmp/diff_new_pack.y4Ufev/_new  2020-06-10 00:48:57.163029205 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package gdcm
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2019 Dr. Axel Braun
 #
 # All modifications and additions to the file contributed by third parties
@@ -30,6 +30,7 @@
 Patch1:         gdcm-2.4.0-usecopyright.patch
 Patch2:         fix_charls_2.patch
 Patch3:         poppler_api.patch
+Patch4:         gdcm-2.8.8-dont_use_EOF.patch
 BuildRequires:  CharLS-devel >= 2.0
 BuildRequires:  cmake
 BuildRequires:  docbook5-xsl-stylesheets

++++++ gdcm-2.8.8-dont_use_EOF.patch ++++++
--- ./Testing/Source/Common/Cxx/TestString2.cxx.orig    2019-02-26 
22:01:26.738230841 +0000
+++ ./Testing/Source/Common/Cxx/TestString2.cxx 2019-02-26 22:59:07.751826144 
+0000
@@ -16,7 +16,6 @@
 #include <iostream>
 
 #include <string.h> // strlen
-#include <stdio.h> // EOF
 
 int TestString2(int , char *[])
 {
@@ -26,24 +25,24 @@ int TestString2(int , char *[])
   gdcm::String<> s2 = "coucou!";
   std::cout << s2 << " -> " << s2.size() << std::endl;
 
-  gdcm::String<EOF,64,0> s3 = "coucou";
+  gdcm::String<'\0',64,0> s3 = "coucou";
   std::cout << s3.c_str() << " -> " << s3.size() << std::endl;
 
-  gdcm::String<EOF,64,0> s4 = "coucou!";
+  gdcm::String<'\0',64,0> s4 = "coucou!";
   std::cout << s4.c_str() << " -> " << s4.size() << std::endl;
 
   const char *s = "coucou!";
-  gdcm::String<EOF,64,0> s5( s, strlen(s) );
+  gdcm::String<'\0',64,0> s5( s, strlen(s) );
   std::cout << s5.c_str() << " -> " << s5.size() << std::endl;
 
   std::string ss = "coucou!";
-  gdcm::String<EOF,64,0> s6( ss );
+  gdcm::String<'\0',64,0> s6( ss );
   std::cout << s6.c_str() << " -> " << s6.size() << std::endl;
 
-  gdcm::String<EOF,64,0> s7( ss, 1, 5 );
+  gdcm::String<'\0',64,0> s7( ss, 1, 5 );
   std::cout << s7.c_str() << " -> " << s7.size() << std::endl;
 
-  gdcm::String<EOF,64,0> s8( ss, 1, 6 );
+  gdcm::String<'\0',64,0> s8( ss, 1, 6 );
   std::cout << s8.c_str() << " -> " << s8.size() << std::endl;
 
   return 0;

Reply via email to