Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Remko van der Vossen (7b0e0cf9dcd1f5436b4ebceae60acb5d220e693b)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Remko van der Vossen <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Remko van der Vossen (7b0e0cf9dcd1f5436b4ebceae60acb5d220e693b)
  • Date: Fri, 4 Aug 2017 20:49:52 +0000

GIT changes to master grimoire by Remko van der Vossen <wich AT sourcemage.org>:

net/iproute2/0001-include-stdint.h-explicitly-for-UINT16_MAX.patch | 32
++++++++++
net/iproute2/HISTORY | 4 +
net/iproute2/PRE_BUILD | 2
3 files changed, 38 insertions(+)

New commits:
commit 7b0e0cf9dcd1f5436b4ebceae60acb5d220e693b
Author: Remko van der Vossen <wich AT sourcemage.org>
Commit: Remko van der Vossen <wich AT sourcemage.org>

iproute2: patched to build with recent glibc/gcc

diff --git
a/net/iproute2/0001-include-stdint.h-explicitly-for-UINT16_MAX.patch
b/net/iproute2/0001-include-stdint.h-explicitly-for-UINT16_MAX.patch
new file mode 100644
index 0000000..eb0c0ab
--- /dev/null
+++ b/net/iproute2/0001-include-stdint.h-explicitly-for-UINT16_MAX.patch
@@ -0,0 +1,32 @@
+From 3c885d87befc706bb923933b9819de6fe2de897e Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem AT gmail.com>
+Date: Sat, 20 May 2017 14:03:19 -0700
+Subject: [PATCH] include stdint.h explicitly for UINT16_MAX)
+
+Fixes
+| tc_core.c:190:29: error: 'UINT16_MAX' undeclared (first use in this
function); did you mean '__INT16_MAX__'?
+| if ((sz >> s->size_log) > UINT16_MAX) {
+| ^~~~~~~~~~
+
+Signed-off-by: Khem Raj <raj.khem AT gmail.com>
+---
+Upstream-Status: Pending
+
+ tc/tc_core.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/tc/tc_core.c b/tc/tc_core.c
+index 7bbe0d7..821b741 100644
+--- a/tc/tc_core.c
++++ b/tc/tc_core.c
+@@ -12,6 +12,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <stdint.h>
+ #include <unistd.h>
+ #include <syslog.h>
+ #include <fcntl.h>
+--
+2.13.0
+
diff --git a/net/iproute2/HISTORY b/net/iproute2/HISTORY
index e3daaf9..ea90550 100644
--- a/net/iproute2/HISTORY
+++ b/net/iproute2/HISTORY
@@ -1,3 +1,7 @@
+2017-08-04 Remko van der Vossen <wich AT sourcemage.org>
+ * PRE_BUILD, 0001-include-stdint.h-explicitly-for-UINT16_MAX.patch:
+ Fix building with recent glibc/gcc
+
2016-12-30 Remko van der Vossen <wich AT sourcemage.org>
* DETAILS, BUILD: version 4.9.0

diff --git a/net/iproute2/PRE_BUILD b/net/iproute2/PRE_BUILD
index 8f1677d..5e6f6f7 100755
--- a/net/iproute2/PRE_BUILD
+++ b/net/iproute2/PRE_BUILD
@@ -1,6 +1,8 @@
default_pre_build &&
cd "$SOURCE_DIRECTORY" &&

+patch -p1 <
"$SPELL_DIRECTORY/0001-include-stdint.h-explicitly-for-UINT16_MAX.patch" &&
+
sedit "s/-O2/$CFLAGS/" Makefile &&
sedit "s:DESTDIR=/usr/:DESTDIR=:" Makefile &&
sedit "s:/share/:/usr/share/:" Makefile &&



  • [SM-Commit] GIT changes to master grimoire by Remko van der Vossen (7b0e0cf9dcd1f5436b4ebceae60acb5d220e693b), Remko van der Vossen, 08/04/2017

Archive powered by MHonArc 2.6.24.

Top of Page