summarylogtreecommitdiffstats
path: root/0001-build-with-clang.patch
diff options
context:
space:
mode:
authorgsc2016-10-21 23:41:00 +0800
committergsc2016-10-21 23:41:00 +0800
commitaa4c7fe7cbee06ee8723941a767b79efb8b78023 (patch)
tree729ebe02b8504f0e7aa1b6f35e70bfb3129e91e4 /0001-build-with-clang.patch
parent7c6bb431aa6569ccfe33e4c73c3e4a665c5d94bd (diff)
downloadaur-aa4c7fe7cbee06ee8723941a767b79efb8b78023.tar.gz
add patch clang
Diffstat (limited to '0001-build-with-clang.patch')
-rw-r--r--0001-build-with-clang.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/0001-build-with-clang.patch b/0001-build-with-clang.patch
new file mode 100644
index 00000000000..eabd7c15698
--- /dev/null
+++ b/0001-build-with-clang.patch
@@ -0,0 +1,25 @@
+From 16c81f69dca70544f6d9d5304970856a7610f0cb Mon Sep 17 00:00:00 2001
+From: gsc <xgdgsc@gmail.com>
+Date: Fri, 21 Oct 2016 15:50:42 +0800
+Subject: [PATCH] build with clang
+
+---
+ libgo/channel.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libgo/channel.h b/libgo/channel.h
+index 25c2727..f888d16 100644
+--- a/libgo/channel.h
++++ b/libgo/channel.h
+@@ -4,7 +4,7 @@
+ #include <libgo/block_object.h>
+ #include <libgo/co_mutex.h>
+ #include <libgo/scheduler.h>
+-
++using std::nullptr_t;
+ namespace co
+ {
+
+--
+2.10.0
+