summary refs log tree commit diff
path: root/pkgs/development/libraries/htmlcxx/ptrdiff.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/htmlcxx/ptrdiff.patch')
-rw-r--r--pkgs/development/libraries/htmlcxx/ptrdiff.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/development/libraries/htmlcxx/ptrdiff.patch b/pkgs/development/libraries/htmlcxx/ptrdiff.patch
new file mode 100644
index 00000000000..6348ba24f8d
--- /dev/null
+++ b/pkgs/development/libraries/htmlcxx/ptrdiff.patch
@@ -0,0 +1,13 @@
+diff -rc htmlcxx-orig-0.85/html/tree.h htmlcxx-0.85/html/tree.h
+*** htmlcxx-orig-0.85/html/tree.h	2015-09-02 13:57:17.988688798 +0200
+--- htmlcxx-0.85/html/tree.h	2015-09-02 13:57:52.737768811 +0200
+***************
+*** 45,50 ****
+--- 45,51 ----
+  #ifndef tree_hh_
+  #define tree_hh_
+  
++ #include <cstddef>
+  #include <cassert>
+  #include <memory>
+  #include <stdexcept>