[glibc] Fix pthreadP.h include failure in the right way

Siddhesh Poyarekar siddhesh at fedoraproject.org
Thu Jul 3 17:14:06 UTC 2014


commit 92e8c5c41800c30b9b7e1ccad5136c72978a2fe6
Author: Siddhesh Poyarekar <siddhesh at redhat.com>
Date:   Thu Jul 3 21:28:40 2014 +0530

    Fix pthreadP.h include failure in the right way
    
    All other uses include nptl/pthreadP.h, so go that way instead of the
    extra -I flag.

 glibc-rtkaio.patch |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glibc-rtkaio.patch b/glibc-rtkaio.patch
index e6739a4..74e1679 100644
--- a/glibc-rtkaio.patch
+++ b/glibc-rtkaio.patch
@@ -544,7 +544,7 @@ diff -pruN glibc-2.17-931-g30bbc0c/rtkaio/Makefile glibc-2.17-931-g30bbc0c.new/r
 +
 +LDFLAGS-rtkaio.so = -Wl,-soname=lib$(libprefix)rt.so$(librt.so-version) \
 +		    -Wl,--enable-new-dtags,-z,nodelete
-+CPPFLAGS-librtkaio += -DIS_IN_librt=1 -I$(..)rt -I$(..)nptl
++CPPFLAGS-librtkaio += -DIS_IN_librt=1 -I$(..)rt
 +
 +rpath-dirs := $(patsubst rt,rtkaio,$(rpath-dirs))
 +
@@ -2261,7 +2261,7 @@ diff -pruN glibc-2.17-931-g30bbc0c/rtkaio/sysdeps/unix/sysv/linux/kaio_misc.h gl
 +   correct aio_suspend and lio_listio implementations.  */
 +
 +#include <assert.h>
-+#include <pthreadP.h>
++#include <nptl/pthreadP.h>
 +#include <lowlevellock.h>
 +
 +# define DONT_NEED_AIO_MISC_COND	1


More information about the scm-commits mailing list