diff --git a/comms/flwrap/files/patch-src_include_base64.h b/comms/flwrap/files/patch-src_include_base64.h new file mode 100644 index 000000000000..5e088c997517 --- /dev/null +++ b/comms/flwrap/files/patch-src_include_base64.h @@ -0,0 +1,16 @@ +- fix the error: ./include/base64.h:24:2: error: reference to 'byte' is ambiguous +- the alternative 'byte' definition is std::byte + +--- src/include/base64.h.orig 2023-07-16 16:44:53 UTC ++++ src/include/base64.h +@@ -21,8 +21,8 @@ class base64 { (private) + size_t iolen; + size_t iocp; + bool ateof; +- byte dtable[256]; +- byte etable[256]; ++ ::byte dtable[256]; ++ ::byte etable[256]; + int linelength; + bool crlf; + void init();