diff options
author | Bobby Bingham <koorogi@koorogi.info> | 2017-08-05 17:06:37 -0500 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-08-28 08:15:12 +0000 |
commit | 97f832b1bbd37633bc95dc19f05704221c7de919 (patch) | |
tree | a46c76ce19bee45de58e1d9ed230cf920c3d5436 | |
parent | ae44d71ab88f64f360a35f4eb36dcdb08099fb04 (diff) | |
download | aports-97f832b1bbd37633bc95dc19f05704221c7de919.tar.bz2 aports-97f832b1bbd37633bc95dc19f05704221c7de919.tar.xz |
main/libxshmfence: use futex instead of pthreads
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.
-rw-r--r-- | main/libxshmfence/APKBUILD | 5 |
1 files 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 } |