diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-04-05 12:27:58 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-04-05 14:02:23 +0000 |
commit | ed783c070642845b1c73a2d80d196193475de757 (patch) | |
tree | 189d0d1154486cec07a843da12f8d77003165ce5 /main/fts | |
parent | 9dc0bbb61a3a717edefe59a86f2c1b73f9330719 (diff) | |
download | aports-ed783c070642845b1c73a2d80d196193475de757.tar.bz2 aports-ed783c070642845b1c73a2d80d196193475de757.tar.xz |
main/fts: build fix
needs include stdint.h
Diffstat (limited to 'main/fts')
-rw-r--r-- | main/fts/APKBUILD | 7 | ||||
-rw-r--r-- | main/fts/stdint.patch | 10 |
2 files changed, 15 insertions, 2 deletions
diff --git a/main/fts/APKBUILD b/main/fts/APKBUILD index 1abcf6b05b..e6f2850ec7 100644 --- a/main/fts/APKBUILD +++ b/main/fts/APKBUILD @@ -15,12 +15,14 @@ subpackages="$pkgname-dev $pkgname-doc" replaces_doc="man-pages" source="saveas-https://sites.google.com/a/bostic.com/keithbostic/files/fts.tar.gz?attredirects=0/fts.tar.gz fts-uclibc.patch - fts-header-correctness.patch" + fts-header-correctness.patch + stdint.patch" _builddir="${srcdir}/${pkgname}" prepare() { local i cd "$_builddir" + chmod +w *.c for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; @@ -50,4 +52,5 @@ package() { md5sums="120c14715485ec6ced14f494d059d20a fts.tar.gz 588fead4044bf535ff97298651aaab8f fts-uclibc.patch -b197744ece4ef9a5fa52692acf9b6666 fts-header-correctness.patch" +b197744ece4ef9a5fa52692acf9b6666 fts-header-correctness.patch +a8a5a8e81e1c67738aef00f3f13a718b stdint.patch" diff --git a/main/fts/stdint.patch b/main/fts/stdint.patch new file mode 100644 index 0000000000..1ad7157e58 --- /dev/null +++ b/main/fts/stdint.patch @@ -0,0 +1,10 @@ +--- ./fts.c.orig ++++ ./fts.c +@@ -46,6 +46,7 @@ + #include <errno.h> + #include <fcntl.h> + #include <fts.h> ++#include <stdint.h> + #include <stdlib.h> + #include <string.h> + #include <unistd.h> |