]> code.ossystems Code Review - openembedded-core.git/commit
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:39:22 +0000 (11:39 +0100)
commitfae7fc49052720f037bac128084851c09d420381
tree67f736c4d68c134ce561c3310efc69cee94c435c
parent1e381c83396a65c6c93b8fc1f4e35564c52bd042
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]

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