From de73eb629479c38aa7a72cfe0e09f8b1a33cfb82 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 13 Sep 2008 02:39:30 +0000 Subject: I have tested this on Intrepid which has gcc 4.3 native gcc. Recode builds after this patch is applied. --- packages/recode/recode-3.6/.mtn2git_empty | 0 packages/recode/recode-3.6/recode-bitfield-width.patch | 13 +++++++++++++ packages/recode/recode_3.6.bb | 5 +++++ 3 files changed, 18 insertions(+) create mode 100644 packages/recode/recode-3.6/.mtn2git_empty create mode 100644 packages/recode/recode-3.6/recode-bitfield-width.patch (limited to 'packages/recode') diff --git a/packages/recode/recode-3.6/.mtn2git_empty b/packages/recode/recode-3.6/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 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 index 0000000000..2c32886f2e --- /dev/null +++ b/packages/recode/recode-3.6/recode-bitfield-width.patch @@ -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 diff --git a/packages/recode/recode_3.6.bb b/packages/recode/recode_3.6.bb index 9e45bc6fcd..6fd60ae399 100644 --- a/packages/recode/recode_3.6.bb +++ b/packages/recode/recode_3.6.bb @@ -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 -- cgit v1.2.3