Skip to Content.
Sympa Menu

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

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 (dd672ca6cf7067ad97f6a325425cdcd4cd7e0ea2)
  • Date: Wed, 16 Aug 2017 00:10:06 +0000

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

libs/libnsl/HISTORY | 5 +++++
libs/libnsl/PRE_BUILD | 3 +++
libs/libnsl/glibc-2.26.patch | 24 ++++++++++++++++++++++++
3 files changed, 32 insertions(+)

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

libnsl: Fix compilation against glibc 2.26+

from
https://github.com/thkukuk/libnsl/pull/2/commits/08beb6355669c71420fd9ce248b429d64f929d3a

diff --git a/libs/libnsl/HISTORY b/libs/libnsl/HISTORY
index 970390b..57e5117 100644
--- a/libs/libnsl/HISTORY
+++ b/libs/libnsl/HISTORY
@@ -1,3 +1,8 @@
+2017-08-15 Eric Sandall <sandalle AT sourcemage.org>
+ * PRE_BUILD: Apply glibc-2.26.patch
+ * glibc-2.26.patch: Fix compilation against glibc 2.26+
+ from
https://github.com/thkukuk/libnsl/pull/2/commits/08beb6355669c71420fd9ce248b429d64f929d3a
+
2017-08-08 Treeve Jelbert <treeve AT sourcemage.org>
* DETAILS: version 1.0.5
spell created
diff --git a/libs/libnsl/PRE_BUILD b/libs/libnsl/PRE_BUILD
index c51d7b2..4dd1a9a 100755
--- a/libs/libnsl/PRE_BUILD
+++ b/libs/libnsl/PRE_BUILD
@@ -1,3 +1,6 @@
default_pre_build &&
+message "${MESSAGE_COLOR}Applying glibc 2.26+ patch...${DEFAULT_COLOR}" &&
+patch "${SOURCE_DIRECTORY}"/src/nisplus/nis_call.c \
+ "${SCRIPT_DIRECTORY}"/glibc-2.26.patch &&
cd $SOURCE_DIRECTORY &&
autoreconf -f -i --symlink
diff --git a/libs/libnsl/glibc-2.26.patch b/libs/libnsl/glibc-2.26.patch
new file mode 100644
index 0000000..f4477e2
--- /dev/null
+++ b/libs/libnsl/glibc-2.26.patch
@@ -0,0 +1,24 @@
+# From
https://github.com/thkukuk/libnsl/commit/08beb6355669c71420fd9ce248b429d64f929d3a?diff=unified
+From 08beb6355669c71420fd9ce248b429d64f929d3a Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem AT gmail.com>
+Date: Fri, 9 Jun 2017 09:49:35 -0700
+Subject: [PATCH] nis_call.c: Include stdint.h for uintptr_t definition
+
+Signed-off-by: Khem Raj <raj.khem AT gmail.com>
+---
+ src/nisplus/nis_call.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/nisplus/nis_call.c b/src/nisplus/nis_call.c
+index 1a2b90c..1dc982d 100644
+--- a/src/nisplus/nis_call.c
++++ b/src/nisplus/nis_call.c
+@@ -23,6 +23,7 @@
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <string.h>
++#include <stdint.h>
+ #include <libintl.h>
+ #include <rpc/rpc.h>
+ #include <rpc/auth.h>
+



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

Archive powered by MHonArc 2.6.24.

Top of Page