-
-
Notifications
You must be signed in to change notification settings - Fork 12.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
openrtsp 2022.11.19 #116222
openrtsp 2022.11.19 #116222
Conversation
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. To keep this pull request open, add a |
16842a8
to
8552fbf
Compare
This should fix the build: index eb359069ed7..2e6389c7292 100644
--- a/Formula/openrtsp.rb
+++ b/Formula/openrtsp.rb
@@ -27,6 +27,11 @@ class Openrtsp < Formula
depends_on "openssl@3"
def install
+ # Fix usage of IN6ADDR_ANY_INIT macro (error: expected expression). See:
+ # https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/netinet_in.h.html
+ inreplace "groupsock/GroupsockHelper.cpp", "IN6ADDR_ANY_INIT",
+ "in6addr_any"
+
# Avoid linkage to system OpenSSL
libs = [
Formula["openssl@3"].opt_lib/shared_library("libcrypto"), The problem is, this macro struct sockaddr_in6 name;
memset(&name, 0, sizeof name);
name.sin6_family = AF_INET6;
name.sin6_addr = IN6ADDR_ANY_INIT;
name.sin6_port = (0); ... where Update: by the way, this patch still applies to the newest version Footnotes |
openrtsp: add build patch openrtsp: adjust build patch Signed-off-by: Rui Chen <rui@chenrui.dev>
1293a90
to
ac454f1
Compare
Created by
brew bump
Created with
brew bump-formula-pr
.