From e8a69cfbac9d56bb3ac61e497b43eba87b4493b0 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 23:55:47 +0100 Subject: [PATCH] automatic version update by autodist [release 1.10-1mamba;Fri Mar 13 2015] --- ...s-1.10-fix-32bit-pointer-to-int-cast.patch | 20 +++++++++++++++++++ intel-gpu-tools.spec | 9 ++++++++- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 intel-gpu-tools-1.10-fix-32bit-pointer-to-int-cast.patch diff --git a/intel-gpu-tools-1.10-fix-32bit-pointer-to-int-cast.patch b/intel-gpu-tools-1.10-fix-32bit-pointer-to-int-cast.patch new file mode 100644 index 0000000..fd3a971 --- /dev/null +++ b/intel-gpu-tools-1.10-fix-32bit-pointer-to-int-cast.patch @@ -0,0 +1,20 @@ +--- intel-gpu-tools-1.10/lib/intel_batchbuffer.c.orig 2015-03-25 00:26:50.835000000 +0100 ++++ intel-gpu-tools-1.10/lib/intel_batchbuffer.c 2015-03-25 00:27:28.233000000 +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; diff --git a/intel-gpu-tools.spec b/intel-gpu-tools.spec index edef46d..713758d 100644 --- a/intel-gpu-tools.spec +++ b/intel-gpu-tools.spec @@ -1,5 +1,5 @@ Name: intel-gpu-tools -Version: 1.9 +Version: 1.10 Release: 1mamba Summary: A collection of tools for development and testing of the Intel DRM driver Group: System/X11 @@ -10,6 +10,7 @@ URL: http://x.org Source: ftp://x.org/pub/individual/app/intel-gpu-tools-%{version}.tar.bz2 Patch0: intel-gpu-tools-1.3-libcairo.patch Patch1: intel-gpu-tools-1.7-unicode.patch +Patch2: intel-gpu-tools-1.10-fix-32bit-pointer-to-int-cast.patch License: MIT BuildRoot: %{_tmppath}/%{name}-%{version}-root ## AUTOBUILDREQ-BEGIN @@ -30,6 +31,9 @@ There are many macro-level test suites that get used against our driver, includi %setup -q #%patch0 -p1 #%patch1 -p2 +%ifnarch x86_64 +%patch2 -p1 +%endif %build %configure @@ -63,6 +67,9 @@ There are many macro-level test suites that get used against our driver, includi %{_mandir}/man1/intel_*.1* %changelog +* Fri Mar 13 2015 Automatic Build System 1.10-1mamba +- automatic version update by autodist + * Sat Dec 27 2014 Automatic Build System 1.9-1mamba - automatic version update by autodist