aboutsummaryrefslogtreecommitdiff
path: root/cad/kicad-devel
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2018-07-09 13:26:24 +0000
committerJan Beich <jbeich@FreeBSD.org>2018-07-09 13:26:24 +0000
commite1d5e23e2bd5d5e9da960ee968d63a545626e0b2 (patch)
treec19546ecc8091918e106eaf48a83eb3e29228e60 /cad/kicad-devel
parentfd69e13489a28dc57703cc4574b3537613f755e6 (diff)
downloadports-e1d5e23e2bd5d5e9da960ee968d63a545626e0b2.tar.gz
ports-e1d5e23e2bd5d5e9da960ee968d63a545626e0b2.zip
cad/kicad-devel: unbreak with boost 1.68
3d-viewer/3d_cache/3d_cache.cpp:37:10: fatal error: 'boost/uuid/sha1.hpp' file not found #include <boost/uuid/sha1.hpp> ^ PR: 229569
Notes
Notes: svn path=/head/; revision=474255
Diffstat (limited to 'cad/kicad-devel')
-rw-r--r--cad/kicad-devel/files/patch-3d-viewer_3d__cache_3d__cache.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/cad/kicad-devel/files/patch-3d-viewer_3d__cache_3d__cache.cpp b/cad/kicad-devel/files/patch-3d-viewer_3d__cache_3d__cache.cpp
new file mode 100644
index 000000000000..dc16e997f267
--- /dev/null
+++ b/cad/kicad-devel/files/patch-3d-viewer_3d__cache_3d__cache.cpp
@@ -0,0 +1,21 @@
+After boostorg/uuid@33da3e2a5b87 (and boostorg/uuid@3d2f7758e9e1) build fails:
+
+3d-viewer/3d_cache/3d_cache.cpp:37:10: fatal error: 'boost/uuid/sha1.hpp' file not found
+#include <boost/uuid/sha1.hpp>
+ ^
+
+--- 3d-viewer/3d_cache/3d_cache.cpp.orig 2018-07-03 15:23:16 UTC
++++ 3d-viewer/3d_cache/3d_cache.cpp
+@@ -34,7 +34,12 @@
+ #include <wx/log.h>
+ #include <wx/stdpaths.h>
+
++#include <boost/version.hpp>
++#if (BOOST_VERSION >= 106600)
++#include <boost/uuid/detail/sha1.hpp>
++#else
+ #include <boost/uuid/sha1.hpp>
++#endif
+
+ #include <glm/glm.hpp>
+ #include <glm/ext.hpp>