summaryrefslogtreecommitdiff
path: root/source/x/x11/patch/xf86-video-intel/0001-Fix-build-on-F28-and-later.patch
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2019-03-17 20:40:15 +0000
committerEric Hameleers <alien@slackware.com>2019-03-18 08:59:45 +0100
commit64c7dee8643c3a5a4fa6619c494e97ba435ade3f (patch)
tree4027a3968f1ef33fd2a39b15dc0b55256c332fcb /source/x/x11/patch/xf86-video-intel/0001-Fix-build-on-F28-and-later.patch
parent7016de3d122d1eccdf59100f7afc9e201f16c882 (diff)
downloadcurrent-64c7dee8643c3a5a4fa6619c494e97ba435ade3f.tar.gz
Sun Mar 17 20:40:15 UTC 201920190317204015
Saint Patrick was a gentleman Who through strategy and stealth Drove all the snakes from Ireland Here's toasting to his health - But not too many toastings Lest you lose yourself, and then, Forget the good Saint Patrick And see all those snakes again. a/eudev-3.2.7-x86_64-3.txz: Rebuilt. Added tqmx86_wdt to watchdog.conf. Thanks to Robby Workman. d/vala-0.44.1-x86_64-1.txz: Upgraded. kde/ktorrent-4.3.1-x86_64-4.txz: Rebuilt. Embed a copy of the GeoIP database since the download link no longer works. l/glibmm-2.58.1-x86_64-1.txz: Upgraded. l/mozilla-nss-3.43-x86_64-1.txz: Upgraded. x/imake-1.0.8-x86_64-1.txz: Upgraded. x/libXdmcp-1.1.3-x86_64-1.txz: Upgraded. x/libXext-1.3.4-x86_64-1.txz: Upgraded. x/libXft-2.3.3-x86_64-1.txz: Upgraded. x/libXmu-1.1.3-x86_64-1.txz: Upgraded. x/libXrandr-1.5.2-x86_64-1.txz: Upgraded. x/libXvMC-1.0.11-x86_64-1.txz: Upgraded. x/libXxf86dga-1.1.5-x86_64-1.txz: Upgraded. x/libxkbfile-1.1.0-x86_64-1.txz: Upgraded. x/makedepend-1.0.6-x86_64-1.txz: Upgraded. x/x11perf-1.6.1-x86_64-1.txz: Upgraded. x/xf86-video-intel-20190301_6afed33b-x86_64-1.txz: Upgraded. x/xf86-video-savage-20190128_8579718-x86_64-1.txz: Upgraded. x/xf86-video-sis-20181217_22d3c79-x86_64-1.txz: Upgraded. x/xtrans-1.4.0-noarch-1.txz: Upgraded.
Diffstat (limited to 'source/x/x11/patch/xf86-video-intel/0001-Fix-build-on-F28-and-later.patch')
-rw-r--r--source/x/x11/patch/xf86-video-intel/0001-Fix-build-on-F28-and-later.patch101
1 files changed, 0 insertions, 101 deletions
diff --git a/source/x/x11/patch/xf86-video-intel/0001-Fix-build-on-F28-and-later.patch b/source/x/x11/patch/xf86-video-intel/0001-Fix-build-on-F28-and-later.patch
deleted file mode 100644
index ca525ecc..00000000
--- a/source/x/x11/patch/xf86-video-intel/0001-Fix-build-on-F28-and-later.patch
+++ /dev/null
@@ -1,101 +0,0 @@
-From 9c1151b4d65c356f0d25d952fe1a10c89fdb834a Mon Sep 17 00:00:00 2001
-From: Adam Jackson <ajax@redhat.com>
-Date: Mon, 5 Mar 2018 11:03:18 -0500
-Subject: [PATCH] Fix build on F28 and later
-
-Newer gcc complains that it doesn't know how to always-inline memcpy():
-
- /usr/include/bits/string_fortified.h:31:1: error: inlining failed in
- call to always_inline 'memcpy': target specific option mismatch
-
-This is because we need to wrap our declaration of memcpy() in the
-options we're trying to push at the top of blt.c. So: include compiler.h
-to define sse2, then push options, then include everything else.
-
-However if you do that, the word 'nonnull' collides with the usage in
-<X11/Xfuncproto.h>. I'm too lazy to fix that properly, just expand it to
-the __attribute__ form in the few places we say it.
-
-Signed-off-by: Adam Jackson <ajax@redhat.com>
----
- src/sna/blt.c | 6 ++++--
- src/sna/compiler.h | 2 --
- src/sna/gen6_common.h | 6 +++---
- 3 files changed, 7 insertions(+), 7 deletions(-)
-
-diff --git a/src/sna/blt.c b/src/sna/blt.c
-index cb90437a..fb357d35 100644
---- a/src/sna/blt.c
-+++ b/src/sna/blt.c
-@@ -29,13 +29,15 @@
- #include "config.h"
- #endif
-
--#include "sna.h"
--#include <pixman.h>
-+#include "compiler.h"
-
- #if defined(sse2)
- #pragma GCC push_options
- #pragma GCC target("sse2,inline-all-stringops,fpmath=sse")
- #pragma GCC optimize("Ofast")
-+
-+#include <pixman.h>
-+#include "sna.h"
- #include <xmmintrin.h>
-
- #if __x86_64__
-diff --git a/src/sna/compiler.h b/src/sna/compiler.h
-index 0f3775ec..3c176a16 100644
---- a/src/sna/compiler.h
-+++ b/src/sna/compiler.h
-@@ -39,7 +39,6 @@
- #define pure __attribute__((pure))
- #define tightly_packed __attribute__((__packed__))
- #define flatten __attribute__((flatten))
--#define nonnull __attribute__((nonnull))
- #define page_aligned __attribute__((aligned(4096)))
- #else
- #define likely(expr) (expr)
-@@ -52,7 +51,6 @@
- #define pure
- #define tighly_packed
- #define flatten
--#define nonnull
- #define page_aligned
- #endif
-
-diff --git a/src/sna/gen6_common.h b/src/sna/gen6_common.h
-index b53ec0c9..119a2d5d 100644
---- a/src/sna/gen6_common.h
-+++ b/src/sna/gen6_common.h
-@@ -133,7 +133,7 @@ inline static bool force_blt_ring(struct sna *sna, struct kgem_bo *bo)
- return false;
- }
-
--nonnull inline static bool
-+__attribute__((nonnull)) inline static bool
- prefer_blt_ring(struct sna *sna, struct kgem_bo *bo, unsigned flags)
- {
- if (PREFER_RENDER)
-@@ -148,7 +148,7 @@ prefer_blt_ring(struct sna *sna, struct kgem_bo *bo, unsigned flags)
- return can_switch_to_blt(sna, bo, flags);
- }
-
--nonnull inline static bool
-+__attribute__((nonnull)) inline static bool
- prefer_render_ring(struct sna *sna, struct kgem_bo *bo)
- {
- if (sna->kgem.ring == KGEM_RENDER)
-@@ -191,7 +191,7 @@ prefer_blt_composite(struct sna *sna, struct sna_composite_op *tmp)
- return prefer_blt_bo(sna, tmp->src.bo, tmp->dst.bo);
- }
-
--nonnull static inline bool
-+__attribute__((nonnull)) static inline bool
- prefer_blt_fill(struct sna *sna, struct kgem_bo *bo, unsigned flags)
- {
- if (PREFER_RENDER)
---
-2.16.2
-