summaryrefslogtreecommitdiff
path: root/mkvtoolnix
diff options
context:
space:
mode:
authorDanny Rawlins <monster.romster@gmail.com>2015-04-23 20:30:56 +1000
committerDanny Rawlins <monster.romster@gmail.com>2015-04-23 20:30:56 +1000
commit201b88af7fc8a2b28fd86ce7233e5fd8660f8c81 (patch)
tree5205f053d4e18681445b867e93f0fbc0744ea587 /mkvtoolnix
parent82d629cef541c9b3b7382dcf7d46ddce1bc8e345 (diff)
downloadcontrib-201b88af7fc8a2b28fd86ce7233e5fd8660f8c81.tar.gz
contrib-201b88af7fc8a2b28fd86ce7233e5fd8660f8c81.tar.xz
mkvtoolnix: patch for boost 1.58
Diffstat (limited to 'mkvtoolnix')
-rw-r--r--mkvtoolnix/.md5sum1
-rw-r--r--mkvtoolnix/Pkgfile7
-rw-r--r--mkvtoolnix/boost-1.58.patch26
3 files changed, 32 insertions, 2 deletions
diff --git a/mkvtoolnix/.md5sum b/mkvtoolnix/.md5sum
index 33050d7be..877b3f974 100644
--- a/mkvtoolnix/.md5sum
+++ b/mkvtoolnix/.md5sum
@@ -1 +1,2 @@
+ba7ad1b6a0573e70351f879576df56ea boost-1.58.patch
91fd8f34c25b8d3980c3e39b3cb6ae6c mkvtoolnix-7.8.0.tar.xz
diff --git a/mkvtoolnix/Pkgfile b/mkvtoolnix/Pkgfile
index 4da9b8480..984537d0f 100644
--- a/mkvtoolnix/Pkgfile
+++ b/mkvtoolnix/Pkgfile
@@ -7,12 +7,15 @@
name=mkvtoolnix
version=7.8.0
-release=1
-source=(http://www.bunkus.org/videotools/mkvtoolnix/sources/$name-$version.tar.xz)
+release=2
+source=(http://www.bunkus.org/videotools/mkvtoolnix/sources/$name-$version.tar.xz
+ boost-1.58.patch)
build() {
cd $name-$version
+ patch -p1 -i $SRC/boost-1.58.patch
+
local JOBS=$(awk 'BEGIN{RS="-j|--jobs="} NR==2 {print $1}' <<< $MAKEFLAGS)
test -n "$JOBS" && export DRAKETHREADS="$JOBS"
diff --git a/mkvtoolnix/boost-1.58.patch b/mkvtoolnix/boost-1.58.patch
new file mode 100644
index 000000000..b596ceb60
--- /dev/null
+++ b/mkvtoolnix/boost-1.58.patch
@@ -0,0 +1,26 @@
+diff --git a/testing/mkvtoolnix/boost-1.58.patch b/testing/mkvtoolnix/boost-1.58.patch
+new file mode 100644
+index 0000000..b42c04a
+--- /dev/null
++++ b/testing/mkvtoolnix/boost-1.58.patch
+@@ -0,0 +1,20 @@
++--- ./lib/boost/utf8_codecvt_facet/utf8_codecvt_facet.cpp.orig
+++++ ./lib/boost/utf8_codecvt_facet/utf8_codecvt_facet.cpp
++@@ -171,14 +171,13 @@
++ // How many char objects can I process to get <= max_limit
++ // wchar_t objects?
++ int utf8_codecvt_facet::do_length(
++- BOOST_CODECVT_DO_LENGTH_CONST std::mbstate_t &,
+++ const std::mbstate_t &,
++ const char * from,
++ const char * from_end,
++ std::size_t max_limit
+++) const
++ #if BOOST_WORKAROUND(__IBMCPP__, BOOST_TESTED_AT(600))
++-) const throw()
++-#else
++-) const
+++ throw()
++ #endif
++ {
++ // RG - this code is confusing! I need a better way to express it.

Generated by cgit