summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorM0Rf302018-01-25 18:17:45 +0100
committerM0Rf302018-01-25 18:17:45 +0100
commitaaae89314921f3acde2f2f82a30f07100761cf6c (patch)
treec41832b1adb6943c2bacc6aa86f33d0bd4ec5614
parentb395cea7ace7a627eb5d40435d0a218086c5dfdf (diff)
downloadaur-aaae89314921f3acde2f2f82a30f07100761cf6c.tar.gz
linux-sgx-driver-dkms-git: added abozanich fix for 4.14+
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD10
2 files changed, 10 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c551c4c7e335..cb1451c5a228 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 2475da35f3c6..9c95d6172436 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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'