diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-06-21 14:49:57 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-06-21 14:49:57 -0400 |
commit | 8669fa58141a660b8bbd585719036fec34793213 (patch) | |
tree | 5875898da1b70db2497260aea82b58afe2539ecc /x11-apps/intel-gpu-tools/files | |
parent | x11-libs/intel-gpu-tools: version bump to 1.15 #585330 (diff) | |
download | gentoo-8669fa58141a660b8bbd585719036fec34793213.tar.gz gentoo-8669fa58141a660b8bbd585719036fec34793213.tar.bz2 gentoo-8669fa58141a660b8bbd585719036fec34793213.zip |
x11-libs/intel-gpu-tools: drop old <1.12 versions
Diffstat (limited to 'x11-apps/intel-gpu-tools/files')
-rw-r--r-- | x11-apps/intel-gpu-tools/files/intel-gpu-tools-1.10-clang.patch | 44 | ||||
-rw-r--r-- | x11-apps/intel-gpu-tools/files/intel-gpu-tools-1.7-shader-debugger-Force-file-stdout-IO-as-UTF-8.patch | 37 |
2 files changed, 0 insertions, 81 deletions
diff --git a/x11-apps/intel-gpu-tools/files/intel-gpu-tools-1.10-clang.patch b/x11-apps/intel-gpu-tools/files/intel-gpu-tools-1.10-clang.patch deleted file mode 100644 index 2f7b7a2c1ba1..000000000000 --- a/x11-apps/intel-gpu-tools/files/intel-gpu-tools-1.10-clang.patch +++ /dev/null @@ -1,44 +0,0 @@ -fix from upstream for building w/clang - -From 95019c2a3c4ed5943ad16e17c8dcf36fd6492adc Mon Sep 17 00:00:00 2001 -From: Yunlian Jiang <yunlian@google.com> -Date: Tue, 26 May 2015 10:22:31 -0700 -Subject: [PATCH] debugger: remove unnecessary struct per_thread_data - -This removes unnecessary 'struct per_thread_data' and avoids the -compilation error 'variable length array in structure extension -will never be supported' by clang. The bug entry is -https://code.google.com/p/chromium/issues/detail?id=476001 - -Cc: Benjamin Widawsky <benjamin.widawsky@intel.com> -Cc: Thomas Wood <thomas.wood@intel.com> -Signed-off-by: Yunlian Jiang <yunlian@google.com> -Signed-off-by: Thomas Wood <thomas.wood@intel.com> ---- - debugger/eudb.c | 6 +----- - 1 file changed, 1 insertion(+), 5 deletions(-) - -diff --git a/debugger/eudb.c b/debugger/eudb.c -index 0e810db..39c5cca 100644 ---- a/debugger/eudb.c -+++ b/debugger/eudb.c -@@ -207,15 +207,11 @@ wait_for_attn(int timeout, int *out_bits) { - #define eu_tid(bit) eu_info->debuggees[bit].tid - static struct eu_state * - find_eu_shmem(int bit, volatile uint8_t *buf) { -- struct per_thread_data { -- uint8_t ____[dh.per_thread_scratch]; -- }__attribute__((packed)) *data; - struct eu_state *eu; - int mem_tid, mem_euid, i; - -- data = (struct per_thread_data *)buf; - for(i = 0; i < eu_info->num_threads; i++) { -- eu = (struct eu_state *)&data[i]; -+ eu = (struct eu_state *)(buf + i * dh.per_thread_scratch); - mem_tid = eu->sr0 & 0x7; - mem_euid = (eu->sr0 >> 8) & 0xf; - if (mem_tid == eu_tid(bit) && mem_euid == eu_id(bit)) --- -2.4.1 - diff --git a/x11-apps/intel-gpu-tools/files/intel-gpu-tools-1.7-shader-debugger-Force-file-stdout-IO-as-UTF-8.patch b/x11-apps/intel-gpu-tools/files/intel-gpu-tools-1.7-shader-debugger-Force-file-stdout-IO-as-UTF-8.patch deleted file mode 100644 index 3b87f69ac590..000000000000 --- a/x11-apps/intel-gpu-tools/files/intel-gpu-tools-1.7-shader-debugger-Force-file-stdout-IO-as-UTF-8.patch +++ /dev/null @@ -1,37 +0,0 @@ -From e9e9df216180bcecc5d4c17bbe48b2efd88b3ed2 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?R=C3=A9mi=20Cardona?= <remi@gentoo.org> -Date: Mon, 18 Aug 2014 00:44:32 +0200 -Subject: [PATCH] shader-debugger: Force file/stdout IO as UTF-8 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Not all locales on linux are UTF-8, the most notable being the C locale. -Python will use the ASCII codec for stream IO in this case and will barf -on the Copyright sign at the top of .g4a files. - -Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=519434 -Signed-off-by: Rémi Cardona <remi@gentoo.org> ---- - debugger/system_routine/pre_cpp.py | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/debugger/system_routine/pre_cpp.py b/debugger/system_routine/pre_cpp.py -index effea0e..584d2af 100755 ---- a/debugger/system_routine/pre_cpp.py -+++ b/debugger/system_routine/pre_cpp.py -@@ -33,7 +33,10 @@ - - import sys,re - --file = open(sys.argv[1], "r") -+# make sure both input file and stdout are handled as utf-8 text, regardless -+# of current locale (eg. LANG=C which tells python to use ascii encoding) -+sys.stdout = open(sys.__stdout__.fileno(), "a", encoding="utf-8") -+file = open(sys.argv[1], "r", encoding="utf-8") - - lines = file.readlines() - len(lines) --- -2.0.4 - |