mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
37 lines
953 B
Diff
37 lines
953 B
Diff
Fix:
|
|
|
|
error: no member named 'setlocale' in namespace 'std'
|
|
error: use of undeclared identifier 'LC_ALL'
|
|
--- src/benchmark.cpp.orig 2026-04-16 08:54:25.000000000 -0500
|
|
+++ src/benchmark.cpp 2026-04-19 17:29:30.000000000 -0500
|
|
@@ -15,6 +15,8 @@
|
|
#include <fzssh/client.hpp>
|
|
#include <fzssh/privkey.hpp>
|
|
|
|
+#include <clocale>
|
|
+
|
|
using namespace std::literals;
|
|
|
|
class sftp : public fz::ssh::sftp::response_handler, fz::event_handler
|
|
--- src/chatter_client.cpp.orig 2026-04-16 08:54:25.000000000 -0500
|
|
+++ src/chatter_client.cpp 2026-04-19 17:29:38.000000000 -0500
|
|
@@ -12,6 +12,8 @@
|
|
|
|
#include <fzssh/client.hpp>
|
|
|
|
+#include <clocale>
|
|
+
|
|
using namespace std::literals;
|
|
|
|
namespace {
|
|
--- src/client.cpp.orig 2026-04-16 08:54:25.000000000 -0500
|
|
+++ src/client.cpp 2026-04-19 17:29:19.000000000 -0500
|
|
@@ -15,6 +15,7 @@
|
|
#include <fzssh/client.hpp>
|
|
#include <fzssh/privkey.hpp>
|
|
|
|
+#include <clocale>
|
|
#include <iostream>
|
|
|
|
using namespace std::literals;
|