rpms/icu/devel icu.icu6008.arm.padding.patch, NONE, 1.1 icu.spec, 1.55, 1.56

Caolan McNamara (caolanm) fedora-extras-commits at redhat.com
Sat Oct 27 09:58:39 UTC 2007


Author: caolanm

Update of /cvs/pkgs/rpms/icu/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27744

Modified Files:
	icu.spec 
Added Files:
	icu.icu6008.arm.padding.patch 
Log Message:
add icu.icu6008.arm.padding.patch

icu.icu6008.arm.padding.patch:

--- NEW FILE icu.icu6008.arm.padding.patch ---
diff -ru icu.orig/source/common/unames.c icu/source/common/unames.c
--- icu.orig/source/common/unames.c	2007-10-27 11:51:32.000000000 +0100
+++ icu/source/common/unames.c	2007-10-27 11:52:09.000000000 +0100
@@ -37,10 +37,16 @@
 #define LINES_PER_GROUP (1UL<<GROUP_SHIFT)
 #define GROUP_MASK (LINES_PER_GROUP-1)
 
+#ifdef __GNUC__
+#define PACKED __attribute__ ((packed))
+#else
+#define PACKED 
+#endif
+
 typedef struct {
     uint16_t groupMSB,
              offsetHigh, offsetLow; /* avoid padding */
-} Group;
+} PACKED Group;
 
 typedef struct {
     uint32_t start, end;


Index: icu.spec
===================================================================
RCS file: /cvs/pkgs/rpms/icu/devel/icu.spec,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- icu.spec	2 Oct 2007 14:10:59 -0000	1.55
+++ icu.spec	27 Oct 2007 09:58:04 -0000	1.56
@@ -1,6 +1,6 @@
 Name:      icu
 Version:   3.8
-Release:   1%{?dist}
+Release:   2%{?dist}
 Summary:   International Components for Unicode
 Group:     Development/Tools
 License:   MIT
@@ -18,6 +18,7 @@
 Patch7:  icu.icu5557.safety.patch
 Patch8:  icu.icu5506.multiplevowels.patch
 Patch9:  icu.icuXXXX.malayalam.bysyllable.patch
+Patch10: icu.icu6008.arm.padding.patch
 
 %description
 Tools and utilities for developing with icu.
@@ -64,6 +65,7 @@
 %patch7  -p1 -b .icu5557.safety.patch
 %patch8  -p1 -b .icu5506.multiplevowels.patch
 %patch9  -p1 -b .icuXXXX.malayalam.bysyllable.patch
+%patch10 -p1 -b .icu6008.arm.padding.patch
 
 %build
 cd source
@@ -140,6 +142,9 @@
 %doc source/__docs/%{name}/html/*
 
 %changelog
+* Sat Oct 27 2007 Caolan McNamara <caolanm at redhat.com> - 3.8-2
+- add icu.icu6008.arm.padding.patch to fix an arm problem
+
 * Tue Oct 02 2007 Caolan McNamara <caolanm at redhat.com> - 3.8-1
 - latest version
 




More information about the fedora-extras-commits mailing list