olga / rpms / glibc

Forked from rpms/glibc 5 years ago
Clone

Blame SOURCES/glibc-fedora-streams-rh436349.patch

00db10
This is part of commit glibc-2.3.3-1564-gd0b6ac6
00db10
00db10
* Fri Mar 14 2008 Jakub Jelinek <jakub@redhat.com> 2.7.90-11
00db10
- remove <stropts.h>, define _XOPEN_STREAMS -1 (#436349)
00db10
00db10
diff -Nru glibc-2.17-c758a686/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h glibc-2.17-c758a686/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h
00db10
--- glibc-2.17-c758a686/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h	2012-06-05 07:42:49.000000000 -0600
00db10
+++ glibc-2.17-c758a686/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h	2012-06-07 12:15:21.817318674 -0600
00db10
@@ -188,4 +188,7 @@
00db10
 /* Typed memory objects are not available.  */
00db10
 #define _POSIX_TYPED_MEMORY_OBJECTS	-1
00db10
 
00db10
+/* Streams are not available.  */
00db10
+#define _XOPEN_STREAMS	-1
00db10
+
00db10
 #endif /* bits/posix_opt.h */
00db10
diff -Nru glibc-2.17-c758a686/streams/Makefile glibc-2.17-c758a686/streams/Makefile
00db10
--- glibc-2.17-c758a686/streams/Makefile	2012-06-05 07:42:49.000000000 -0600
00db10
+++ glibc-2.17-c758a686/streams/Makefile	2012-06-07 12:15:21.824318649 -0600
00db10
@@ -20,7 +20,7 @@
00db10
 #
00db10
 subdir	:= streams
00db10
 
00db10
-headers		= stropts.h sys/stropts.h bits/stropts.h bits/xtitypes.h
00db10
+#headers		= stropts.h sys/stropts.h bits/stropts.h bits/xtitypes.h
00db10
 routines	= isastream getmsg getpmsg putmsg putpmsg fattach fdetach
00db10
 
00db10
 include ../Rules