apt 0.7.14: do_compile failed with gcc 4.7
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 7 Jun 2012 23:37:09 +0000 (16:37 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 8 Jun 2012 10:43:22 +0000 (11:43 +0100)
commitf68f1f087f8c7899afa93d4cd55d728ba0502b12
treeef7bd76faff05e3c377c4e9079ee5a7414fc5eed
parent121ec86ecd86f71f4062a915d0b32e038f136091
apt 0.7.14: do_compile failed with gcc 4.7

apt do_compile failed with gcc 4.7:

deb/deblistparser.cc: In member function 'virtual short unsigned int debListParser::VersionHash()':
deb/deblistparser.cc:212:13: error: redeclaration of 'char* I'
deb/deblistparser.cc:202:22: error: 'const char** I' previously declared here

Backport the patch from the upstream would fix the problem, both target and
native apt need it.

[YOCTO #2488]

(From OE-Core rev: fae7fc49052720f037bac128084851c09d420381)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/apt/apt-0.7.14/remove-redeclaration.patch [new file with mode: 0644]
meta/recipes-devtools/apt/apt-native_0.7.14.bb
meta/recipes-devtools/apt/apt.inc
meta/recipes-devtools/apt/apt_0.7.14.bb