ibrcommon: fix build on musl
authorAlexandru Ardelean <redacted>
Sun, 13 Dec 2015 16:57:54 +0000 (18:57 +0200)
committerAlexandru Ardelean <redacted>
Sun, 13 Dec 2015 19:46:17 +0000 (21:46 +0200)
commit87b7d9075fb869086cdeee37de49907d9c65aec6
tree0e969b6dedfdbd46ec3569077ece950c601dae45
parent315ef6bf4299f4ce320b89f7753c6ade15321b19
ibrcommon: fix build on musl

Build error:
```
make[6]: Entering directory `/home/sandu/work/openwrt/build_dir/target-mips_34kc_musl-1.1.11/ibrcommon-1.0.1/ibrcommon/data'
  CXX      BLOB.lo
  CXX      ConfigFile.lo
  CXX      File.lo
File.cpp: In member function 'std::__cxx11::string ibrcommon::File::getBasename() const':
File.cpp:229:44: error: 'basename' was not declared in this scope
   return std::string(basename(_path.c_str()));
                                            ^
make[6]: *** [File.lo] Error 1
```

Signed-off-by: Alexandru Ardelean <redacted>
libs/ibrcommon/Makefile
libs/ibrcommon/patches/001-fix-build-with-musl.patch [new file with mode: 0644]
git clone https://git.99rst.org/PROJECT