aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-01-14 08:12:23 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-01-14 08:12:23 +0000
commitcdc3d5f876e9dfbe222c3a09887ac5e9ec680d50 (patch)
tree0ff744d7a830d6fea4d349ca6c6e696117713e25 /main
parent28fe8399aded0c62559f7913c1d5c5107010401b (diff)
downloadaports-cdc3d5f876e9dfbe222c3a09887ac5e9ec680d50.tar.bz2
aports-cdc3d5f876e9dfbe222c3a09887ac5e9ec680d50.tar.xz
main/fsic: build fix for musl
we need include limits.h for PATH_MAX
Diffstat (limited to 'main')
-rw-r--r--main/sfic/APKBUILD12
-rw-r--r--main/sfic/limits.patch12
2 files changed, 23 insertions, 1 deletions
diff --git a/main/sfic/APKBUILD b/main/sfic/APKBUILD
index 161308a94f..f2c82edb0e 100644
--- a/main/sfic/APKBUILD
+++ b/main/sfic/APKBUILD
@@ -1,7 +1,7 @@
pkgdesc="Small and Simple File Integrity Checker"
pkgname=sfic
pkgver=0.1.7
-pkgrel=4
+pkgrel=5
depends=
arch="all"
license=GPL
@@ -10,6 +10,7 @@ depends=
url=http://sfic.sourceforge.net
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
$pkgname-0.1.7-signal.patch
+ limits.patch
automake.patch"
subpackages="$pkgname-doc"
@@ -45,4 +46,13 @@ package() {
md5sums="6197f7a1e8b0fc4887d4573f67b7bb81 sfic-0.1.7.tar.gz
e0c284f8b4e355b3ea52927fb02e163a sfic-0.1.7-signal.patch
+c316f8ef8abf1be61d805017daed0956 limits.patch
589e32798726f5da2c66eed34f178591 automake.patch"
+sha256sums="79b08df2a51adf334081482971b76f500c6b1763fed09959d1d9a33de9029525 sfic-0.1.7.tar.gz
+cbee58eb542f0ad8fb8cc9f71d8edca0f8827cb97ba27c8d5cc1acb295e13612 sfic-0.1.7-signal.patch
+788ed51e2f63ff41763bb9556635398163615356a070f6f7ac41fa7ba7bd47a7 limits.patch
+06a760b07d47f4ca6c3b4bc6ac7ea6fdeaccabd71edeb6d7c8c117686067589f automake.patch"
+sha512sums="99c0d395922e2e243dd12a4ba84222e2b5b8a6de1e3d350f4e2dc4cba9c24511a249edcef161bf9eabe3a98491dff10e67c7dd7cf80f20f09611d24c1982645e sfic-0.1.7.tar.gz
+f405b9c07160bd3db613fbf78caa5c898e2cee152e92f701783d99a310b6a50a00d313b8fba88d6308a165697fd12265739ecbfae413a39f3ab5120228efd66c sfic-0.1.7-signal.patch
+efd77cb8820bd29d6206d8de7647d16da7615c9a97382eadbe03bb54525ae430147abbe2986e3a22439b5ef7ba9feb6080d85841262a8a03f0aff53fc0a0a501 limits.patch
+b1f888e231fd0079067ff5904f42b430a11ad0fc8c846cf085318811e1d828ecc2251240472d71d14c3090669123d1a0ce24c987e86b7eb3977eb3e520a969a4 automake.patch"
diff --git a/main/sfic/limits.patch b/main/sfic/limits.patch
new file mode 100644
index 0000000000..d0e462be32
--- /dev/null
+++ b/main/sfic/limits.patch
@@ -0,0 +1,12 @@
+diff --git a/src/sfic.c b/src/sfic.c
+index ebf2ebb..9ea77eb 100644
+--- a/src/sfic.c
++++ b/src/sfic.c
+@@ -26,6 +26,7 @@
+ #include <config.h>
+ #endif
+
++#include <limits.h>
+ #include <stdio.h>
+ #include <unistd.h>
+ #include <stdlib.h>