summaryrefslogtreecommitdiff
path: root/misc/par2cmdline-tbb/memory.patch
diff options
context:
space:
mode:
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;