summaryrefslogtreecommitdiff
path: root/extra/mkvtoolnix
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-23 00:01:51 +0000
committerroot <root@rshg054.dnsready.net>2012-07-23 00:01:51 +0000
commit59475c73370c37becae97edfb8eb2fe4d56ef87f (patch)
tree74197d2d4fb263937551ef47d3becb39585e8991 /extra/mkvtoolnix
parente4d2743138eaca146b1a01a7815facdb3d271d88 (diff)
Mon Jul 23 00:01:51 UTC 2012
Diffstat (limited to 'extra/mkvtoolnix')
-rw-r--r--extra/mkvtoolnix/PKGBUILD12
-rw-r--r--extra/mkvtoolnix/mm_io.patch11
2 files changed, 19 insertions, 4 deletions
diff --git a/extra/mkvtoolnix/PKGBUILD b/extra/mkvtoolnix/PKGBUILD
index be933c4e8..2439562e4 100644
--- a/extra/mkvtoolnix/PKGBUILD
+++ b/extra/mkvtoolnix/PKGBUILD
@@ -1,22 +1,26 @@
-# $Id: PKGBUILD 163712 2012-07-18 01:05:57Z ibiru $
+# $Id: PKGBUILD 163843 2012-07-21 11:04:01Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: xduugu <xduugu@gmx.com>
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=""
diff --git a/extra/mkvtoolnix/mm_io.patch b/extra/mkvtoolnix/mm_io.patch
new file mode 100644
index 000000000..9ee9e018f
--- /dev/null
+++ b/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;