diff options
author | Vi0L0 | 2017-12-06 22:44:56 +0100 |
---|---|---|
committer | Vi0L0 | 2017-12-06 22:44:56 +0100 |
commit | 63de77ef5c8a0f6970b5f036ccfe791318f8aff9 (patch) | |
tree | 0feb05b74fcf5fa6bb9af665476b4e10762f7391 | |
parent | 7e108d01fccf5c31125efede1bb1fd4e472a345f (diff) | |
download | aur-63de77ef5c8a0f6970b5f036ccfe791318f8aff9.tar.gz |
15.12-19: 4.14 kernel support, thanks npfeiler
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | 4.14-npfeiler-task_struct-mm_segment_t.patch | 12 | ||||
-rw-r--r-- | PKGBUILD | 21 |
3 files changed, 30 insertions, 11 deletions
@@ -1,7 +1,9 @@ +# Generated by mksrcinfo v8 +# Wed Dec 6 21:44:13 UTC 2017 pkgbase = catalyst-test pkgdesc = AMD/ATI Catalyst drivers for linux AKA Crimson. catalyst-dkms + catalyst-utils + lib32-catalyst-utils + experimental powerXpress suppport. PRE-GCN Radeons are optionally supported pkgver = 15.12 - pkgrel = 18 + pkgrel = 19 url = http://www.amd.com install = catalyst-test.install arch = i686 @@ -9,7 +11,7 @@ pkgbase = catalyst-test license = custom depends = dkms depends = linux>=3.0 - depends = linux<4.14 + depends = linux<4.15 depends = linux-headers depends = xorg-server>=1.7.0 depends = xorg-server<1.18.0 @@ -98,6 +100,7 @@ pkgbase = catalyst-test source = 4.12-arch-remove_clts.patch source = 4.12-npfeiler-movsl_mask.patch source = 4.13-npfeiler-wait_queue_t.patch + source = 4.14-npfeiler-task_struct-mm_segment_t.patch md5sums = 39808c8a9bcc9041f1305e3531b60622 md5sums = af7fb8ee4fc96fd54c5b483e33dc71c4 md5sums = bdafe749e046bfddee2d1c5e90eabd83 @@ -132,6 +135,7 @@ pkgbase = catalyst-test md5sums = 782769206ed12ded10c347be3e476729 md5sums = cb25bc7fbb7d5cb1c07d2f3fa5fda826 md5sums = 0a725f40bc980d578cbed3e57a05b765 + md5sums = 5ba3bf9f58aa63c1849b056cf23022c9 pkgname = catalyst-test diff --git a/4.14-npfeiler-task_struct-mm_segment_t.patch b/4.14-npfeiler-task_struct-mm_segment_t.patch new file mode 100644 index 000000000000..d90d4f3c509a --- /dev/null +++ b/4.14-npfeiler-task_struct-mm_segment_t.patch @@ -0,0 +1,12 @@ +--- archive_files/common/lib/modules/fglrx/build_mod/kcl_ioctl.c 2017-12-05 16:21:41.450899943 +0100
++++ archive_filesb/common/lib/modules/fglrx/build_mod/kcl_ioctl.c 2017-12-05 16:24:04.919602271 +0100
+@@ -31,7 +31,9 @@
+ */
+
+ #include <linux/cache.h>
++#include <linux/sched.h> // for task_struct in asm/current.h
+ #include <linux/version.h>
++#include <asm/processor.h> // for mm_segment_t in asm/uaccess.h
+ #include <asm/uaccess.h>
+
+ #ifdef __x86_64__
@@ -24,7 +24,7 @@ # Contributor: aslmaswd (acpi main script) # Contributor: npfeiler (libcl/opencl-icd-loader cleaning) # Contributor: sling00 (4.10 kernel patch) -# Contributor: npfeiler (4.11, 4.12 and 4.13 kernel patch) +# Contributor: npfeiler (4.11, 4.12, 4.13 and 4.14 kernel patch) _old_control=n #for pre-GCN users who has problems with default config, pick =y to enable catalyst 15.9 control file @@ -32,7 +32,7 @@ _old_control=n #for pre-GCN users who has problems with default config, pick =y pkgname=catalyst-test pkgver=15.12 -pkgrel=18 +pkgrel=19 # _betano=1.0 _amdver=15.302 pkgdesc="AMD/ATI Catalyst drivers for linux AKA Crimson. catalyst-dkms + catalyst-utils + lib32-catalyst-utils + experimental powerXpress suppport. PRE-GCN Radeons are optionally supported" @@ -40,7 +40,7 @@ arch=('i686' 'x86_64') url="http://www.amd.com" license=('custom') options=('staticlibs' 'libtool' '!strip' '!upx') -depends=('dkms' 'linux>=3.0' 'linux<4.14' 'linux-headers' 'xorg-server>=1.7.0' 'xorg-server<1.18.0' 'libxrandr' 'libsm' 'fontconfig' 'libxcursor' 'libxi' 'gcc-libs' 'gcc>4.0.0' 'make' 'patch' 'libxinerama' 'mesa-noglvnd') +depends=('dkms' 'linux>=3.0' 'linux<4.15' 'linux-headers' 'xorg-server>=1.7.0' 'xorg-server<1.18.0' 'libxrandr' 'libsm' 'fontconfig' 'libxcursor' 'libxi' 'gcc-libs' 'gcc>4.0.0' 'make' 'patch' 'libxinerama' 'mesa-noglvnd') optdepends=('qt4: to run ATi Catalyst Control Center (amdcccle)' 'libxxf86vm: to run ATi Catalyst Control Center (amdcccle)' 'opencl-headers: headers necessary for OpenCL development' @@ -108,20 +108,21 @@ source=( 4.12-npfeiler-PUD_OFFSET.patch 4.12-arch-remove_clts.patch 4.12-npfeiler-movsl_mask.patch - 4.13-npfeiler-wait_queue_t.patch) + 4.13-npfeiler-wait_queue_t.patch + 4.14-npfeiler-task_struct-mm_segment_t.patch) md5sums=('39808c8a9bcc9041f1305e3531b60622' 'af7fb8ee4fc96fd54c5b483e33dc71c4' - 'bdafe749e046bfddee2d1c5e90eabd83' - '9d9ea496eadf7e883d56723d65e96edf' + 'bdafe749e046bfddee2d1c5e90eabd83' + '9d9ea496eadf7e883d56723d65e96edf' 'b79e144932616221f6d01c4b05dc9306' '9e2a7ded987b7d2b2cfffc7281ebd8a5' '3e19c2285c76f4cb92108435a1e9c302' 'b3ceefeb97c609037845f65d0956c4f0' '3e1b82bd69774ea808da69c983d6a43b' '394bc493fdf493a5093f9e2095096d02' - '3226230592fa3c91ff22389114fc5dc7' - '9e706c272feb167be55ba7201dfa8d51' + '3226230592fa3c91ff22389114fc5dc7' + '9e706c272feb167be55ba7201dfa8d51' '0e6d963436dd23dbb45ae0f4fc9b661c' '2c22bb4d4f828cb8b024f670c1ae7e45' '5184b94a2a40216a67996999481dd9ee' @@ -143,7 +144,8 @@ md5sums=('39808c8a9bcc9041f1305e3531b60622' 'f090e47160403e4ba65d1e0de69973c9' '782769206ed12ded10c347be3e476729' 'cb25bc7fbb7d5cb1c07d2f3fa5fda826' - '0a725f40bc980d578cbed3e57a05b765') + '0a725f40bc980d578cbed3e57a05b765' + '5ba3bf9f58aa63c1849b056cf23022c9') build() { @@ -344,6 +346,7 @@ package() { patch -Np1 -i ../4.12-arch-remove_clts.patch patch -Np1 -i ../4.12-npfeiler-movsl_mask.patch patch -Np1 -i ../4.13-npfeiler-wait_queue_t.patch + patch -Np1 -i ../4.14-npfeiler-task_struct-mm_segment_t.patch # Prepare modules source files install -dm755 ${pkgdir}/usr/src/fglrx-${pkgver}/2.6.x |