From 5826d485f95432ecdfd18bc3389ecd106c404129 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 15 Mar 2015 09:32:47 +0100 Subject: [PATCH] intel-gpu-tools: unbreak x86 build by removing incorrect cast. --- .../intel-gpu-tools/patches/build-fix.patch | 20 +++++++++++++++++++ srcpkgs/intel-gpu-tools/template | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/intel-gpu-tools/patches/build-fix.patch diff --git a/srcpkgs/intel-gpu-tools/patches/build-fix.patch b/srcpkgs/intel-gpu-tools/patches/build-fix.patch new file mode 100644 index 0000000000..258ed1ba88 --- /dev/null +++ b/srcpkgs/intel-gpu-tools/patches/build-fix.patch @@ -0,0 +1,20 @@ +--- lib/intel_batchbuffer.c.orig 2015-03-15 09:30:52.374500012 +0100 ++++ lib/intel_batchbuffer.c 2015-03-15 09:31:04.784415162 +0100 +@@ -548,7 +548,7 @@ fill_object(struct drm_i915_gem_exec_obj + memset(obj, 0, sizeof(*obj)); + obj->handle = gem_handle; + obj->relocation_count = count; +- obj->relocs_ptr = (uint64_t)relocs; ++ obj->relocs_ptr = relocs; + } + + static void exec_blit(int fd, +@@ -557,7 +557,7 @@ static void exec_blit(int fd, + { + struct drm_i915_gem_execbuffer2 exec; + +- exec.buffers_ptr = (uint64_t)objs; ++ exec.buffers_ptr = objs; + exec.buffer_count = count; + exec.batch_start_offset = 0; + exec.batch_len = batch_len * 4; diff --git a/srcpkgs/intel-gpu-tools/template b/srcpkgs/intel-gpu-tools/template index d0d52cabf6..ad73c8a84a 100644 --- a/srcpkgs/intel-gpu-tools/template +++ b/srcpkgs/intel-gpu-tools/template @@ -1,7 +1,7 @@ # Template file for 'intel-gpu-tools' pkgname=intel-gpu-tools version=1.10 -revision=1 +revision=2 lib32disabled=yes only_for_archs="i686 x86_64" build_style=gnu-configure