svn commit: r483505 - head/devel/libcwd/files

Tobias Kortkamp tobik at FreeBSD.org
Tue Oct 30 18:04:17 UTC 2018


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);
+   }


More information about the svn-ports-all mailing list