diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-11-01 02:15:55 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-11-01 02:15:55 -0300 |
commit | d8970eb7cb8498551de68da6b0818ad7121fe456 (patch) | |
tree | c4cc9c04c675b2fceefb8bb99a4408aabc7f082c /libre-multilib/lib32-opencl-mesa/remove-libpthread-stubs.patch | |
parent | 13c69fddd9140ddcef6c84e2531816c36bad054d (diff) | |
download | abslibre-d8970eb7cb8498551de68da6b0818ad7121fe456.tar.gz abslibre-d8970eb7cb8498551de68da6b0818ad7121fe456.tar.bz2 abslibre-d8970eb7cb8498551de68da6b0818ad7121fe456.zip |
lib32-opencl-mesa: minor fix
Diffstat (limited to 'libre-multilib/lib32-opencl-mesa/remove-libpthread-stubs.patch')
-rw-r--r-- | libre-multilib/lib32-opencl-mesa/remove-libpthread-stubs.patch | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/libre-multilib/lib32-opencl-mesa/remove-libpthread-stubs.patch b/libre-multilib/lib32-opencl-mesa/remove-libpthread-stubs.patch index 5b44d03cc..efe8aaddd 100644 --- a/libre-multilib/lib32-opencl-mesa/remove-libpthread-stubs.patch +++ b/libre-multilib/lib32-opencl-mesa/remove-libpthread-stubs.patch @@ -1,14 +1,13 @@ -diff -ur mesa-orig/configure.ac mesa-origb/configure.ac ---- mesa-orig/configure.ac 2016-05-25 15:37:44.191643017 +0200 -+++ mesa-origb/configure.ac 2016-05-25 15:42:20.861654709 +0200 -@@ -813,10 +813,6 @@ - dnl pkgconfig files. - test -z "$PTHREAD_LIBS" && PTHREAD_LIBS="-lpthread" +diff --git a/configure.ac b/configure.ac +index 54416b4..8a708d3 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -824,7 +824,7 @@ test -z "$PTHREAD_LIBS" && PTHREAD_LIBS="-lpthread" --PKG_CHECK_MODULES(PTHREADSTUBS, pthread-stubs) --AC_SUBST(PTHREADSTUBS_CFLAGS) --AC_SUBST(PTHREADSTUBS_LIBS) -- - dnl SELinux awareness. - AC_ARG_ENABLE([selinux], - [AS_HELP_STRING([--enable-selinux], + dnl pthread-stubs is mandatory on targets where it exists + case "$host_os" in +-cygwin* ) ++cygwin* | linux* ) + pthread_stubs_possible="no" + ;; + * ) |