[SCM] blender/master: debian/patches/: #0011 added to fix FTBFS on big-endian

mfv-guest at users.alioth.debian.org mfv-guest at users.alioth.debian.org
Tue Mar 12 08:36:44 UTC 2013


The following commit has been merged in the master branch:
commit 37f365d048eeea4b626dcf2327ac71b3cd88046d
Author: Matteo F. Vescovi <mfv.debian at gmail.com>
Date:   Mon Mar 11 10:23:11 2013 +0100

    debian/patches/: #0011 added to fix FTBFS on big-endian
    
    Thanks: Campbell Burton for the hint.

diff --git a/debian/patches/0011-fix_FTBFS_on_big-endian.patch b/debian/patches/0011-fix_FTBFS_on_big-endian.patch
new file mode 100644
index 0000000..477750a
--- /dev/null
+++ b/debian/patches/0011-fix_FTBFS_on_big-endian.patch
@@ -0,0 +1,21 @@
+From: "Matteo F. Vescovi" <mfv.debian at gmail.com>
+Date: Mon, 11 Mar 2013 10:21:45 +0100
+Subject: fix_FTBFS_on_big-endian
+
+---
+ source/blender/modifiers/intern/MOD_meshcache_pc2.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/source/blender/modifiers/intern/MOD_meshcache_pc2.c b/source/blender/modifiers/intern/MOD_meshcache_pc2.c
+index 1ecb347..b20f62a 100644
+--- a/source/blender/modifiers/intern/MOD_meshcache_pc2.c
++++ b/source/blender/modifiers/intern/MOD_meshcache_pc2.c
+@@ -62,7 +62,7 @@ static bool meshcache_read_pc2_head(FILE *fp, const int verts_tot,
+ 	}
+ 
+ #ifdef __BIG_ENDIAN__
+-	BLI_endian_switch_int32_array(&pc2_head->huh, (sizeof(*pc2_head) - sizeof(pc2_head->header)) / sizeof(int));
++	BLI_endian_switch_int32_array(&pc2_head->file_version, (sizeof(*pc2_head) - sizeof(pc2_head->header)) / sizeof(int));
+ #endif
+ 
+ 	if (pc2_head->verts_tot != verts_tot) {
diff --git a/debian/patches/series b/debian/patches/series
index 91696ce..90bfb57 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,3 +8,4 @@
 0008-look_for_droid_ttf_with_fontconfig.patch
 0009-fix_illegal_hardware_instruction_due_to_SSE2.patch
 0010-fix_format-security_issue.patch
+0011-fix_FTBFS_on_big-endian.patch

-- 
blender packaging



More information about the pkg-multimedia-commits mailing list