File 0001-Fix-build-failure-on-ARM.patch of Package icu

From 4d28e7dcb2132ce349f738be8d244876cb9942b8 Mon Sep 17 00:00:00 2001
From: Kedar Sovani <kedars@marvell.com>
Date: Mon, 5 Oct 2009 13:15:37 +0200
Subject: [PATCH] Fix build failure on ARM.

Signed-off-by: Kedar Sovani <kedars@marvell.com>
---
 icu.arm.patch |   21 +++++++++++++++++++++
 icu.spec      |    7 ++++++-
 2 files changed, 27 insertions(+), 1 deletions(-)
 create mode 100644 icu.arm.patch

diff --git a/icu.arm.patch b/icu.arm.patch
new file mode 100644
index 0000000..1d7c8c8
--- /dev/null
+++ b/icu.arm.patch
@@ -0,0 +1,21 @@
+--- icu/source/tools/toolutil/pkg_genc.c.orig	2009-10-05 20:42:46.878010257 +0200
++++ icu/source/tools/toolutil/pkg_genc.c	2009-10-05 20:43:44.073164845 +0200
+@@ -118,10 +118,18 @@ static const struct AssemblyType {
+ } assemblyHeader[] = {
+     {"gcc",
+         ".globl %s\n"
++#ifdef __arm__
++        "\t.section .note.GNU-stack,\"\",%%progbits\n"
++#else
+         "\t.section .note.GNU-stack,\"\",@progbits\n"
++#endif
+         "\t.section .rodata\n"
+         "\t.align 8\n" /* Either align 8 bytes or 2^8 (256) bytes. 8 bytes is needed. */
++#ifdef __arm__
++        "\t.type %s,%%object\n"
++#else
+         "\t.type %s,@object\n"
++#endif
+         "%s:\n\n",
+ 
+         ".long ","",HEX_0X
openSUSE Build Service is sponsored by