freebsd-ports/multimedia/bombono/files/patch-src-mgui-project-add.cpp
Pawel Pekala f120b7547b - Force build with external boost libs otherwise port uses old,
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>
2012-06-06 18:48:37 +00:00

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);