aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2014-08-17 22:24:57 +0800
committerarved <arved@FreeBSD.org>2014-08-17 22:24:57 +0800
commit0800d2499478b041c3def473e730e048ac1b5b60 (patch)
tree94062db330065207e6def6cc2d5dc43e8fcdcecf
parent2818a379e0f47706b496f8d698fa8ffbccc6963b (diff)
downloadfreebsd-ports-gnome-0800d2499478b041c3def473e730e048ac1b5b60.tar.gz
freebsd-ports-gnome-0800d2499478b041c3def473e730e048ac1b5b60.tar.zst
freebsd-ports-gnome-0800d2499478b041c3def473e730e048ac1b5b60.zip
Add patch to fix build with libc++
-rw-r--r--audio/tomahawk/files/patch-src__libtomahawk__utils__Closure.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/tomahawk/files/patch-src__libtomahawk__utils__Closure.h b/audio/tomahawk/files/patch-src__libtomahawk__utils__Closure.h
new file mode 100644
index 000000000000..4c7fe8714f35
--- /dev/null
+++ b/audio/tomahawk/files/patch-src__libtomahawk__utils__Closure.h
@@ -0,0 +1,13 @@
+--- src/libtomahawk/utils/Closure.h.orig 2014-08-15 16:48:25.000000000 +0200
++++ src/libtomahawk/utils/Closure.h 2014-08-15 16:49:47.000000000 +0200
+@@ -30,6 +30,10 @@
+ #include <boost/noncopyable.hpp>
+ #include <boost/scoped_ptr.hpp>
+
++#ifdef _LIBCPP_VERSION
++namespace std { namespace tr1 = std; }
++#endif
++
+ namespace _detail {
+
+ class DLLEXPORT ClosureArgumentWrapper {