diff options
author | M0Rf30 | 2018-01-25 18:17:45 +0100 |
---|---|---|
committer | M0Rf30 | 2018-01-25 18:17:45 +0100 |
commit | aaae89314921f3acde2f2f82a30f07100761cf6c (patch) | |
tree | c41832b1adb6943c2bacc6aa86f33d0bd4ec5614 | |
parent | b395cea7ace7a627eb5d40435d0a218086c5dfdf (diff) | |
download | aur-aaae89314921f3acde2f2f82a30f07100761cf6c.tar.gz |
linux-sgx-driver-dkms-git: added abozanich fix for 4.14+
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 10 insertions, 8 deletions
@@ -1,17 +1,15 @@ -# Generated by mksrcinfo v8 -# Mon Aug 7 12:47:21 UTC 2017 pkgbase = linux-sgx-driver-dkms-git pkgdesc = IntelĀ® SGX Linux module - dkms - pkgver = 1.9.r2.gcd51638 + pkgver = 1.9_rhel7.4.r11.gb1c4b78 pkgrel = 1 url = https://01.org/intel-softwareguard-extensions arch = i686 arch = x86_64 license = GPL2 makedepends = linux-headers>=4.12 - makedepends = linux-headers<4.13 + makedepends = linux-headers<4.15 makedepends = linux>=4.12 - makedepends = linux<4.13 + makedepends = linux<4.15 depends = dkms optdepends = linux-headers: Build the module for Arch kernel optdepends = linux-lts-headers: Build the module for LTS Arch kernel @@ -1,8 +1,9 @@ # Maintainer: robertfoster +# Contributor: abozanich pkg=linux-sgx-driver pkgname=$pkg-dkms-git -pkgver=1.9.r2.gcd51638 +pkgver=1.9_rhel7.4.r11.gb1c4b78 pkgrel=1 pkgdesc="IntelĀ® SGX Linux module - dkms" arch=('i686' 'x86_64') @@ -11,7 +12,7 @@ license=('GPL2') depends=('dkms') optdepends=('linux-headers: Build the module for Arch kernel' 'linux-lts-headers: Build the module for LTS Arch kernel') -makedepends=('linux-headers>=4.12' 'linux-headers<4.13' 'linux>=4.12' 'linux<4.13') +makedepends=('linux-headers>=4.12' 'linux-headers<4.15' 'linux>=4.12' 'linux<4.15') source=("$pkg::git+https://github.com/01org/linux-sgx-driver.git" dkms.conf) @@ -31,7 +32,7 @@ package() { # Set name and version sed -e "s/@PKG@/${pkg}/" \ -e "s/@PKGVER@/${pkgver}/" \ - -i "$pkgdir/usr/src/$pkg-$pkgver/dkms.conf" + -i "$installDir/dkms.conf" # Copy sources cd $srcdir/$pkg @@ -44,6 +45,9 @@ package() { do install -m644 "$f" "${installDir}/$f" done + + sed -e "s/-O0//" \ + -i "$installDir/Makefile" } md5sums=('SKIP' |