Ice: add musl patch.
This commit is contained in:
parent
35c04068b5
commit
7703faca1e
2 changed files with 12 additions and 1 deletions
11
srcpkgs/Ice/patches/fix-musl.patch
Normal file
11
srcpkgs/Ice/patches/fix-musl.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- cpp/include/IceUtil/Mutex.h.orig 2016-03-27 17:49:17.579001730 +0200
|
||||||
|
+++ cpp/include/IceUtil/Mutex.h 2016-03-27 17:51:56.591989829 +0200
|
||||||
|
@@ -231,7 +231,7 @@ Mutex::init(MutexProtocol
|
||||||
|
// Enable mutex error checking in debug builds
|
||||||
|
//
|
||||||
|
#ifndef NDEBUG
|
||||||
|
-#if defined(__linux) && !defined(__USE_UNIX98)
|
||||||
|
+#if defined(__linux) && !defined(__USE_UNIX98) && defined(PTHREAD_MUTEX_ERRORCHECK_NP)
|
||||||
|
rc = pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK_NP);
|
||||||
|
#else
|
||||||
|
rc = pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK);
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'Ice'
|
# Template file for 'Ice'
|
||||||
pkgname=Ice
|
pkgname=Ice
|
||||||
version=3.5.1
|
version=3.5.1
|
||||||
revision=10
|
revision=11
|
||||||
build_wrksrc=cpp
|
build_wrksrc=cpp
|
||||||
homepage="http://www.zeroc.com"
|
homepage="http://www.zeroc.com"
|
||||||
# XXX: other language bindings
|
# XXX: other language bindings
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue