aboutsummaryrefslogtreecommitdiffstats
path: root/main/libbluray/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libbluray/APKBUILD')
-rw-r--r--main/libbluray/APKBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/main/libbluray/APKBUILD b/main/libbluray/APKBUILD
index 78b608d552..180e8cbfed 100644
--- a/main/libbluray/APKBUILD
+++ b/main/libbluray/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=libbluray
-pkgver=0.2.2
+pkgver=0.2.3
pkgrel=0
pkgdesc="a library designed for Blu-Ray Discs playback"
url="http://www.videolan.org/developers/libbluray.html"
@@ -27,6 +27,12 @@ prepare() {
build() {
cd "$_builddir"
+
+ # uclibc needs _BSD_SOURCE to provide strdup() from string.h
+ # glibc (since 2.12) does this with _POSIX_C_SOURCE >= 200809L too
+ # and this seems to be what libbluray assumes
+ export CFLAGS="$CFLAGS -D_BSD_SOURCE"
+
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
@@ -42,4 +48,4 @@ package() {
rm -f "$pkgdir"/usr/lib/*.la
}
-md5sums="cb3254de43276861ea6b07c603f4651c libbluray-0.2.2.tar.bz2"
+md5sums="684e420d2ebafa13786ae84364543cf9 libbluray-0.2.3.tar.bz2"