aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2018-10-30 18:04:16 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2018-10-30 18:04:16 +0000
commitb177fb431b946100b202c0a0692b27677dd51eb8 (patch)
tree3e64228178d858645f1f224570032dd6e280f9d1 /devel
parente914b6d5e6a58c5df853d44f9e306f2e30cc3e4f (diff)
downloadports-b177fb431b946100b202c0a0692b27677dd51eb8.tar.gz
ports-b177fb431b946100b202c0a0692b27677dd51eb8.zip
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
Notes
Notes: svn path=/head/; revision=483505
Diffstat (limited to 'devel')
-rw-r--r--devel/libcwd/files/patch-configure15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/libcwd/files/patch-configure b/devel/libcwd/files/patch-configure
new file mode 100644
index 000000000000..da0f43d64eb4
--- /dev/null
+++ b/devel/libcwd/files/patch-configure
@@ -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);
+ }