Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Eric Sandall (c4093bbde49361a893f886e7f7678dc13d8591fa)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Eric Sandall <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Eric Sandall (c4093bbde49361a893f886e7f7678dc13d8591fa)
  • Date: Tue, 15 Aug 2017 23:09:24 +0000

GIT changes to master grimoire by Eric Sandall <sandalle AT sourcemage.org>:

libs/libtirpc/0007-include-stdint.h-for-uintptr_t.patch | 31
++++++++++++++++
libs/libtirpc/HISTORY | 6 +++
libs/libtirpc/PRE_BUILD | 5 ++
3 files changed, 42 insertions(+)

New commits:
commit c4093bbde49361a893f886e7f7678dc13d8591fa
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

libtirpc: Apply patch for glibc 2.26+ (Bug #16039)

0007-include-stdint.h-for-uintptr_t.patch from
https://github.com/buildroot/buildroot/blob/master/package/libtirpc/0007-include-stdint.h-for-uintptr_t.patch
and

http://buildroot-busybox.2317881.n4.nabble.com/PATCH-libtirpc-Fix-build-error-due-to-missing-stdint-h-inclusion-td167639.html

diff --git a/libs/libtirpc/0007-include-stdint.h-for-uintptr_t.patch
b/libs/libtirpc/0007-include-stdint.h-for-uintptr_t.patch
new file mode 100644
index 0000000..6203161
--- /dev/null
+++ b/libs/libtirpc/0007-include-stdint.h-for-uintptr_t.patch
@@ -0,0 +1,31 @@
+From 18f8a605e176f0362da22fd1203eb7cedb136aaf Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem AT gmail.com>
+Date: Tue, 20 Jun 2017 22:06:35 +0200
+Subject: [PATCH] include stdint.h for uintptr_t
+
+Fixes
+| ../../libtirpc-1.0.1/src/xdr_sizeof.c:93:13: error: 'uintptr_t' undeclared
(first use in this function); did you mean '__intptr_t'?
+| if (len < (uintptr_t)xdrs->x_base) {
+| ^~~~~~~~~
+
+Signed-off-by: Khem Raj <raj.khem AT gmail.com>
+Signed-off-by: Dmitrii Kolesnichenko <dmitrii AT synopsys.com>
+---
+ src/xdr_sizeof.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/xdr_sizeof.c b/src/xdr_sizeof.c
+index d23fbd1..79d6707 100644
+--- a/src/xdr_sizeof.c
++++ b/src/xdr_sizeof.c
+@@ -39,6 +39,7 @@
+ #include <rpc/xdr.h>
+ #include <sys/types.h>
+ #include <stdlib.h>
++#include <stdint.h>
+ #include "un-namespace.h"
+
+ /* ARGSUSED */
+--
+2.9.4
+
diff --git a/libs/libtirpc/HISTORY b/libs/libtirpc/HISTORY
index 3b9ac45..4f381b7 100644
--- a/libs/libtirpc/HISTORY
+++ b/libs/libtirpc/HISTORY
@@ -1,3 +1,9 @@
+2017-08-15 Eric Sandall <sandalle AT sourcemage.org>
+ * PRE_BUILD: Apply patch for glibc 2.26+ (Bug #16039)
+ * 0007-include-stdint.h-for-uintptr_t.patch from
+
https://github.com/buildroot/buildroot/blob/master/package/libtirpc/0007-include-stdint.h-for-uintptr_t.patch
and
+
http://buildroot-busybox.2317881.n4.nabble.com/PATCH-libtirpc-Fix-build-error-due-to-missing-stdint-h-inclusion-td167639.html
+
2017-07-19 Eric Sandall <sandalle AT sourcemage.org>
* DEPENDS: 1.x depends on krb5 for GSSAPI support

diff --git a/libs/libtirpc/PRE_BUILD b/libs/libtirpc/PRE_BUILD
new file mode 100755
index 0000000..37ed548
--- /dev/null
+++ b/libs/libtirpc/PRE_BUILD
@@ -0,0 +1,5 @@
+default_pre_build &&
+
+message "${MESSAGE_COLOR}Patching for glibc 2.26+...${DEFAULT_COLOR}" &&
+patch "${SOURCE_DIRECTORY}"/src/xdr_sizeof.c \
+ "${SCRIPT_DIRECTORY}"/0007-include-stdint.h-for-uintptr_t.patch



  • [SM-Commit] GIT changes to master grimoire by Eric Sandall (c4093bbde49361a893f886e7f7678dc13d8591fa), Eric Sandall, 08/18/2017

Archive powered by MHonArc 2.6.24.

Top of Page