diff options
Diffstat (limited to 'libre/linux-libre-api-headers/PKGBUILD')
-rw-r--r-- | libre/linux-libre-api-headers/PKGBUILD | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/libre/linux-libre-api-headers/PKGBUILD b/libre/linux-libre-api-headers/PKGBUILD index 5efe23584..030c893a2 100644 --- a/libre/linux-libre-api-headers/PKGBUILD +++ b/libre/linux-libre-api-headers/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 211667 2014-04-23 02:10:08Z allan $ +# $Id: PKGBUILD 221106 2014-09-08 02:45:36Z allan $ # Maintainer (Arch): Allan McRae <allan@archlinux.org> # Maintainer: André Silva <emulatorman@parabola.nu> # Contributor: Luke Shumaker <lukeshu@sbcglobal.net> @@ -6,13 +6,13 @@ # toolchain build order: linux-libre-api-headers->glibc->binutils->gcc->binutils->glibc pkgname=linux-libre-api-headers -_pkgbasever=3.14-gnu -_pkgver=3.14.1-gnu +_pkgbasever=3.16-gnu +_pkgver=3.16.2-gnu _srcname=linux-${_pkgbasever%-*} _archpkgver=${_pkgver%-*} pkgver=${_pkgver//-/_} -pkgrel=1.2 +pkgrel=1 pkgdesc="Kernel headers sanitized for use in userspace" arch=('i686' 'x86_64' 'mips64el') url="http://www.gnu.org/software/libc" @@ -21,11 +21,9 @@ provides=( "linux-api-headers=${_archpkgver}") conflicts=('linux-api-headers') replaces=( 'linux-api-headers') source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgbasever}/linux-libre-${_pkgbasever}.tar.xz" - "http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgver}/patch-${_pkgbasever}-${_pkgver}.xz" - linux-3.14-xattr_header.patch) -md5sums=('c108ec52eeb2a9b9ddbb8d12496ff25f' - '2b4862b3c76011e66e536f18fbf0fb27' - '22926521588b2e95f3c2a2cb428e7cf9') + "http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgver}/patch-${_pkgbasever}-${_pkgver}.xz") +md5sums=('71e2d15b48e14db5a464424878362b42' + '25a33c60c0e06622d468f118e70d6a57') prepare() { cd "${srcdir}/${_srcname}" @@ -36,8 +34,8 @@ prepare() { fi # fix xattr.h dual inclusion issues - # https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/?id=ea1a8217 - patch -p1 -i "$srcdir"/linux-3.14-xattr_header.patch + # https://github.com/torvalds/linux/commit/bfcfd44c + sed -i "/__UAPI_DEF_XATTR/s/ifdef/if/" include/uapi/linux/xattr.h } build() { |