summaryrefslogtreecommitdiffstats
path: root/abs/core/mesa/remove-libpthread-stubs.patch
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2017-03-29 17:14:47 (GMT)
committerBritney Fransen <brfransen@gmail.com>2017-03-29 17:14:47 (GMT)
commit7593a128607420b10a7317ff1bf2be2142073d3a (patch)
tree8e02d069bc17741fdc6700a581ea77599ac86dfc /abs/core/mesa/remove-libpthread-stubs.patch
parentd914020b4fb3fd3c7372644cf71026ea8e21ea94 (diff)
downloadlinhes_pkgbuild-7593a128607420b10a7317ff1bf2be2142073d3a.zip
linhes_pkgbuild-7593a128607420b10a7317ff1bf2be2142073d3a.tar.gz
linhes_pkgbuild-7593a128607420b10a7317ff1bf2be2142073d3a.tar.bz2
mesa: update to 17.0.2
Diffstat (limited to 'abs/core/mesa/remove-libpthread-stubs.patch')
-rw-r--r--abs/core/mesa/remove-libpthread-stubs.patch25
1 files changed, 12 insertions, 13 deletions
diff --git a/abs/core/mesa/remove-libpthread-stubs.patch b/abs/core/mesa/remove-libpthread-stubs.patch
index 5b44d03..efe8aad 100644
--- a/abs/core/mesa/remove-libpthread-stubs.patch
+++ b/abs/core/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"
+ ;;
+ * )