<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot/package/ibrcommon/0001-ibrcommon-data-File.cpp-support-POSIX-basename-call.patch, branch 2016.02</title>
<subtitle>OpenPOWER buildroot sources</subtitle>
<id>https://git.raptorcs.com/git/buildroot/atom?h=2016.02</id>
<link rel='self' href='https://git.raptorcs.com/git/buildroot/atom?h=2016.02'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/'/>
<updated>2015-09-20T12:50:58+00:00</updated>
<entry>
<title>package/ibrcommon: fix basename call under musl</title>
<updated>2015-09-20T12:50:58+00:00</updated>
<author>
<name>Brendan Heading</name>
<email>brendanheading@gmail.com</email>
</author>
<published>2015-09-14T22:26:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=186d5d1b5f393d074d6ad205d8ef7e7c471f09e7'/>
<id>urn:sha1:186d5d1b5f393d074d6ad205d8ef7e7c471f09e7</id>
<content type='text'>
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 &lt;brendanheading@gmail.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
</feed>
