aboutsummaryrefslogtreecommitdiffstats
path: root/main/libbluray/APKBUILD
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2012-10-30 21:12:39 +0200
committerTimo Teräs <timo.teras@iki.fi>2012-10-30 21:12:39 +0200
commit8ad622b8889566d57d249a8af0c1e4bbfb6e38a4 (patch)
treef60bc6409671c2a4437bec1e195a0839f48f9dc1 /main/libbluray/APKBUILD
parent88fd20aa7ac87089becdc3d4f53f6ce6f5c399e6 (diff)
downloadaports-8ad622b8889566d57d249a8af0c1e4bbfb6e38a4.tar.bz2
aports-8ad622b8889566d57d249a8af0c1e4bbfb6e38a4.tar.xz
main/libbluray: upgrade to 0.2.3
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"