Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jul 2018 13:26:24 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r474255 - head/cad/kicad-devel/files
Message-ID:  <201807091326.w69DQOLA020315@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Mon Jul  9 13:26:24 2018
New Revision: 474255
URL: https://svnweb.freebsd.org/changeset/ports/474255

Log:
  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

Added:
  head/cad/kicad-devel/files/patch-3d-viewer_3d__cache_3d__cache.cpp   (contents, props changed)

Added: head/cad/kicad-devel/files/patch-3d-viewer_3d__cache_3d__cache.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/cad/kicad-devel/files/patch-3d-viewer_3d__cache_3d__cache.cpp	Mon Jul  9 13:26:24 2018	(r474255)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807091326.w69DQOLA020315>