forked from Lainports/freebsd-ports
bundled ones from tarball - Add patches to fix build with newer, external boost libs - Bump PORTREVISION as deps have changed PR: ports/168539 Reported by: David Wolfskill <david@catwhisker.org>
20 lines
790 B
C++
20 lines
790 B
C++
--- src/mgui/project/add.cpp.orig 2012-02-08 13:19:21.000000000 +0100
|
|
+++ src/mgui/project/add.cpp 2012-06-05 17:53:01.000000000 +0200
|
|
@@ -420,7 +420,7 @@
|
|
static std::string StandFNameOut(const fs::path& pth)
|
|
{
|
|
return "<span style=\"italic\" underline=\"low\">" +
|
|
- pth.leaf() + "</span>";
|
|
+ pth.filename().string() + "</span>";
|
|
}
|
|
|
|
#if GTK_CHECK_VERSION(2,18,0)
|
|
@@ -465,7 +465,7 @@
|
|
{
|
|
const std::string fname = paths[0];
|
|
fs::path pth(fname);
|
|
- std::string leaf = pth.leaf();
|
|
+ std::string leaf = pth.filename().string();
|
|
{
|
|
static re::pattern dvd_video_vob("(VIDEO_TS|VTS_[0-9][0-9]_[0-9]).VOB",
|
|
re::pattern::perl|re::pattern::icase);
|