diff options
author | Khem Raj <raj.khem@gmail.com> | 2008-09-13 02:39:30 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2008-09-13 02:39:30 +0000 |
commit | de73eb629479c38aa7a72cfe0e09f8b1a33cfb82 (patch) | |
tree | 742652495d653df100c480f687185ce542c53d5c | |
parent | 6c26593ed51f6aba1b7d9ee35bfe81d5d496e716 (diff) |
I have tested this on Intrepid which has gcc 4.3 native gcc. Recode builds after this patch is applied.
-rw-r--r-- | packages/recode/recode-3.6/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/recode/recode-3.6/recode-bitfield-width.patch | 13 | ||||
-rw-r--r-- | packages/recode/recode_3.6.bb | 5 |
3 files changed, 18 insertions, 0 deletions
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 --- /dev/null +++ b/packages/recode/recode-3.6/.mtn2git_empty 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 |