Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libXISF for openSUSE:Factory checked 
in at 2025-12-05 16:56:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libXISF (Old)
 and      /work/SRC/openSUSE:Factory/.libXISF.new.1939 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libXISF"

Fri Dec  5 16:56:45 2025 rev:15 rq:1321183 version:0.2.13+git5.7b70b6a

Changes:
--------
--- /work/SRC/openSUSE:Factory/libXISF/libXISF.changes  2025-10-17 
17:29:31.735460667 +0200
+++ /work/SRC/openSUSE:Factory/.libXISF.new.1939/libXISF.changes        
2025-12-05 16:58:06.828115570 +0100
@@ -1,0 +2,7 @@
+Thu Dec 04 16:15:36 UTC 2025 - Paolo Stivanin <[email protected]>
+
+- Update to version 0.2.13+git5.7b70b6a:
+  * More precise std::to_char support
+  * Fix bug in XISFModify that corrupted files
+
+-------------------------------------------------------------------

Old:
----
  libXISF-0.2.13+git3.556bb22.tar.xz

New:
----
  libXISF-0.2.13+git5.7b70b6a.tar.xz

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

Other differences:
------------------
++++++ libXISF.spec ++++++
--- /var/tmp/diff_new_pack.cioI7y/_old  2025-12-05 16:58:07.576147341 +0100
+++ /var/tmp/diff_new_pack.cioI7y/_new  2025-12-05 16:58:07.576147341 +0100
@@ -24,7 +24,7 @@
 %define full_sover 0.2.13
 
 Name:           libXISF
-Version:        0.2.13+git3.556bb22
+Version:        0.2.13+git5.7b70b6a
 Release:        0
 Summary:        Library to read/write PixInsight XISF files
 License:        GPL-3.0-or-later

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.cioI7y/_old  2025-12-05 16:58:07.676151589 +0100
+++ /var/tmp/diff_new_pack.cioI7y/_new  2025-12-05 16:58:07.680151759 +0100
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://gitea.nouspiro.space/nou/libXISF</param>
-              <param 
name="changesrevision">556bb22d2675ee6072c6224fef3da0fb5d93db41</param></service></servicedata>
+              <param 
name="changesrevision">7b70b6a08183241aad4fd825f16b75a391866a65</param></service></servicedata>
 (No newline at EOF)
 

++++++ libXISF-0.2.13+git3.556bb22.tar.xz -> libXISF-0.2.13+git5.7b70b6a.tar.xz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libXISF-0.2.13+git3.556bb22/libxisf.cpp 
new/libXISF-0.2.13+git5.7b70b6a/libxisf.cpp
--- old/libXISF-0.2.13+git3.556bb22/libxisf.cpp 2025-08-12 18:37:58.000000000 
+0200
+++ new/libXISF-0.2.13+git5.7b70b6a/libxisf.cpp 2025-11-02 23:00:46.000000000 
+0100
@@ -1383,7 +1383,6 @@
     pugi::xml_document _doc;
     pugi::xml_node _root;
     std::map<int, std::pair<uint64_t, uint64_t>> _attachmentPos;// pair 
contain position and size
-    std::map<int, std::pair<uint64_t, uint64_t>> _attachmentPosNew;
 };
 
 
@@ -1446,6 +1445,8 @@
     doc.append_child(pugi::node_comment).set_value("\nExtensible Image 
Serialization Format - XISF version 1.0\nCreated with libXISF - 
https://nouspiro.space\n";);
     pugi::xml_node root_copy = doc.append_copy(_root);
 
+    parseAttachmentPos(_root);
+
     uint32_t size = 0;
     std::string header;
     while(true)
@@ -1601,6 +1602,7 @@
 
 void XISFModifyPrivate::parseAttachmentPos(pugi::xml_node &root)
 {
+    _attachmentPos.clear();
     pugi::xpath_node_set locationAttributes = root.select_nodes("//@location");
     int i = 0;
     for(auto &attr : locationAttributes)
@@ -1625,7 +1627,6 @@
         pugi::xml_attribute attr = locationAttributes[pos.first].attribute();
         uint64_t attachmentSize = pos.second.second;
         std::string locationStr = "attachment:" + std::to_string(offset) + ":" 
+ std::to_string(attachmentSize);
-        _attachmentPosNew[pos.first] = pos.second;
         offset += attachmentSize;
         attr.set_value(locationStr.c_str());
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libXISF-0.2.13+git3.556bb22/variant.cpp 
new/libXISF-0.2.13+git5.7b70b6a/variant.cpp
--- old/libXISF-0.2.13+git3.556bb22/variant.cpp 2025-08-12 18:37:58.000000000 
+0200
+++ new/libXISF-0.2.13+git5.7b70b6a/variant.cpp 2025-11-02 23:00:46.000000000 
+0100
@@ -440,7 +440,7 @@
             ss << "{";
             for(int o=0; o<matrix.cols(); o++)
             {
-#if __GNUC__ >= 11 || __clang__
+#if __GNUC__ >= 11 || __clang_major__ >= 15
                 char str[128] = {0};
                 char *end = str + sizeof(str);
                 std::to_chars(str, end, matrix(i, o));

Reply via email to