aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2021-09-29 16:49:34 +0300
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2021-09-29 16:50:08 +0300
commit2f625421acb0df13caee6f2de6bcdea668caf3e1 (patch)
tree4612c038e6236cf5bf61fc508fdf38db4938156f
parenteb10fcaa16a7fec6185d324390f6e38bfc13f3e4 (diff)
downloadaports-2f625421acb0df13caee6f2de6bcdea668caf3e1.tar.gz
aports-2f625421acb0df13caee6f2de6bcdea668caf3e1.tar.bz2
aports-2f625421acb0df13caee6f2de6bcdea668caf3e1.tar.xz
community/zoneminder: fix build on ppc64le
-rw-r--r--community/zoneminder/APKBUILD4
-rw-r--r--community/zoneminder/musl-fix.patch10
2 files changed, 12 insertions, 2 deletions
diff --git a/community/zoneminder/APKBUILD b/community/zoneminder/APKBUILD
index d869b66aab..76949ea81c 100644
--- a/community/zoneminder/APKBUILD
+++ b/community/zoneminder/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
pkgname=zoneminder
pkgver=1.36.7
-pkgrel=0
+pkgrel=1
_crud=14292374ccf1328f2d5db20897bd06f99ba4d938
_enum=ea90c0cd7f6e24333a90885e563b5d30b793db29
_rtsp=cd7fd49becad6010a1b8466bfebbd93999a39878
@@ -135,5 +135,5 @@ sha512sums="
75f2188e548b98191c8df82fb76e918f3bda9788f541449df8fa92449ad19aa0b9c13420dd91c760e08a4d31956ad51602242ab97e3bd4460f01e99f49992453 CakePHP-Enum-Behavior-ea90c0cd7f6e24333a90885e563b5d30b793db29.tar.gz
da58528686baf05385ad08079f965bce10eba6d599133ab773e9ab1f9e4b7d82cf5431b4b773317b90effb16e0b026a029bdfabe08a9ef1a5e9b94e7a1c2ea9e crud-14292374ccf1328f2d5db20897bd06f99ba4d938.tar.gz
ae02daacc41e2b32ca0da5cf407c05447a5ce8e0cf035421111856511dc1075da75d9da32f8f013940c631215a62f3133860b35225bda405230b94a6b097c865 zoneminder.initd
-995763340ad2fe143883ff6df462d85e04cb66b6be01f36f48c71922dd73d629ad2225c07080eefdbfb7b6c045416b8fd8bb07a98782fdc0af6d510e34d939a8 musl-fix.patch
+b1ca1fd225092a092d3ec2903d02b66a5698b7c1106eeed8627d7c954cf4f7d91b8ca7db3eb351fb8c7b585678091c2fcf2f8adb8cbfceea9e0494f9a71cd30f musl-fix.patch
"
diff --git a/community/zoneminder/musl-fix.patch b/community/zoneminder/musl-fix.patch
index 75befbb9be..2f8faebf4f 100644
--- a/community/zoneminder/musl-fix.patch
+++ b/community/zoneminder/musl-fix.patch
@@ -1,3 +1,13 @@
+--- zoneminder-1.36.7/src/zm_comms.h
++++ zoneminder-1.36.7.musl/src/zm_comms.h
+@@ -25,6 +25,7 @@
+ #include <cerrno>
+ #include <netdb.h>
+ #include <set>
++#include <string.h>
+ #include <sys/uio.h>
+ #include <sys/un.h>
+ #include <unistd.h>
--- zoneminder-1.36.7/src/zm_stream.cpp
+++ zoneminder-1.36.7.musl/src/zm_stream.cpp
@@ -22,9 +22,11 @@