I have tested this on Intrepid which has gcc 4.3 native gcc. Recode builds after...
authorKhem Raj <raj.khem@gmail.com>
Sat, 13 Sep 2008 02:39:30 +0000 (02:39 +0000)
committerKhem Raj <raj.khem@gmail.com>
Sat, 13 Sep 2008 02:39:30 +0000 (02:39 +0000)
packages/recode/recode-3.6/.mtn2git_empty [new file with mode: 0644]
packages/recode/recode-3.6/recode-bitfield-width.patch [new file with mode: 0644]
packages/recode/recode_3.6.bb

diff --git a/packages/recode/recode-3.6/.mtn2git_empty b/packages/recode/recode-3.6/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/recode/recode-3.6/recode-bitfield-width.patch b/packages/recode/recode-3.6/recode-bitfield-width.patch
new file mode 100644 (file)
index 0000000..2c32886
--- /dev/null
@@ -0,0 +1,13 @@
+Index: recode-3.6/src/recodext.h
+===================================================================
+--- recode-3.6.orig/src/recodext.h     2008-09-12 19:26:53.000000000 -0700
++++ recode-3.6/src/recodext.h  2008-09-12 19:27:15.000000000 -0700
+@@ -218,7 +218,7 @@
+     enum recode_symbol_type type : 3;
+     /* Non zero if this one should be ignored.  */
+-    bool ignore : 2;
++    bool ignore : 1;
+   };
+ struct recode_surface_list
index 9e45bc6..6fd60ae 100644 (file)
@@ -2,7 +2,12 @@ DESCRIPTION = "Charset converting utility"
 SECTION = "console/utils"
 LICENSE = "GPL"
 
+PR = "r1"
 SRC_URI = "${GNU_MIRROR}/recode/recode-${PV}.tar.gz"
+FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/recode-${PV}', '${FILE_DIRNAME}' ], d)}"
+
+SRC_URI += "file://recode-bitfield-width.patch;patch=1 \
+            "
 
 inherit autotools