aboutsummaryrefslogtreecommitdiffstats
path: root/main/zoneminder
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-04-02 16:27:20 +0300
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-04-02 16:27:33 +0300
commita59ac18a993c0ac314eb15c78ac25e82de70b9ed (patch)
tree82edc0425a8e0d6222e53d3b555e8e991d133701 /main/zoneminder
parentc2b0381fa2938ba661c00e3f6543480969b7ea54 (diff)
downloadaports-a59ac18a993c0ac314eb15c78ac25e82de70b9ed.tar.bz2
aports-a59ac18a993c0ac314eb15c78ac25e82de70b9ed.tar.xz
main/zoneminder: fix musl build
Diffstat (limited to 'main/zoneminder')
-rw-r--r--main/zoneminder/APKBUILD14
-rw-r--r--main/zoneminder/musl-fix.patch11
2 files changed, 20 insertions, 5 deletions
diff --git a/main/zoneminder/APKBUILD b/main/zoneminder/APKBUILD
index ab1467aadd..aedbfd6d25 100644
--- a/main/zoneminder/APKBUILD
+++ b/main/zoneminder/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
pkgname=zoneminder
pkgver=1.26.5
-pkgrel=2
+pkgrel=3
pkgdesc="Video camera surveillance system"
url="http://www.zoneminder.com/"
arch="x86_64"
@@ -18,7 +18,8 @@ makedepends="autoconf automake bash bzip2-dev ffmpeg-dev gnutls-dev
install=$pkgname.post-upgrade
subpackages=$pkgname-doc
source="https://github.com/ZoneMinder/ZoneMinder/archive/v${pkgver}.tar.gz
- $pkgname.initd"
+ $pkgname.initd
+ musl-fix.patch"
_builddir=$srcdir/ZoneMinder-$pkgver
prepare() {
@@ -55,8 +56,11 @@ package() {
}
md5sums="674afce36b8c197068d078835be61deb v1.26.5.tar.gz
-96c4d7da0e51bbe0f845fee3427f6f46 zoneminder.initd"
+96c4d7da0e51bbe0f845fee3427f6f46 zoneminder.initd
+d148970bda67b1e257bb3e1f48404f91 musl-fix.patch"
sha256sums="a10acfea5066bd2fbcdcb40f2ddfa81a00f1eaf9123b6090aca69d3318281eec v1.26.5.tar.gz
-3fcd14bb2c29808812737a2bed05bc77dbef5ac3e9092d96d4042ff88c17d626 zoneminder.initd"
+3fcd14bb2c29808812737a2bed05bc77dbef5ac3e9092d96d4042ff88c17d626 zoneminder.initd
+d5c1ce946c44e1979cc144f36930827da725919b9d53c1aee0e8749c4ff719d9 musl-fix.patch"
sha512sums="0cd63d9271f8a8284597db41f52d8ba764bd3644c54be50a03c8b72695347104266ed14e1a399949d986af370a15885aceec833980f4cdc4f7b953ee74d44cce v1.26.5.tar.gz
-7196c687b292ea8dae9a040154e2561d306d6557cd6b5282b102b162c591d41c1b25523fddc4ea52999b2ccd12c8335e52799443f5ffa2701370b9f4309b9662 zoneminder.initd"
+7196c687b292ea8dae9a040154e2561d306d6557cd6b5282b102b162c591d41c1b25523fddc4ea52999b2ccd12c8335e52799443f5ffa2701370b9f4309b9662 zoneminder.initd
+b62533a7d025afb9852b9ac6b10b20f030a900f34b16808f655c8e558a2bcf62c1913e278d7a6c8c600d0e4844d846c8cec43a9daf78332da2c1e8816a65776f musl-fix.patch"
diff --git a/main/zoneminder/musl-fix.patch b/main/zoneminder/musl-fix.patch
new file mode 100644
index 0000000000..72effe90a8
--- /dev/null
+++ b/main/zoneminder/musl-fix.patch
@@ -0,0 +1,11 @@
+--- ZoneMinder-1.26.5/src/zm_comms.h
++++ ZoneMinder-1.26.5.musl/src/zm_comms.h
+@@ -25,6 +25,8 @@
+ #include <unistd.h>
+ #include <netdb.h>
+ #include <errno.h>
++#include <string.h>
++#include <sys/uio.h>
+ #include <sys/un.h>
+
+ #include <set>