summaryrefslogtreecommitdiffstats
path: root/abs/extra/mkvtoolnix/mm_io.patch
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 20:34:48 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 20:34:48 (GMT)
commitf16cfd1ae9779de3fa7f36d0e10502c789f01f2f (patch)
tree087a1ca424d0fb8a0c51eec2f221051d3702be24 /abs/extra/mkvtoolnix/mm_io.patch
parent2591f707fcbaf4e9ed30d9ca2c9d193784b38395 (diff)
downloadlinhes_pkgbuild-f16cfd1ae9779de3fa7f36d0e10502c789f01f2f.zip
linhes_pkgbuild-f16cfd1ae9779de3fa7f36d0e10502c789f01f2f.tar.gz
linhes_pkgbuild-f16cfd1ae9779de3fa7f36d0e10502c789f01f2f.tar.bz2
mkvtoolnix 5.7.0
Diffstat (limited to 'abs/extra/mkvtoolnix/mm_io.patch')
-rw-r--r--abs/extra/mkvtoolnix/mm_io.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/extra/mkvtoolnix/mm_io.patch b/abs/extra/mkvtoolnix/mm_io.patch
new file mode 100644
index 0000000..9ee9e01
--- /dev/null
+++ b/abs/extra/mkvtoolnix/mm_io.patch
@@ -0,0 +1,11 @@
+--- a/src/common/mm_io.cpp 2012-07-08 20:06:02.000000000 +0200
++++ b/src/common/mm_io.cpp 2012-07-21 11:59:59.000000000 +0200
+@@ -147,7 +147,7 @@
+ void
+ mm_file_io_c::prepare_path(const std::string &path) {
+ boost::filesystem::path directory = boost::filesystem::path(path).parent_path();
+- if (boost::filesystem::exists(directory))
++ if (directory.empty() || boost::filesystem::exists(directory))
+ return;
+
+ boost::system::error_code error_code;