Patches for aports can be sent to this list

[alpine-aports] [PATCH] main/libxshmfence: use futex instead of pthreads

Bobby Bingham
Details
Message ID
<20170805220637.1559-1-koorogi@koorogi.info>
Sender timestamp
1501970797
DKIM signature
missing
Download raw message
Patch: +3 -2
This library uses a synchronization primitive in shared memory.  The
pthreads types are not the same size between 32- and 64-bit, which means
that a 32-bit binary using mesa cannot be used with a 64-bit X server.

The futex backend does not have this problem.
---
 main/libxshmfence/APKBUILD | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/main/libxshmfence/APKBUILD b/main/libxshmfence/APKBUILD
index 01d2c9a84d..c623fc3fd6 100644
--- a/main/libxshmfence/APKBUILD
+++ b/main/libxshmfence/APKBUILD
@@ -2,13 +2,13 @@
 # Maintainer:
 pkgname=libxshmfence
 pkgver=1.2
-pkgrel=0
+pkgrel=1
 pkgdesc="X11 shared memory fences"
 url="http://www.x.org/"
 arch="all"
 license="MIT"
 depends=""
-depends_dev="xproto"
+depends_dev="xproto linux-headers"
 makedepends="$depends_dev"
 install=""
 subpackages="$pkgname-dev"
@@ -32,6 +32,7 @@ build() {
 		--host=$CHOST \
 		--prefix=/usr \
 		--disable-static \
+		--enable-futex \
 		|| return 1
 	make || return 1
 }
-- 
2.13.3



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---