aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Berndt <lukekb@gmail.com>2023-02-06 21:01:47 -0500
committerLuke Berndt <lukekb@gmail.com>2023-02-06 21:01:47 -0500
commita11e502cf39fd7e1144180bcfb40223f92b3fc91 (patch)
treebad73b2735169200f30c1c0913e096bf5a5064c9
parentee002acd4cfe85161e2b523fa12735cf914a363a (diff)
Fix Mac Builds on Ventura
This should fix #766 - also updated the Homebrew build instructions
-rw-r--r--docs/INSTALL-MAC.md4
-rw-r--r--lib/op25_repeater/lib/frame_assembler_impl.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/docs/INSTALL-MAC.md b/docs/INSTALL-MAC.md
index 6e29e064..24be9caa 100644
--- a/docs/INSTALL-MAC.md
+++ b/docs/INSTALL-MAC.md
@@ -40,9 +40,11 @@ At this point, proceed to the [build instructions](#building-trunk-recorder).
Note that you will need to provide the flag `-DOPENSSL_ROOT_DIR=/usr/local/opt/openssl` to the invocation of `cmake` in the [Build Instructions](https://github.com/robotastic/trunk-recorder/wiki/Building-Trunk-Recorder) or you will receive an error from CMake about not finding libssl or a linking error from `make` about not having a library for `-lssl`:
```bash
-cmake ../trunk-recorder -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl
+cmake ../trunk-recorder -DOPENSSL_ROOT_DIR=/opt/homebrew/opt/openssl@3
```
+
+
## Using MacPorts
### These instructions should work on OS X 10.10, OS X 10.11, and macOS 10.12.
diff --git a/lib/op25_repeater/lib/frame_assembler_impl.h b/lib/op25_repeater/lib/frame_assembler_impl.h
index 1f508d2a..dc08ff82 100644
--- a/lib/op25_repeater/lib/frame_assembler_impl.h
+++ b/lib/op25_repeater/lib/frame_assembler_impl.h
@@ -29,7 +29,7 @@
#include <netinet/in.h>
#include <arpa/inet.h>
#include <deque>
-
+#include <array>
#include "rx_base.h"
typedef std::deque<uint8_t> dibit_queue;