Fix copy-paste error breaking the build on powerpc.
ok aja@
This commit is contained in:
parent
9213ddc2b4
commit
23b9d0352a
@ -1,8 +1,7 @@
|
||||
# $OpenBSD: Makefile,v 1.47 2012/11/24 08:36:26 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.48 2012/11/26 15:02:40 pascal Exp $
|
||||
|
||||
COMMENT = 3D creation software
|
||||
BROKEN-sparc64 = error: cast from 'ccl::uchar*' to 'CUdeviceptr' loses precision
|
||||
BROKEN-powerpc = avi_endian.c:54: error: 'val' undeclared
|
||||
|
||||
DISTNAME = blender-2.64a
|
||||
|
||||
|
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-source_blender_avi_intern_avi_endian_c,v 1.1 2012/11/26 15:02:40 pascal Exp $
|
||||
|
||||
obvious copy-pasto
|
||||
|
||||
--- source/blender/avi/intern/avi_endian.c.orig Tue Oct 9 20:38:28 2012
|
||||
+++ source/blender/avi/intern/avi_endian.c Mon Nov 26 12:24:45 2012
|
||||
@@ -51,8 +51,8 @@
|
||||
/* copied from BLI_endian_switch_inline.h */
|
||||
static void invert(int *num)
|
||||
{
|
||||
- int tval = *val;
|
||||
- *val = ((tval >> 24)) |
|
||||
+ int tval = *num;
|
||||
+ *num = ((tval >> 24)) |
|
||||
((tval << 8) & 0x00ff0000) |
|
||||
((tval >> 8) & 0x0000ff00) |
|
||||
((tval << 24));
|
Loading…
Reference in New Issue
Block a user