Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37852422
en ru br
ALT Linux repos
S:1.23-alt1
5.0: 1.8.3-alt2
4.1: 1.8.3-alt1
4.0: 1.8.3-alt1
3.0: 1.8.2-alt1.1

Group :: Monitoring
RPM: xosview

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: xosview-1.8.3-alt-gcc44.patch
Download


--- xosview/linux/lmstemp.cc
+++ xosview/linux/lmstemp.cc
@@ -18,6 +18,7 @@
 #include <stdlib.h>
 #include <dirent.h>
 #include <sys/stat.h>
+#include <cstring>
 
 static const char PROC_SENSORS[] = "/proc/sys/dev/sensors";
 
@@ -29,7 +30,7 @@ LmsTemp::LmsTemp( XOSView *parent, const char *filename, const char *label,
           << std::endl;
     	parent_->done(1);
     }
-    char *p;
+    const char *p;
     if ((p = strrchr(caption,'/')) != 0)
       _highest = atoi(p+1);
     else
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin