pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/libfilezilla



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Nov 23 11:15:13 UTC 2023

Modified Files:
        pkgsrc/net/libfilezilla: Makefile

Log Message:
libfilezilla: try requiring gcc 8

to fix
nvoker.cpp: In function 'fz::invoker_factory fz::get_invoker_factory(fz::event_loop&)':
invoker.cpp:28:54: error: 'loop' was not declared in this scope
  return [handler = std::optional<thread_invoker>(), &loop](std::function<void()> const& cb) mutable {
                                                      ^~~~
invoker.cpp: In lambda function:
invoker.cpp:30:20: error: 'loop' is not captured
    handler.emplace(loop);
                    ^~~~
invoker.cpp:28:58: note: the lambda has no capture-default
  return [handler = std::optional<thread_invoker>(), &loop](std::function<void()> const& cb) mutable {
                                                          ^
invoker.cpp:28:54: note: '<typeprefixerror>loop' declared here
  return [handler = std::optional<thread_invoker>(), &loop](std::function<void()> const& cb) mutable {
                                                      ^~~~
seen with gcc 7 on NetBSD 9.


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 pkgsrc/net/libfilezilla/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/libfilezilla/Makefile
diff -u pkgsrc/net/libfilezilla/Makefile:1.54 pkgsrc/net/libfilezilla/Makefile:1.55
--- pkgsrc/net/libfilezilla/Makefile:1.54       Wed Nov  8 13:20:29 2023
+++ pkgsrc/net/libfilezilla/Makefile    Thu Nov 23 11:15:13 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.54 2023/11/08 13:20:29 wiz Exp $
+# $NetBSD: Makefile,v 1.55 2023/11/23 11:15:13 wiz Exp $
 
 DISTNAME=      libfilezilla-0.45.0
 PKGREVISION=   1
@@ -18,6 +18,8 @@ USE_TOOLS+=   gmake msgfmt pkg-config
 USE_LANGUAGES= c c++
 
 USE_CXX_FEATURES=      c++17
+# NetBSD 9's gcc 7 is not good enough
+GCC_REQD+=             8
 
 PKGCONFIG_OVERRIDE+=   lib/libfilezilla.pc.in
 



Home | Main Index | Thread Index | Old Index