Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (2b7b81b2c1dc0a78b7bcabda05ac2928c87b2058)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (2b7b81b2c1dc0a78b7bcabda05ac2928c87b2058)
  • Date: Sun, 7 May 2017 19:06:03 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:

devel/diffutils/HISTORY | 4 ++++
devel/diffutils/PRE_BUILD | 4 ++++
devel/diffutils/diffutils-3.5-fix_macros.patch | 18 ++++++++++++++++++
3 files changed, 26 insertions(+)

New commits:
commit 2b7b81b2c1dc0a78b7bcabda05ac2928c87b2058
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

devel/diffutils: added gcc 7.1 fix from Gentoo

diff --git a/devel/diffutils/HISTORY b/devel/diffutils/HISTORY
index fc02b06..63d9b43 100644
--- a/devel/diffutils/HISTORY
+++ b/devel/diffutils/HISTORY
@@ -1,3 +1,7 @@
+2017-05-07 Pavel Vinogradov <public AT sourcemage.org>
+ * PRE_BUILD, diffutils-3.5-fix_macros.patch: added gcc 7.1 fix from
+ Gentoo
+
2016-09-10 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* DETAILS: version 3.5

diff --git a/devel/diffutils/PRE_BUILD b/devel/diffutils/PRE_BUILD
new file mode 100755
index 0000000..9bf29b3
--- /dev/null
+++ b/devel/diffutils/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+patch -Np1 < "${SPELL_DIRECTORY}/diffutils-3.5-fix_macros.patch"
diff --git a/devel/diffutils/diffutils-3.5-fix_macros.patch
b/devel/diffutils/diffutils-3.5-fix_macros.patch
new file mode 100644
index 0000000..920c617
--- /dev/null
+++ b/devel/diffutils/diffutils-3.5-fix_macros.patch
@@ -0,0 +1,18 @@
+diff -Naur diffutils-3.5-orig/lib/intprops.h diffutils-3.5/lib/intprops.h
+--- diffutils-3.5-orig/lib/intprops.h 2017-05-05 21:16:54.420000000 +0000
++++ diffutils-3.5/lib/intprops.h 2017-05-05 21:17:29.950000000 +0000
+@@ -230,11 +230,11 @@
+ (e.g., A and B) have the same type as MIN and MAX. Instead, they assume
+ that the result (e.g., A + B) has that type. */
+ #if _GL_HAS_BUILTIN_OVERFLOW_WITH_NULL
+-# define _GL_ADD_OVERFLOW(a, b, min, max)
++# define _GL_ADD_OVERFLOW(a, b, min, max) \
+ __builtin_add_overflow (a, b, (__typeof__ ((a) + (b)) *) 0)
+-# define _GL_SUBTRACT_OVERFLOW(a, b, min, max)
++# define _GL_SUBTRACT_OVERFLOW(a, b, min, max) \
+ __builtin_sub_overflow (a, b, (__typeof__ ((a) - (b)) *) 0)
+-# define _GL_MULTIPLY_OVERFLOW(a, b, min, max)
++# define _GL_MULTIPLY_OVERFLOW(a, b, min, max) \
+ __builtin_mul_overflow (a, b, (__typeof__ ((a) * (b)) *) 0)
+ #else
+ # define _GL_ADD_OVERFLOW(a, b, min, max) \



  • [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (2b7b81b2c1dc0a78b7bcabda05ac2928c87b2058), Pavel Vinogradov, 05/07/2017

Archive powered by MHonArc 2.6.24.

Top of Page