diff --git a/BuildIssues.txt b/BuildIssues.txt
index a05b5301c3c3217f6ef357024abaea952f16974f..e995ea510550e8af3d38fede5b211cffd57812e4 100644
--- a/BuildIssues.txt
+++ b/BuildIssues.txt
@@ -118,4 +118,34 @@ your `~/.spack/packages.yaml` file:
 It appears that spack will otherwise ignore any paraview+qt version
 and attempt to install a paraview~qt version instead.
 
+---------------------------
+Building on Darwin (Mac-OS)
+---------------------------
+
+Support for Darwin is incomplete, but has been provisioned for.
+
+The following are typical (as of yet) unresolved issues.
+
+* Scotch, ptscotch:
+  - The librt linkage is required for Linux, but not for Darwin.
+
+  Current resolution:
+  Edit or patch
+      src/parallel/decompose/ptscotchDecomp/Make/options
+      src/parallel/decompose/scotchDecomp/Make/options
+
+  to remove the '-lrt' library
+
+* CGAL:
+  - ThirdParty CGAL will normally need to be compiled without mpfr/gmp.
+    This should be done manually prior to building OpenFOAM or other
+    ThirdParty. Eg,
+
+        cd $WM_THIRD_PARTY_DIR
+        ./makeCGAL gmp-none mpfr-none
+
+  The erroneous references to gmp/mpfr library can be directly removed
+  from the wmake/rules/General/CGAL, but it is more advisable to
+  override them instead in the wmake/rules/darwin64Clang/CGAL file.
+
 --
diff --git a/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/insertSurfaceNearestPointPairs.C b/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/insertSurfaceNearestPointPairs.C
index f15a02a01dd34c2837c0422fb325e0316f050e9e..7578920f824409d84e7f0a6d319cc3cd5dd5fb6f 100644
--- a/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/insertSurfaceNearestPointPairs.C
+++ b/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/insertSurfaceNearestPointPairs.C
@@ -144,8 +144,8 @@ void Foam::CV2D::insertSurfaceNearestPointPairs()
     label nSurfacePointsEst =
         min
         (
-            number_of_vertices(),
-            size_t(10*sqrt(scalar(number_of_vertices())))
+            label(number_of_vertices()),
+            label(10*sqrt(scalar(number_of_vertices())))
         );
 
     DynamicList<point2D> nearSurfacePoints(nSurfacePointsEst);