summaryrefslogtreecommitdiff
path: root/misc/par2cmdline-tbb/memory.patch
diff options
context:
space:
mode:
authorpowtrix <powtrix@gmail.com>2012-02-20 16:40:32 -0600
committerErik Hanson <erik@slackbuilds.org>2012-03-29 10:16:24 -0500
commit0b73ea593452a71b34a548014c843d96bdb68c88 (patch)
tree1bacf262a30871eea44649d74f95163ed8b226ce /misc/par2cmdline-tbb/memory.patch
parente6f1ecf787fcc2e266db623f829e67f3295510af (diff)
downloadslackbuilds-0b73ea593452a71b34a548014c843d96bdb68c88.tar.gz
misc/par2cmdline-tbb: Added (a multithreaded version of par2cmdline)
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'misc/par2cmdline-tbb/memory.patch')
-rw-r--r--misc/par2cmdline-tbb/memory.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/misc/par2cmdline-tbb/memory.patch b/misc/par2cmdline-tbb/memory.patch
new file mode 100644
index 0000000000..4592daeb3d
--- /dev/null
+++ b/misc/par2cmdline-tbb/memory.patch
@@ -0,0 +1,44 @@
+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;