]> git.pld-linux.org Git - packages/xosview.git/blob - xosview-c++.patch
f41e3c1e3c3e20bd1c425bf88c4e9e4bc183b4ee
[packages/xosview.git] / xosview-c++.patch
1 --- xosview-1.8.4/xwin.cc.orig  2015-06-04 16:49:00.000000000 +0200
2 +++ xosview-1.8.4/xwin.cc       2024-02-04 12:46:57.721543774 +0100
3 @@ -418,8 +418,6 @@ const char *XWin::getResource( const cha
4    {
5      std::cerr << "Error:  Couldn't find '" << name << "' resource in the resource database!\n";
6      exit (-1);
7 -      /*  Some compilers aren't smart enough to know that exit() exits.  */
8 -    return '\0';
9    }
10  }
11  
12 --- xosview-1.9.4/linux/acpitemp.cc.orig        2012-07-09 17:56:42.000000000 +0200
13 +++ xosview-1.9.4/linux/acpitemp.cc     2024-02-04 16:31:49.978449947 +0100
14 @@ -108,12 +108,12 @@ void ACPITemp::getacpitemp( void ) {
15    std::ifstream high_file(_highfile);
16  
17    if (!temp_file) {
18 -    std::cerr << "Can not open file : " << temp_file << std::endl;
19 +    std::cerr << "Can not open file : " << _tempfile << std::endl;
20      parent_->done(1);
21      return;
22    }
23    if (!high_file) {
24 -    std::cerr << "Can not open file : " << high_file << std::endl;
25 +    std::cerr << "Can not open file : " << _highfile << std::endl;
26      parent_->done(1);
27      return;
28    }
This page took 0.046547 seconds and 2 git commands to generate.