summaryrefslogtreecommitdiff
path: root/user/libixion/nullptr.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/libixion/nullptr.patch')
-rw-r--r--user/libixion/nullptr.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/user/libixion/nullptr.patch b/user/libixion/nullptr.patch
new file mode 100644
index 000000000..27540bf30
--- /dev/null
+++ b/user/libixion/nullptr.patch
@@ -0,0 +1,25 @@
+From a8fe2c542b16ee30723ab3d7f3b643ee479e9723 Mon Sep 17 00:00:00 2001
+From: orbea <orbea@riseup.net>
+Date: Fri, 23 Aug 2019 08:50:28 -0700
+Subject: [PATCH] Fix build with clang.
+
+---
+ include/ixion/model_context.hpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/include/ixion/model_context.hpp b/include/ixion/model_context.hpp
+index 6ff5b678..dc27ed03 100644
+--- a/include/ixion/model_context.hpp
++++ b/include/ixion/model_context.hpp
+@@ -61,7 +61,7 @@ public:
+ } value;
+
+ /** Initializes the cell to be empty. */
+- input_cell(nullptr_t);
++ input_cell(std::nullptr_t);
+ /** Boolean cell value. */
+ input_cell(bool b);
+ /** The char array must be null-terminated. */
+--
+2.22.0
+