svn commit: r484041 - head/devel/heimdall

Alexey Dokuchaev danfe at freebsd.org
Sun Nov 4 15:13:16 UTC 2018


On Sun, Nov 04, 2018 at 01:45:12PM +0000, Rene Ladan wrote:
> New Revision: 484041
> URL: https://svnweb.freebsd.org/changeset/ports/484041
> 
> Log:
>   devel/heimdal1: always use GCC now after removing support for 10.X
>   
>   Submitted by:	gerald, ehaupt
>   Approved by:	maintainer (ehaupt)
> 
> ...
> @@ -15,6 +15,8 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
>  
>  USES=		cmake
>  USE_GITHUB=	yes
> +# does not compile with clang 6.0.0
> +USE_GCC=	yes

I don't understand, why not just fix the code by removing offending part:

--- libpit/source/libpit.h.orig 2017-05-11 18:34:25 UTC
+++ libpit/source/libpit.h
@@ -25,14 +25,6 @@
 #pragma warning(disable : 4996)
 #endif

-#if (!(defined _MSC_VER) || (_MSC_VER < 1700))
-
-#ifndef nullptr
-#define nullptr 0
-#endif
-
-#endif
-
 // C/C++ Standard Library
 #include <cstring>
 #include <string>

./danfe


More information about the svn-ports-all mailing list