fix-gcc-4.6-ftbfs.patch 719 B

123456789101112131415161718
  1. Author: Ludovico Cavedon <cavedon@debian.org>
  2. Description: Fix compilation with GCC 4.6
  3. Forwarded: yes
  4. Index: htmlcxx/html/tree.h
  5. ===================================================================
  6. --- htmlcxx.orig/html/tree.h
  7. +++ htmlcxx/html/tree.h
  8. @@ -116,7 +116,7 @@ class tree {
  9. typedef T* pointer;
  10. typedef T& reference;
  11. typedef size_t size_type;
  12. - typedef ptrdiff_t difference_type;
  13. + typedef std::ptrdiff_t difference_type;
  14. typedef std::bidirectional_iterator_tag iterator_category;
  15. iterator_base();