smartmontools: new package, smartmontools 6.4

This commit is contained in:
Tom G. Christensen
2016-02-19 23:13:28 +01:00
parent 37d895b08b
commit f503cc93d1
4 changed files with 103 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
--- smartmontools-6.4/regex/regex.h.cplus 2012-12-13 18:23:06.000000000 +0100
+++ smartmontools-6.4/regex/regex.h 2016-02-19 22:42:53.390013000 +0100
@@ -536,7 +536,7 @@
#endif
/* gcc 3.1 and up support the [restrict] syntax. */
#ifndef __restrict_arr
-# if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)) && !defined(__WIN32__)
+# if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)) && !defined(__WIN32__) && !defined(__cplusplus)
# define __restrict_arr __restrict
# else
# define __restrict_arr