This is an automated email from the git hooks/post-receive script. sthibault pushed a commit to branch glibc-2.26 in repository glibc.
commit 993647ec071cd9655bc78cae08ec929e985a54ff Author: Samuel Thibault <samuel.thiba...@ens-lyon.org> Date: Sat Sep 2 23:02:48 2017 +0000 patches/hurd-i386/tg2.26-sched_param.diff: New patch --- debian/changelog | 2 +- debian/patches/hurd-i386/tg2.26-sched_param.diff | 51 ++++++++++++++++++++++++ debian/patches/series | 2 + 3 files changed, 54 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index a0a1774..ef03bf3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -46,7 +46,7 @@ glibc (2.26-0experimental0~ppa4) UNRELEASED; urgency=medium - patches/hurd-i386/tg-pipe2.diff: rebased. - patches/hurd-i386/tg-socket_flags.diff: rebased. - patches/hurd-i386/tg2.25-tls.diff: rebased. - + - patches/hurd-i386/tg2.26-sched_param.diff: New patch. -- Adam Conrad <adcon...@0c3.net> Sat, 02 Sep 2017 12:15:10 -0600 diff --git a/debian/patches/hurd-i386/tg2.26-sched_param.diff b/debian/patches/hurd-i386/tg2.26-sched_param.diff new file mode 100644 index 0000000..eaaf853 --- /dev/null +++ b/debian/patches/hurd-i386/tg2.26-sched_param.diff @@ -0,0 +1,51 @@ +From: Samuel Thibault <samuel.thiba...@ens-lyon.org> +Subject: [PATCH] Bring back __sched_param to bits/sched.h + +Upstream removed it because it doesn't use it, but we do: our pthread.h +includes thread-attr.h to bring the pthread_attr_t type to applications, +and thus needs the sched_param structure. + +Note: that uses __sched_param and not sched_param because thread-attr.h +is also also brought in from sys/types.h, which should not expose +sched_param if not requested to by applicationg defining _POSIX_SOURCE +and alike. + +Signed-off-by: Samuel Thibault <samuel.thiba...@ens-lyon.org> + +--- + bits/sched.h | 16 ++++++++++++++++ + 1 file changed, 16 insertions(+) + +diff --git a/bits/sched.h b/bits/sched.h +index 0588f3142e..e96ee3ba03 100644 +--- a/bits/sched.h ++++ b/bits/sched.h +@@ -17,6 +17,8 @@ + License along with the GNU C Library; if not, see + <http://www.gnu.org/licenses/>. */ + ++#ifndef __need_schedparam ++ + #ifndef _BITS_SCHED_H + #define _BITS_SCHED_H 1 + +@@ -36,3 +38,17 @@ struct sched_param + }; + + #endif /* bits/sched.h */ ++ ++#endif /* need schedparam */ ++ ++#if !defined __defined_schedparam \ ++ && (defined __need_schedparam || defined _SCHED_H) ++# define __defined_schedparam 1 ++/* Data structure to describe a process' schedulability. */ ++struct __sched_param ++ { ++ int __sched_priority; ++ }; ++# undef __need_schedparam ++#endif ++ +-- +tg: (854baea9b7..) t2.26/sched_param (depends on: baseline-2.26) diff --git a/debian/patches/series b/debian/patches/series index 871388f..20789ba 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -201,3 +201,5 @@ any/local-libpic.diff any/local-bootstrap-headers.diff any/submitted-resolv-unaligned.diff any/submitted-intl-tstgettext.diff + +hurd-i386/tg2.26-sched_param.diff -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git