]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
acl: backport upstream patch to fix static build
authorRahul Bedarkar <rahul.bedarkar@imgtec.com>
Sun, 11 Dec 2016 15:30:43 +0000 (21:00 +0530)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 11 Dec 2016 17:04:53 +0000 (18:04 +0100)
commit250b301ceb2992346e28ef1c4afafc6ad1d768d0
treec37a9c59665de087173535c83c57428cee2b8bfb
parent65395920b51a5c2c9775f6b23212b765ca9a991c
acl: backport upstream patch to fix static build

When building tar package with acl in static build configuration, we
get definition clash error for 'quote' function.

../gnu/libgnu.a(quotearg.o): In function 'quote':
quotearg.c:(.text+0x12fc): multiple definition of 'quote'
../sysroot/usr/lib/libacl.a(quote.o):/home/test/autobuild/run/instance-1/output/build/acl-2.2.52/libmisc/quote.c:27: first defined here

In acl upstream, this is already fixed by renaming quote and unquote
internal functions. This commit backports upstream patch.

Fixes:
  http://autobuild.buildroot.net/results/d64/d64d13745c980d322d3b80c3b324d03eb7f17262

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/acl/0002-add-__acl_-prefixes-to-internal-symbols.patch [new file with mode: 0644]