aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/monit/APKBUILD6
-rw-r--r--main/monit/musl-fix.patch13
2 files changed, 18 insertions, 1 deletions
diff --git a/main/monit/APKBUILD b/main/monit/APKBUILD
index efa81944dc..6d2e476b45 100644
--- a/main/monit/APKBUILD
+++ b/main/monit/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=monit
pkgver=5.6
-pkgrel=1
+pkgrel=2
pkgdesc="Managing and monitoring on a UNIX system"
url="http://mmonit.com/monit/"
arch="all"
@@ -13,6 +13,7 @@ makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="http://mmonit.com/monit/dist/monit-$pkgver.tar.gz
+ musl-fix.patch
$pkgname.initd"
_builddir="$srcdir"/$pkgname-$pkgver
@@ -53,8 +54,11 @@ package() {
}
md5sums="19dfc1ce8512e832134d06eedd96ba50 monit-5.6.tar.gz
+a2288c7bd06f98e85e81969115912ff4 musl-fix.patch
c3162a769081f3759e3fae2a672a8a61 monit.initd"
sha256sums="38e09bd8b39abc59e6b9a9bb7a78f7eac2b02a92f4de1f3a6dc24e84dfedae0d monit-5.6.tar.gz
+92052d1642924e024a97158479138e83454e3ddbf1c4c9866691fd0664c52797 musl-fix.patch
78c013bb1258895a262c670a730e1319ea0f1140bbc3ca2f8dfc85ec02f923a1 monit.initd"
sha512sums="36933b6560860eac39421a56726c8748e2ce0f16ee51149828e6ffcb77edf3ce73394c2b58e208f6614712e7c6e0e114bc92e911794503b89793b225199193b8 monit-5.6.tar.gz
+7718737ca30d5ff702b97789c7dd1cb45e5a23b9c86b761e10d8e66d382e45f87a1ee268cf64739b99ad8901417f0ab0d94ac47fef7ee5a6c6f77e38a9355ce5 musl-fix.patch
20fb54b251fd97e8014a35940a8cab1ca0de4c1ec3bcc05d2a9091585187759c1ce77cd5f872dde01fa91118d61e9ed3ec0650d09d7e767e78b42c68c1d35b64 monit.initd"
diff --git a/main/monit/musl-fix.patch b/main/monit/musl-fix.patch
new file mode 100644
index 0000000000..6ed0d9a614
--- /dev/null
+++ b/main/monit/musl-fix.patch
@@ -0,0 +1,13 @@
+--- monit-5.6.old/src/process/sysdep_LINUX.c
++++ monit-5.6/src/process/sysdep_LINUX.c
+@@ -79,6 +79,10 @@
+ #include <glob.h>
+ #endif
+
++#ifndef GLOB_ONLYDIR
++#define GLOB_ONLYDIR 0
++#endif
++
+ #ifndef HZ
+ # define HZ sysconf(_SC_CLK_TCK)
+ #endif