intel-gpu-tools: unbreak x86 build by removing incorrect cast.
This commit is contained in:
parent
4ad20a1460
commit
5826d485f9
2 changed files with 21 additions and 1 deletions
20
srcpkgs/intel-gpu-tools/patches/build-fix.patch
Normal file
20
srcpkgs/intel-gpu-tools/patches/build-fix.patch
Normal file
|
@ -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;
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue