diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/cifs-utils/APKBUILD | 15 | ||||
-rw-r--r-- | main/cifs-utils/musl-fix-includes.patch | 11 |
2 files changed, 21 insertions, 5 deletions
diff --git a/main/cifs-utils/APKBUILD b/main/cifs-utils/APKBUILD index df90ed2baa..ee4ac1cf60 100644 --- a/main/cifs-utils/APKBUILD +++ b/main/cifs-utils/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Francesco Colista <francesco.colista@gmail.com> pkgname=cifs-utils pkgver=6.2 -pkgrel=0 +pkgrel=1 pkgdesc="CIFS filesystem user-space tools" url="http://wiki.samba.org/index.php/LinuxCIFS_utils" arch="all" @@ -12,7 +12,9 @@ depends_dev="libcap-dev keyutils-dev krb5-dev talloc-dev" makedepends="$depends_dev" install="" subpackages="$pkgname-doc" -source="ftp://ftp.samba.org/pub/linux-cifs/cifs-utils/$pkgname-$pkgver.tar.bz2" +source="ftp://ftp.samba.org/pub/linux-cifs/cifs-utils/$pkgname-$pkgver.tar.bz2 + musl-fix-includes.patch + " _builddir=$srcdir/$pkgname-$pkgver prepare() { @@ -43,6 +45,9 @@ package() { chmod +s $pkgdir/sbin/mount.cifs } -md5sums="6a83fe19e02266cb468ea3bf1cc0d007 cifs-utils-6.2.tar.bz2" -sha256sums="34676e374ee139ce1b6566ed1802c55f92b5d74cc58417a4989df7438ff2cd33 cifs-utils-6.2.tar.bz2" -sha512sums="dc7060d3da65b706ce491a0c1fd113440f93787b79b29fa6207f96b538a2403f54e5e780418e0ad0b65e14eb45d3b0d50439253266c9d12b0d9f772954031ea6 cifs-utils-6.2.tar.bz2" +md5sums="6a83fe19e02266cb468ea3bf1cc0d007 cifs-utils-6.2.tar.bz2 +6790aa0c2b4eaa4c28756b73bd1c4741 musl-fix-includes.patch" +sha256sums="34676e374ee139ce1b6566ed1802c55f92b5d74cc58417a4989df7438ff2cd33 cifs-utils-6.2.tar.bz2 +3d1d32f09709ca430d77edcce811b171a0db6fa352555fbfe0578da6f36cc8be musl-fix-includes.patch" +sha512sums="dc7060d3da65b706ce491a0c1fd113440f93787b79b29fa6207f96b538a2403f54e5e780418e0ad0b65e14eb45d3b0d50439253266c9d12b0d9f772954031ea6 cifs-utils-6.2.tar.bz2 +99a2fab05bc2f14a600f89526ae0ed2c183cfa179fe386cb327075f710aee3aed5ae823f7c2f51913d1217c2371990d6d4609fdb8d80288bd3a6139df3c8aebe musl-fix-includes.patch" diff --git a/main/cifs-utils/musl-fix-includes.patch b/main/cifs-utils/musl-fix-includes.patch new file mode 100644 index 0000000000..c7b9b004f2 --- /dev/null +++ b/main/cifs-utils/musl-fix-includes.patch @@ -0,0 +1,11 @@ +--- cifs-utils-6.2.orig/mount.h ++++ cifs-utils-6.2/mount.h +@@ -20,6 +20,8 @@ + #ifndef _MOUNT_H_ + #define _MOUNT_H_ + ++#include <paths.h> ++ + /* exit status - bits below are ORed */ + #define EX_USAGE 1 /* incorrect invocation or permission */ + #define EX_SYSERR 2 /* out of memory, cannot fork, ... */ |