From 14999638424d9265c95e6fd2ddfadcff59ac0413 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 08 2020 11:31:47 +0000 Subject: Apply patch glibc-fedora-streams-rh436349.patch patch_name: glibc-fedora-streams-rh436349.patch present_in_specfile: true location_in_specfile: 10 --- diff --git a/streams/Makefile b/streams/Makefile index ac8963c..04922fa 100644 --- a/streams/Makefile +++ b/streams/Makefile @@ -22,7 +22,7 @@ subdir := streams include ../Makeconfig -headers = stropts.h sys/stropts.h bits/stropts.h bits/xtitypes.h +#headers = stropts.h sys/stropts.h bits/stropts.h bits/xtitypes.h routines = isastream getmsg getpmsg putmsg putpmsg fattach fdetach include ../Rules diff --git a/sysdeps/unix/sysv/linux/bits/posix_opt.h b/sysdeps/unix/sysv/linux/bits/posix_opt.h index 2339d4a..3d19b86 100644 --- a/sysdeps/unix/sysv/linux/bits/posix_opt.h +++ b/sysdeps/unix/sysv/linux/bits/posix_opt.h @@ -188,4 +188,7 @@ /* Typed memory objects are not available. */ #define _POSIX_TYPED_MEMORY_OBJECTS -1 +/* Streams are not available. */ +#define _XOPEN_STREAMS -1 + #endif /* bits/posix_opt.h */