summaryrefslogtreecommitdiff
path: root/net/liveMedia/files/patch-config.linux-with-shared-libraries
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2025-05-07 22:25:12 -0400
committerJason E. Hale <jhale@FreeBSD.org>2025-05-07 22:42:27 -0400
commit61634b3d14c767486356d6124f15569e889233e3 (patch)
tree0813b1e91075afe2761b269377a6e06c7196718a /net/liveMedia/files/patch-config.linux-with-shared-libraries
parentmisc/flag-icons: supply three flag decoration flavors (diff)
net/liveMedia: Update to 2025.04.24
Use the stock config.linux-with-shared-libraries profile with minimal patching instead of shipping our own config.freebsd-fixed profile. The two profiles are almost identical, but we haven't exactly been keeping up with the shared library number changes over the years. http://www.live555.com/liveMedia/public/changelog.txt
Diffstat (limited to 'net/liveMedia/files/patch-config.linux-with-shared-libraries')
-rw-r--r--net/liveMedia/files/patch-config.linux-with-shared-libraries22
1 files changed, 22 insertions, 0 deletions
diff --git a/net/liveMedia/files/patch-config.linux-with-shared-libraries b/net/liveMedia/files/patch-config.linux-with-shared-libraries
new file mode 100644
index 000000000000..ef68b02f40d4
--- /dev/null
+++ b/net/liveMedia/files/patch-config.linux-with-shared-libraries
@@ -0,0 +1,22 @@
+--- config.linux-with-shared-libraries.orig 2025-04-24 20:16:36 UTC
++++ config.linux-with-shared-libraries
+@@ -24,7 +24,7 @@ libgroupsock_LIB_SUFFIX=so.$(shell expr $(libgroupsock
+ libgroupsock_LIB_SUFFIX=so.$(shell expr $(libgroupsock_VERSION_CURRENT) - $(libgroupsock_VERSION_AGE)).$(libgroupsock_VERSION_AGE).$(libgroupsock_VERSION_REVISION)
+ #####
+
+-COMPILE_OPTS = $(INCLUDES) -I/usr/local/include -I. -O2 -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fPIC
++COMPILE_OPTS = $(INCLUDES) -I. -DSOCKLEN_T=socklen_t -DHAVE_SOCKADDR_LEN=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fPIC
+ C = c
+ C_COMPILER = $(CC)
+ C_FLAGS = $(COMPILE_OPTS) $(CPPFLAGS) $(CFLAGS)
+@@ -39,8 +39,8 @@ LIBRARY_LINK_OPTS = -shared -Wl,-soname,$(NAME).$(SHOR
+ SHORT_LIB_SUFFIX = so.$(shell expr $($(NAME)_VERSION_CURRENT) - $($(NAME)_VERSION_AGE))
+ LIB_SUFFIX = $(SHORT_LIB_SUFFIX).$($(NAME)_VERSION_AGE).$($(NAME)_VERSION_REVISION)
+ LIBRARY_LINK_OPTS = -shared -Wl,-soname,$(NAME).$(SHORT_LIB_SUFFIX) $(LDFLAGS)
+-LIBS_FOR_CONSOLE_APPLICATION = -lssl -lcrypto
++LIBS_FOR_CONSOLE_APPLICATION = -L$(OPENSSLLIB) -lssl -lcrypto
+ LIBS_FOR_GUI_APPLICATION =
+-LIBS_FOR_LIVEMEDIA_LIB = -lssl -lcrypto
++LIBS_FOR_LIVEMEDIA_LIB = -L$(OPENSSLLIB) -lssl -lcrypto
+ EXE =
+ INSTALL2 = install_shared_libraries