diff options
author | root <root@rshg054.dnsready.net> | 2011-08-12 23:14:35 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-08-12 23:14:35 +0000 |
commit | 3b2bf66355e8254bc2f033dab2dfea9e2978fa4d (patch) | |
tree | 71995991b30b0bfc7deb0c92f1da969bbfd91ec7 /community/tomoyo-tools | |
parent | eddbc98aa28d38b35833cfb1a4a3cf632c9f2b47 (diff) |
Fri Aug 12 23:14:35 UTC 2011
Diffstat (limited to 'community/tomoyo-tools')
-rw-r--r-- | community/tomoyo-tools/PKGBUILD | 21 | ||||
-rw-r--r-- | community/tomoyo-tools/build-fix.patch | 11 |
2 files changed, 23 insertions, 9 deletions
diff --git a/community/tomoyo-tools/PKGBUILD b/community/tomoyo-tools/PKGBUILD index 1a141b782..0eb11d0fd 100644 --- a/community/tomoyo-tools/PKGBUILD +++ b/community/tomoyo-tools/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 48297 2011-05-31 09:33:14Z spupykin $ +# $Id: PKGBUILD 53999 2011-08-11 17:49:23Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Jamie Nguyen <jamie AT tomoyolinux.co.uk> pkgname=tomoyo-tools -_basever=2.3.0 -_timestamp=20110511 +_basever=2.4.0 +_timestamp=20110806 pkgver=${_basever}.${_timestamp} pkgrel=1 pkgdesc='TOMOYO Linux 2.3.x userspace tools for Linux kernel 2.6.36 and later' @@ -15,15 +15,18 @@ depends=('ncurses') makedepends=('help2man') conflicts=('ccs-tools') install=tomoyo-tools.install -source=("http://sourceforge.jp/frs/redir.php?f=/tomoyo/48663/${pkgname}-${_basever}-${_timestamp}.tar.gz") -md5sums=('bbbbaeb145ae12e5fe6154707807b90e') +source=("tomoyo-tools-${_basever}-${_timestamp}.tar.gz::http://sourceforge.jp/frs/redir.php?m=iij&f=%2Ftomoyo%2F52848%2Ftomoyo-tools-${_basever}-${_timestamp}.tar.gz" + build-fix.patch) +md5sums=('111109a71684f48bcac58bba07b8f49e' + '063c85ec6c56b90796ced9c203098f41') build() { - cd "${srcdir}/${pkgname}" - make -j1 + cd "${srcdir}/${pkgname}" + patch -p1 <$srcdir/build-fix.patch + make } package() { - cd "${srcdir}/${pkgname}" - make INSTALLDIR="${pkgdir}" install + cd "${srcdir}/${pkgname}" + make INSTALLDIR="${pkgdir}" install } diff --git a/community/tomoyo-tools/build-fix.patch b/community/tomoyo-tools/build-fix.patch new file mode 100644 index 000000000..ca949072b --- /dev/null +++ b/community/tomoyo-tools/build-fix.patch @@ -0,0 +1,11 @@ +diff -wbBur tomoyo-tools/usr_lib_tomoyo/tomoyo-editpolicy-agent.c tomoyo-tools.my/usr_lib_tomoyo/tomoyo-editpolicy-agent.c +--- tomoyo-tools/usr_lib_tomoyo/tomoyo-editpolicy-agent.c 2011-08-06 04:00:00.000000000 +0400 ++++ tomoyo-tools.my/usr_lib_tomoyo/tomoyo-editpolicy-agent.c 2011-08-11 21:47:05.000000000 +0400 +@@ -35,6 +35,7 @@ + #include <dirent.h> + #define _GNU_SOURCE + #include <sched.h> ++#include <linux/sched.h> + #include <sys/mount.h> + + static _Bool wait_data(const int fd) |