diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-01-25 20:02:27 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-01-25 20:02:27 -0600 |
commit | 7d7895c8669b8ea5f434d7cff0bd7f542481c79b (patch) | |
tree | 2b78d330f84246bb886a105152745a961f9e0a3c | |
parent | 24418f018912b5bca09d2dd26fc69f5898ae33ba (diff) | |
download | aports-7d7895c8669b8ea5f434d7cff0bd7f542481c79b.tar.bz2 aports-7d7895c8669b8ea5f434d7cff0bd7f542481c79b.tar.xz |
testing/fts: add header correctness patch
-rw-r--r-- | testing/fts/APKBUILD | 5 | ||||
-rw-r--r-- | testing/fts/fts-header-correctness.patch | 20 |
2 files changed, 23 insertions, 2 deletions
diff --git a/testing/fts/APKBUILD b/testing/fts/APKBUILD index c11f7c78c..a8acdd7b0 100644 --- a/testing/fts/APKBUILD +++ b/testing/fts/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: William Pitcock <nenolod@dereferenced.org> pkgname=fts pkgver=0 -pkgrel=0 +pkgrel=1 pkgdesc="keith bostic's POSIX file tree stream operations library" url="http://bostic.com/" arch="all" @@ -13,7 +13,8 @@ makedepends="$depends_dev wget" install="" subpackages="$pkgname-dev $pkgname-doc" source="saveas-https://sites.google.com/a/bostic.com/keithbostic/files/fts.tar.gz?attredirects=0/fts.tar.gz - fts-uclibc.patch" + fts-uclibc.patch + fts-header-correctness.patch" _builddir="${srcdir}/${pkgname}" prepare() { diff --git a/testing/fts/fts-header-correctness.patch b/testing/fts/fts-header-correctness.patch new file mode 100644 index 000000000..59061bfc9 --- /dev/null +++ b/testing/fts/fts-header-correctness.patch @@ -0,0 +1,20 @@ +--- fts.orig/fts.h ++++ fts/fts.h +@@ -38,6 +38,17 @@ + #ifndef _FTS_H_ + #define _FTS_H_ + ++#include <sys/types.h> ++#include <sys/param.h> ++#include <sys/stat.h> ++ ++#include <dirent.h> ++#include <errno.h> ++#include <fcntl.h> ++#include <stdlib.h> ++#include <string.h> ++#include <unistd.h> ++ + typedef struct { + struct _ftsent *fts_cur; /* current node */ + struct _ftsent *fts_child; /* linked list of children */ |