Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package xosview for openSUSE:Factory checked 
in at 2023-07-14 15:36:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xosview (Old)
 and      /work/SRC/openSUSE:Factory/.xosview.new.3193 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xosview"

Fri Jul 14 15:36:07 2023 rev:51 rq:1098637 version:1.24

Changes:
--------
--- /work/SRC/openSUSE:Factory/xosview/xosview.changes  2023-06-23 
21:53:04.622777373 +0200
+++ /work/SRC/openSUSE:Factory/.xosview.new.3193/xosview.changes        
2023-07-14 15:36:15.906153853 +0200
@@ -1,0 +2,6 @@
+Fri Jul 14 09:06:16 UTC 2023 - Dr. Werner Fink <wer...@suse.de>
+
+- Add patch xosview-1.24-coretemp-labels.patch
+  * The CPU numbers seen in temp*_label might not continuously growing
+
+-------------------------------------------------------------------

New:
----
  xosview-1.24-coretemp-labels.patch

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

Other differences:
------------------
++++++ xosview.spec ++++++
--- /var/tmp/diff_new_pack.FwSI1j/_old  2023-07-14 15:36:16.682158366 +0200
+++ /var/tmp/diff_new_pack.FwSI1j/_new  2023-07-14 15:36:16.690158413 +0200
@@ -35,6 +35,8 @@
 Patch11:        xosview-1.16-diskstat.patch
 # PATCH-FIX-SUSE: allow more than one maybe not exsting lmstemp resource entry
 Patch12:        xosview-1.21-lmstemp.patch
+# PATCH-FIX-SUSE: The numbers seen in temp*_label might not continuously 
growing
+Patch13:        xosview-1.24-coretemp-labels.patch
 BuildRequires:  autoconf
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
@@ -61,6 +63,7 @@
 %patch10  -b .appdef
 %patch11  -b .diskstat
 %patch12  -b .lmst
+%patch13  -b .coretemp
 %patch0   -b .p0
 
 %build

++++++ xosview-1.24-coretemp-labels.patch ++++++
---
 linux/coretemp.cc |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

--- linux/coretemp.cc
+++ linux/coretemp.cc   2023-07-14 08:19:30.840691395 +0000
@@ -126,12 +126,15 @@ void CoreTemp::findSysFiles( void ) {
   glob(name, GLOB_APPEND, NULL, &gbuf);
   for (i = 0; i < gbuf.gl_pathc; i++) {
     file.open(gbuf.gl_pathv[i]);
-    file >> dummy >> cpu;  // "Core n" or "Physical id n"
+    file >> dummy;  // "Core n" or "Package id n"
     file.close();
     if ( strncmp(dummy.c_str(), "Core", 4) == 0 ) {
       strcpy(strrchr(gbuf.gl_pathv[i], '_'), "_input");
-      if (_cpu < 0 || cpu == _cpu)
-        _cpus.push_back(gbuf.gl_pathv[i]);
+      if (_cpu < 0)
+         _cpus.push_back(gbuf.gl_pathv[i]);
+      else if (cpu == _cpu)
+         _cpus.push_back(gbuf.gl_pathv[i]);
+      cpu++;        // The numbers seen in temp*_label might not continuously 
growing!
     }
   }
   globfree(&gbuf);

Reply via email to