summaryrefslogtreecommitdiffstats
path: root/multimedia/bombono-dvd/patches/autoptr2uniqueptr.patch
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-14 17:46:48 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-16 01:33:35 +0700
commit9a97e05d11b5762ba3606dc9f4f1603ea198cc10 (patch)
tree82d26298c537ff14367ea072a6b7d543b4da61a8 /multimedia/bombono-dvd/patches/autoptr2uniqueptr.patch
parent053714cbb4243db2b0586af7a8251301c3fd1320 (diff)
downloadslackbuilds-9a97e05d11b5762ba3606dc9f4f1603ea198cc10.tar.gz
slackbuilds-9a97e05d11b5762ba3606dc9f4f1603ea198cc10.tar.xz
multimedia/bombono-dvd: Fix build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/bombono-dvd/patches/autoptr2uniqueptr.patch')
-rw-r--r--multimedia/bombono-dvd/patches/autoptr2uniqueptr.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/multimedia/bombono-dvd/patches/autoptr2uniqueptr.patch b/multimedia/bombono-dvd/patches/autoptr2uniqueptr.patch
new file mode 100644
index 0000000000..ca4c045537
--- /dev/null
+++ b/multimedia/bombono-dvd/patches/autoptr2uniqueptr.patch
@@ -0,0 +1,12 @@
+--- bombono-dvd-1.2.2/libs/boost-logging/boost/logging/detail/tss/tss_impl_pthread.hpp 2013-03-08 00:50:45.000000000 +0330
++++ new/libs/boost-logging/boost/logging/detail/tss/tss_impl_pthread.hpp 2015-11-26 20:06:48.693423531 +0330
+@@ -39,7 +39,7 @@
+ slots = static_cast<tss_slots*>( pthread_getspecific(tss_data_native_key()));
+ if (slots == 0)
+ {
+- std::auto_ptr<tss_slots> temp( new_object_ensure_delete<tss_slots>() );
++ std::unique_ptr<tss_slots> temp( new_object_ensure_delete<tss_slots>() );
+ // pre-allocate a few elems, so that we'll be fast
+ temp->resize(BOOST_LOG_TSS_SLOTS_SIZE);
+
+