slackbuilds_ponce/misc/par2cmdline-tbb/memory.patch
powtrix 0b73ea5934 misc/par2cmdline-tbb: Added (a multithreaded version of par2cmdline)
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
2012-03-29 10:16:24 -05:00

44 lines
1.7 KiB
Diff

diff -Nru par2cmdline-0.4-tbb-20100203.bad/commandline.cpp par2cmdline-0.4-tbb-20100203/commandline.cpp
--- par2cmdline-0.4-tbb-20100203.bad/commandline.cpp 2009-02-03 03:13:53.000000000 -0200
+++ par2cmdline-0.4-tbb-20100203/commandline.cpp 2012-01-16 22:20:31.364121046 -0200
@@ -24,6 +24,7 @@
// Copyright (c) 2007 Intel Corp.
#include "par2cmdline.h"
+#include <memory>
#if __APPLE__
#include <sys/types.h>
diff -Nru par2cmdline-0.4-tbb-20100203.bad/par2cmdline.cpp par2cmdline-0.4-tbb-20100203/par2cmdline.cpp
--- par2cmdline-0.4-tbb-20100203.bad/par2cmdline.cpp 2009-02-03 03:14:52.000000000 -0200
+++ par2cmdline-0.4-tbb-20100203/par2cmdline.cpp 2012-01-16 22:20:04.448120187 -0200
@@ -24,6 +24,7 @@
// Copyright (c) 2007 Intel Corp.
#include "par2cmdline.h"
+#include <memory>
#ifdef _MSC_VER
#ifdef _DEBUG
diff -Nru par2cmdline-0.4-tbb-20100203.bad/par2creator.cpp par2cmdline-0.4-tbb-20100203/par2creator.cpp
--- par2cmdline-0.4-tbb-20100203.bad/par2creator.cpp 2008-10-09 10:37:56.000000000 -0300
+++ par2cmdline-0.4-tbb-20100203/par2creator.cpp 2012-01-16 22:21:30.151122853 -0200
@@ -30,6 +30,7 @@
// par2cmdline-0.4-tbb is available at http://chuchusoft.com/par2_tbb
#include "par2cmdline.h"
+#include <memory>
#if WANT_CONCURRENT
#if CONCURRENT_PIPELINE
diff -Nru par2cmdline-0.4-tbb-20100203.bad/par2repairer.cpp par2cmdline-0.4-tbb-20100203/par2repairer.cpp
--- par2cmdline-0.4-tbb-20100203.bad/par2repairer.cpp 2009-02-03 03:14:42.000000000 -0200
+++ par2cmdline-0.4-tbb-20100203/par2repairer.cpp 2012-01-16 22:21:15.992122418 -0200
@@ -30,6 +30,7 @@
// par2cmdline-0.4-tbb is available at http://chuchusoft.com/par2_tbb
#include "par2cmdline.h"
+#include <memory>
//static unsigned gti;
//static tbb::atomic<unsigned> gti;