Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2018 18:04:16 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r483505 - head/devel/libcwd/files
Message-ID:  <201810301804.w9UI4GQQ096892@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Tue Oct 30 18:04:16 2018
New Revision: 483505
URL: https://svnweb.freebsd.org/changeset/ports/483505

Log:
  devel/libcwd: Unbreak build with GCC >= 8
  
  conftest.cpp:11:36: error: return-statement with a value, in function returning 'void'
  
  http://package22.nyi.freebsd.org/data/112amd64-default-PR231590/2018-10-29_06h48m05s/logs/errors/libcwd-1.0.6_3.log
  
  PR:		231590

Added:
  head/devel/libcwd/files/patch-configure   (contents, props changed)

Added: head/devel/libcwd/files/patch-configure
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libcwd/files/patch-configure	Tue Oct 30 18:04:16 2018	(r483505)
@@ -0,0 +1,15 @@
+Unbreak build with GCC >= 8
+
+conftest.cpp:11:36: error: return-statement with a value, in function returning 'void' 
+
+--- configure.orig	2018-10-30 17:53:07 UTC
++++ configure
+@@ -17744,7 +17744,7 @@ if ac_fn_cxx_try_run "$LINENO"; then :
+ #define ARGF f
+ #endif
+ template<typename ARG>
+-  void detect_type(ARG)
++  int detect_type(ARG)
+   {
+     return reinterpret_cast<ARG*>(0);
+   }



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