From f7dbd0b85607bbc8c0210f1c11fb2db3e57f6701 Mon Sep 17 00:00:00 2001 From: Hans Zandbelt Date: Tue, 18 Oct 2011 21:56:41 +0000 Subject: [PATCH] asterisk-1.8.x: remove mips from word alignment patch SVN-Revision: 28487 --- net/asterisk-1.8.x/patches/300-word_alignment_arm.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/asterisk-1.8.x/patches/300-word_alignment_arm.patch b/net/asterisk-1.8.x/patches/300-word_alignment_arm.patch index 8bdfe3fd0..cc638b3f7 100644 --- a/net/asterisk-1.8.x/patches/300-word_alignment_arm.patch +++ b/net/asterisk-1.8.x/patches/300-word_alignment_arm.patch @@ -5,7 +5,7 @@ result = (*pool_head)->base + (*pool_head)->used; -#ifdef __sparc__ -+#if defined(__sparc__) || defined(__mips__) || defined(__arm__) ++#if defined(__sparc__) || defined(__arm__) /* SPARC requires that the allocation field be aligned. */ if ((long) result % sizeof(ast_string_field_allocation)) { result++; @@ -14,7 +14,7 @@ } else { target = (*pool_head)->base + (*pool_head)->used + sizeof(ast_string_field_allocation); -#ifdef __sparc__ -+#if defined(__sparc__) || defined(__mips__) || defined(__arm__) ++#if defined(__sparc__) || defined(__arm__) if ((long) target % sizeof(ast_string_field_allocation)) { target++; space--; -- 2.30.2