[glibc] 03/04: debian/patches/any/local-bits-sigstack.diff: new patch to fix <bits/sigstack.h> on Hurd and kFreeBSD.
This is an automated email from the git hooks/post-receive script.
aurel32 pushed a commit to branch glibc-2.25
in repository glibc.
commit 6d76e90c6a33f7f0aef7b4102fdc06d684db7a58
Author: Aurelien Jarno <aurelien@aurel32.net>
Date: Sat Aug 5 01:53:27 2017 +0200
debian/patches/any/local-bits-sigstack.diff: new patch to fix <bits/sigstack.h> on Hurd and kFreeBSD.
---
debian/changelog | 2 ++
debian/patches/any/local-bits-sigstack.diff | 16 ++++++++++++++++
debian/patches/series | 1 +
3 files changed, 19 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index a2e3be6..9276e93 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,8 @@ glibc (2.25-0experimental1) UNRELEASED; urgency=medium
* debian/patches/kfreebsd/local-sysdeps.diff, local-fbtl.diff:
update to revision 6171 (from glibc-bsd).
* testsuite-xfail-debian.mk: update for kfreebsd-i386.
+ * debian/patches/any/local-bits-sigstack.diff: new patch to fix
+ <bits/sigstack.h> on Hurd and kFreeBSD.
-- Aurelien Jarno <aurel32@debian.org> Wed, 02 Aug 2017 19:03:14 +0200
diff --git a/debian/patches/any/local-bits-sigstack.diff b/debian/patches/any/local-bits-sigstack.diff
new file mode 100644
index 0000000..563e15f
--- /dev/null
+++ b/debian/patches/any/local-bits-sigstack.diff
@@ -0,0 +1,16 @@
+Fix stack_t header hygiene on Hurd/kFreeBSD
+
+Done upstream in the linux version in c66b29f9cce9bf7c67d55879dff5e4cd03ecfac1.
+Fixed in 2.26 in a different way.
+
+--- a/bits/sigstack.h
++++ b/bits/sigstack.h
+@@ -23,6 +23,8 @@
+ # error "Never include this file directly. Use <signal.h> instead"
+ #endif
+
++#define __need_size_t
++#include <stddef.h>
+
+ /* Structure describing a signal stack (obsolete). */
+ struct sigstack
diff --git a/debian/patches/series b/debian/patches/series
index 2273e01..a8e1422 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -209,3 +209,4 @@ any/local-libpic.diff
any/local-bootstrap-headers.diff
any/submitted-unicode-9.0.0.diff
any/cvs-malloc-hardening.diff
+any/local-bits-sigstack.diff
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git
Reply to: