diff options
author | Brendan Heading <brendanheading@gmail.com> | 2015-09-14 23:26:51 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-09-20 14:50:58 +0200 |
commit | 186d5d1b5f393d074d6ad205d8ef7e7c471f09e7 (patch) | |
tree | c4e76a2d3dce7c454f05d3df06ceb50e0303ebab /package/perl-html-parser | |
parent | 6d475da9a0037bc6efbdeb482e2f678bb8089e70 (diff) | |
download | buildroot-186d5d1b5f393d074d6ad205d8ef7e7c471f09e7.tar.gz buildroot-186d5d1b5f393d074d6ad205d8ef7e7c471f09e7.zip |
package/ibrcommon: fix basename call under musl
Fixes:
http://autobuild.buildroot.net/results/9c3/9c3889fe80e58b7a35c242332f993992044d2f6b/
ibrcommon was relying on a glibc extension to basename(3) which allowed it
to accept a const char* parameter (instead of char*). Fixed by testing
for __GLIBC__; if not defined (such as when musl is in use) a fallback
block is used which creates a temporary copy of the path.
Signed-off-by: Brendan Heading <brendanheading@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/perl-html-parser')
0 files changed, 0 insertions, 0 deletions