diff --git a/srcpkgs/diffutils/patches/gcc7-builtin_add_overflow.patch b/srcpkgs/diffutils/patches/gcc7-builtin_add_overflow.patch new file mode 100644 index 0000000000..dbb7204001 --- /dev/null +++ b/srcpkgs/diffutils/patches/gcc7-builtin_add_overflow.patch @@ -0,0 +1,11 @@ +--- lib/intprops.h 2016-08-05 01:38:16.000000000 +0200 ++++ lib/intprops.h 2017-05-08 12:19:47.703724356 +0200 +@@ -223,7 +223,7 @@ + : (max) >> (b) < (a)) + + /* True if __builtin_add_overflow (A, B, P) works when P is null. */ +-#define _GL_HAS_BUILTIN_OVERFLOW_WITH_NULL (7 <= __GNUC__) ++#define _GL_HAS_BUILTIN_OVERFLOW_WITH_NULL (7 < __GNUC__) + + /* The _GL*_OVERFLOW macros have the same restrictions as the + *_RANGE_OVERFLOW macros, except that they do not assume that operands