]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - glibc/patches/glibc-fedora-streams-rh436349.patch
44b9195d10ce358ae6ea9bcc43339e4ae2487734
[people/amarx/ipfire-3.x.git] / glibc / patches / glibc-fedora-streams-rh436349.patch
1 This is part of commit glibc-2.3.3-1564-gd0b6ac6
2
3 * Fri Mar 14 2008 Jakub Jelinek <jakub@redhat.com> 2.7.90-11
4 - remove <stropts.h>, define _XOPEN_STREAMS -1 (#436349)
5
6 diff -Nrup a/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h b/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h
7 --- a/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h 2012-06-05 07:42:49.000000000 -0600
8 +++ b/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h 2012-06-07 12:15:21.817318674 -0600
9 @@ -188,4 +188,7 @@
10 /* Typed memory objects are not available. */
11 #define _POSIX_TYPED_MEMORY_OBJECTS -1
12
13 +/* Streams are not available. */
14 +#define _XOPEN_STREAMS -1
15 +
16 #endif /* bits/posix_opt.h */
17 diff -Nrup a/streams/Makefile b/streams/Makefile
18 --- a/streams/Makefile 2012-06-05 07:42:49.000000000 -0600
19 +++ b/streams/Makefile 2012-06-07 12:15:21.824318649 -0600
20 @@ -20,7 +20,7 @@
21 #
22 subdir := streams
23
24 -headers = stropts.h sys/stropts.h bits/stropts.h bits/xtitypes.h
25 +#headers = stropts.h sys/stropts.h bits/stropts.h bits/xtitypes.h
26 routines = isastream getmsg getpmsg putmsg putpmsg fattach fdetach
27
28 include ../Rules