]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/patches/smartmontools-6.5-exit_segfault.patch
smartmontools: Update to 6.5
[ipfire-2.x.git] / src / patches / smartmontools-6.5-exit_segfault.patch
similarity index 50%
rename from src/patches/smartmontools-5.39-exit_segfault.patch
rename to src/patches/smartmontools-6.5-exit_segfault.patch
index 5ed4b10993efe2da6b89ee3926ee49eba3f1c75f..6c5df8aac8d3ed2db071dee4233808983efc626c 100644 (file)
@@ -1,7 +1,6 @@
-diff -Naur smartmontools-5.39-svn_r2877/utility.h smartmontools-5.39-svn_r2877.new/utility.h
---- smartmontools-5.39-svn_r2877/utility.h     2009-08-24 12:48:50.000000000 +0200
-+++ smartmontools-5.39-svn_r2877.new/utility.h 2009-08-29 09:11:07.000000000 +0200
-@@ -102,7 +102,11 @@
+--- a/utility.h        Sun Apr 24 16:59:15 2016
++++ b/utility.h        Sat Aug 20 22:40:33 2016
+@@ -97,7 +97,11 @@
  
  // Replacement for exit(status)
  // (exit is not compatible with C++ destructors)
@@ -12,5 +11,6 @@ diff -Naur smartmontools-5.39-svn_r2877/utility.h smartmontools-5.39-svn_r2877.n
 +//tried to use exit and found no problems yet
 +#define EXIT(status) { exit ((int)(status)); }
  
- #ifdef OLD_INTERFACE
+ // Compile time check of byte ordering
+ // (inline const function allows compiler to remove dead code)
+