[arch-commits] Commit in mkvtoolnix/trunk (PKGBUILD mm_io.patch)
Giovanni Scafora
giovanni at archlinux.org
Sat Jul 21 11:03:32 UTC 2012
Date: Saturday, July 21, 2012 @ 07:03:32
Author: giovanni
Revision: 163842
upgpkg: mkvtoolnix 5.7.0-3
Fixed FS30774
Added:
mkvtoolnix/trunk/mm_io.patch
Modified:
mkvtoolnix/trunk/PKGBUILD
-------------+
PKGBUILD | 10 +++++++---
mm_io.patch | 11 +++++++++++
2 files changed, 18 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-07-21 10:59:26 UTC (rev 163841)
+++ PKGBUILD 2012-07-21 11:03:32 UTC (rev 163842)
@@ -5,18 +5,22 @@
pkgbase=mkvtoolnix
pkgname=('mkvtoolnix-cli' 'mkvtoolnix-gtk')
pkgver=5.7.0
-pkgrel=2
+pkgrel=3
arch=('i686' 'x86_64')
license=('GPL')
url="http://www.bunkus.org/videotools/mkvtoolnix/index.html"
makedepends=('libmatroska' 'flac' 'libvorbis' 'file' 'wxgtk'
'boost-libs' 'lzo2' 'xdg-utils' 'boost' 'ruby')
-source=("http://www.bunkus.org/videotools/${pkgbase}/sources/${pkgbase}-${pkgver}.tar.bz2")
-md5sums=('99ea44be570412dadafe4ccaee0cfe6e')
+source=("http://www.bunkus.org/videotools/${pkgbase}/sources/${pkgbase}-${pkgver}.tar.bz2"
+ 'mm_io.patch')
+md5sums=('99ea44be570412dadafe4ccaee0cfe6e'
+ '293bd4551ef8529e9d4796c5a201b8fc')
build() {
cd "${srcdir}/${pkgbase}-${pkgver}"
+ patch -Np1 -i "${srcdir}/mm_io.patch"
+
# Disable automagic curl dep used for online update checking
sed -i -e '/curl/d' configure.in
export CURL_CFLAGS="" CURL_LIBS=""
Added: mm_io.patch
===================================================================
--- mm_io.patch (rev 0)
+++ mm_io.patch 2012-07-21 11:03:32 UTC (rev 163842)
@@ -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;
More information about the arch-commits
mailing list