mail/bogofilter's build failure with LLVM 10 is another silly case
of a configure script failing to recognize the compiler and treating
is as gcc3 or older.
http://build-failures.rhaalovely.net/amd64-clang/2020-07-31/mail/bogofilter%2Cqdbm.log

$ cc -dumpversion
10.0.0

ok?

Index: patches/patch-configure
===================================================================
RCS file: patches/patch-configure
diff -N patches/patch-configure
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-configure     1 Aug 2020 15:11:57 -0000
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+LLVM 9+ no longer pretends to be gcc 4.2.1
+
+Index: configure
+--- configure.orig
++++ configure
+@@ -5880,7 +5880,7 @@ gcc4=no
+ if test "$GCC" = yes && test "$ICC" = no ; then
+     case `$CC -dumpversion 2>/dev/null` in
+       ""|2.*|3.*) ;;
+-      4.*) gcc4=yes ;;
++      *) gcc4=yes ;;
+     esac
+     case "$CC" in
+       *clang) gcc4=yes ;;
-- 
Christian "naddy" Weisgerber                          na...@mips.inka.de

Reply via email to