[packages/xorg-app-intel-gpu-tools] - updated to 1.10 - added types patch (fixes build with 32-bit pointers)

qboosh qboosh at pld-linux.org
Sun Mar 15 14:06:13 CET 2015


commit 56750c96fbaea8c63ef723ff424d23dbc372e45d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Mar 15 14:07:36 2015 +0100

    - updated to 1.10
    - added types patch (fixes build with 32-bit pointers)

 intel-gpu-tools-types.patch   | 20 ++++++++++++++++++++
 xorg-app-intel-gpu-tools.spec |  6 ++++--
 2 files changed, 24 insertions(+), 2 deletions(-)
---
diff --git a/xorg-app-intel-gpu-tools.spec b/xorg-app-intel-gpu-tools.spec
index e71fd5c..63d37d0 100644
--- a/xorg-app-intel-gpu-tools.spec
+++ b/xorg-app-intel-gpu-tools.spec
@@ -1,12 +1,13 @@
 Summary:	Tools for Intel DRM driver
 Summary(pl.UTF-8):	Narzędzia do sterownika Intel DRM
 Name:		xorg-app-intel-gpu-tools
-Version:	1.9
+Version:	1.10
 Release:	1
 License:	MIT
 Group:		X11/Applications
 Source0:	http://xorg.freedesktop.org/archive/individual/app/intel-gpu-tools-%{version}.tar.bz2
-# Source0-md5:	1e768f2b1edc8613911b1d33bb361a7f
+# Source0-md5:	4d208c9294adcc7ea34b960e9950dd1e
+Patch0:		intel-gpu-tools-types.patch
 URL:		http://intellinuxgraphics.org/
 BuildRequires:	autoconf >= 2.63
 BuildRequires:	automake >= 1:1.12
@@ -47,6 +48,7 @@ sterownika Intel DRM.
 
 %prep
 %setup -q -n intel-gpu-tools-%{version}
+%patch0 -p1
 
 %{__sed} -i -e '1s,#!/usr/bin/env python3,#!/usr/bin/python3,' tools/quick_dump/{quick_dump,reg_access}.py
 
diff --git a/intel-gpu-tools-types.patch b/intel-gpu-tools-types.patch
new file mode 100644
index 0000000..1c719fe
--- /dev/null
+++ b/intel-gpu-tools-types.patch
@@ -0,0 +1,20 @@
+--- intel-gpu-tools-1.10/lib/intel_batchbuffer.c.orig	2015-03-12 18:05:07.000000000 +0100
++++ intel-gpu-tools-1.10/lib/intel_batchbuffer.c	2015-03-15 13:45:27.311055799 +0100
+@@ -548,7 +548,7 @@
+ 	memset(obj, 0, sizeof(*obj));
+ 	obj->handle = gem_handle;
+ 	obj->relocation_count = count;
+-	obj->relocs_ptr = (uint64_t)relocs;
++	obj->relocs_ptr = (uintptr_t)relocs;
+ }
+ 
+ static void exec_blit(int fd,
+@@ -557,7 +557,7 @@
+ {
+ 	struct drm_i915_gem_execbuffer2 exec;
+ 
+-	exec.buffers_ptr = (uint64_t)objs;
++	exec.buffers_ptr = (uintptr_t)objs;
+ 	exec.buffer_count = count;
+ 	exec.batch_start_offset = 0;
+ 	exec.batch_len = batch_len * 4;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xorg-app-intel-gpu-tools.git/commitdiff/56750c96fbaea8c63ef723ff424d23dbc372e45d



More information about the pld-cvs-commit mailing list