diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-03-03 10:50:22 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-03-03 13:03:42 +0000 |
commit | aa2568798bf5bbe382fbfe1e79277856e4f3dee7 (patch) | |
tree | 73ce2e9f60e0367e7b8facafb9b94e0a4b37463e /main | |
parent | 26783fe8e1dfe3100f934c142a3254c839c0cae0 (diff) | |
download | aports-aa2568798bf5bbe382fbfe1e79277856e4f3dee7.tar.bz2 aports-aa2568798bf5bbe382fbfe1e79277856e4f3dee7.tar.xz |
main/sysctl: build fix for musl
Diffstat (limited to 'main')
-rw-r--r-- | main/cpulimit/APKBUILD | 6 | ||||
-rw-r--r-- | main/cpulimit/no-sysctl.patch | 10 |
2 files changed, 15 insertions, 1 deletions
diff --git a/main/cpulimit/APKBUILD b/main/cpulimit/APKBUILD index e377aeda3..5f70a8082 100644 --- a/main/cpulimit/APKBUILD +++ b/main/cpulimit/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=cpulimit pkgver=0.0.2012.06.05 -pkgrel=2 +pkgrel=3 pkgdesc="CPU usage limiter for Linux" url="https://github.com/opsengine/cpulimit" arch="all" @@ -12,6 +12,7 @@ makedepends="$depends_dev" install="" subpackages="" source="http://dev.alpinelinux.org/archive/cpulimit/cpulimit-$pkgver.tar.gz + no-sysctl.patch fix-crash-on-sigquit.patch" _builddir="$srcdir"/cpulimit @@ -36,8 +37,11 @@ package() { } md5sums="34796b9b49c622d1d2b3adb97b3cf965 cpulimit-0.0.2012.06.05.tar.gz +3190926c02130090757376f0b4f2b73d no-sysctl.patch 664a233f3057e9c0ad245ef4a72e51cd fix-crash-on-sigquit.patch" sha256sums="032031fa8b8c1254f2e264bced4c2ba56b1a5927f4229460abacff204e31bbbb cpulimit-0.0.2012.06.05.tar.gz +9b4118a5a77d2884ea38d657bac6dcf54232e990537c1fb73fbb4a852423d508 no-sysctl.patch 3f4def082aa9c7e0db809668ed3be8ab646bb724dfe6c0b45dc41fbd7f461334 fix-crash-on-sigquit.patch" sha512sums="b5fc0c5508f1c608dda7d193b583a60280553995e74e371592378185ccdcf39f9f4471659257a9f360bcb35dc27b62effe95b059750126677284978cc9792bc0 cpulimit-0.0.2012.06.05.tar.gz +13ddc48d810bdc28131babb653a06bd8ec25c6108fdbd34f2901c977d6fa6102d5e9c142e5a357711304272c97c2adb7fbf17164f0efdf4b4433ad271af9d09b no-sysctl.patch ca8087673a9eeefcf0c00273870123831e0faa842092b6fcec4864cd33c3d0b2538e02853bdc8744c4f53b12f8969042b77668010df6e986b728784571db2e4e fix-crash-on-sigquit.patch" diff --git a/main/cpulimit/no-sysctl.patch b/main/cpulimit/no-sysctl.patch new file mode 100644 index 000000000..bd6a04468 --- /dev/null +++ b/main/cpulimit/no-sysctl.patch @@ -0,0 +1,10 @@ +--- ./src/cpulimit.c.orig ++++ ./src/cpulimit.c +@@ -38,7 +38,6 @@ + #include <string.h> + #include <sys/stat.h> + #include <sys/time.h> +-#include <sys/sysctl.h> + #include <sys/resource.h> + #include <sys/types.h> + #include <sys/wait.h> |