summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-04-02 00:04:59 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-04-02 00:04:59 +0000
commit8957b2b521d7b9882fe86a2208a970af1a6c7659 (patch)
treef9ac879fd9d6b2b89e4bfe6a1b97d7e552d40cf8 /user
parent933ace07371c396c899bfac168c7ca3a600cf9fa (diff)
downloadpackages-8957b2b521d7b9882fe86a2208a970af1a6c7659.tar.gz
packages-8957b2b521d7b9882fe86a2208a970af1a6c7659.tar.bz2
packages-8957b2b521d7b9882fe86a2208a970af1a6c7659.tar.xz
packages-8957b2b521d7b9882fe86a2208a970af1a6c7659.zip
user/xf86-video-intel: patch for building on 32-bit systems
Diffstat (limited to 'user')
-rw-r--r--user/xf86-video-intel/APKBUILD7
-rw-r--r--user/xf86-video-intel/pmmx.patch13
2 files changed, 18 insertions, 2 deletions
diff --git a/user/xf86-video-intel/APKBUILD b/user/xf86-video-intel/APKBUILD
index d65be06d8..6727ce394 100644
--- a/user/xf86-video-intel/APKBUILD
+++ b/user/xf86-video-intel/APKBUILD
@@ -14,7 +14,9 @@ depends="mesa-dri-intel"
makedepends="xorg-server-dev libxi-dev libdrm-dev mesa-dev libxvmc-dev
xcb-util-dev eudev-dev util-macros autoconf automake libtool xorgproto
"
-source="https://dev.sick.bike/$pkgname-$pkgver.tar.gz"
+source="https://dev.sick.bike/$pkgname-$pkgver.tar.gz
+ pmmx.patch
+ "
giturl="https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel.git"
reporev="3d395062ce73f85e8340218df01c2ebf4bc25023"
@@ -44,4 +46,5 @@ package() {
rm "$pkgdir"/usr/libexec/xf86-video-intel-backlight-helper
}
-sha512sums="a96e627ed1b3fb6b66f02caaafb0f94967df9a2409158aacc9d8958538ef47bd84176ce71a4785f21944beb764450b1560c6dc59eef435f75959e27704be41f1 xf86-video-intel-2.99.917_git20180803.tar.gz"
+sha512sums="a96e627ed1b3fb6b66f02caaafb0f94967df9a2409158aacc9d8958538ef47bd84176ce71a4785f21944beb764450b1560c6dc59eef435f75959e27704be41f1 xf86-video-intel-2.99.917_git20180803.tar.gz
+13694f8829ec59773f764817467052d5d4b93b5de16d8cdacc08ced48608b46008414be1f5f118e5f327c401541477c3418f510ada9cfb290a11ac2e5590b0f3 pmmx.patch"
diff --git a/user/xf86-video-intel/pmmx.patch b/user/xf86-video-intel/pmmx.patch
new file mode 100644
index 000000000..7edddfb96
--- /dev/null
+++ b/user/xf86-video-intel/pmmx.patch
@@ -0,0 +1,13 @@
+diff --git a/src/sna/compiler.h b/src/sna/compiler.h
+index 0f3775ec..c4056913 100644
+--- a/src/sna/compiler.h
++++ b/src/sna/compiler.h
+@@ -32,7 +32,7 @@
+ #define likely(expr) (__builtin_expect (!!(expr), 1))
+ #define unlikely(expr) (__builtin_expect (!!(expr), 0))
+ #define noinline __attribute__((noinline))
+-#define force_inline inline __attribute__((always_inline))
++#define force_inline inline
+ #define fastcall __attribute__((regparm(3)))
+ #define must_check __attribute__((warn_unused_result))
+ #define constant __attribute__((const))