mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
multimedia/minisatip: Update to 1.1.24
This commit is contained in:
parent
7b740aa2dc
commit
ef61ce375d
@ -1,7 +1,7 @@
|
||||
# Created by: Bernhard Froehlich <decke@FreeBSD.org>
|
||||
|
||||
PORTNAME= minisatip
|
||||
PORTVERSION= 1.1.10
|
||||
PORTVERSION= 1.1.24
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= multimedia
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1624286688
|
||||
SHA256 (catalinii-minisatip-v1.1.10_GH0.tar.gz) = 137109de100c707927fe25d6d14a4a02aff5a90830650a678472622bd7e65dc3
|
||||
SIZE (catalinii-minisatip-v1.1.10_GH0.tar.gz) = 380518
|
||||
TIMESTAMP = 1625552825
|
||||
SHA256 (catalinii-minisatip-v1.1.24_GH0.tar.gz) = a77caccb8b1d9be27f66895e01d28e1eb5f4cafd24f32bf9857571cf0728359d
|
||||
SIZE (catalinii-minisatip-v1.1.24_GH0.tar.gz) = 380774
|
||||
|
18
multimedia/minisatip/files/patch-src_minisatip.c
Normal file
18
multimedia/minisatip/files/patch-src_minisatip.c
Normal file
@ -0,0 +1,18 @@
|
||||
--- src/minisatip.c.orig 2021-07-05 22:02:32 UTC
|
||||
+++ src/minisatip.c
|
||||
@@ -1827,11 +1827,15 @@ int main(int argc, char *argv[]) {
|
||||
struct ifreq ifr;
|
||||
memset(&ifr, 0, sizeof(ifr));
|
||||
snprintf(ifr.ifr_name, sizeof(ifr.ifr_name), "%s", opts.bind_dev);
|
||||
+#if defined(SO_BINDTODEVICE)
|
||||
if (setsockopt(ssdp, SOL_SOCKET, SO_BINDTODEVICE, (void *)&ifr, sizeof(ifr)) < 0)
|
||||
LOG("SSDP: Failed to set SO_BINDTODEVICE to %s", opts.bind_dev);
|
||||
if (setsockopt(ssdp1, SOL_SOCKET, SO_BINDTODEVICE, (void *)&ifr, sizeof(ifr)) < 0)
|
||||
LOG("SSDP: Failed to set SO_BINDTODEVICE to %s", opts.bind_dev);
|
||||
LOG("SSDP: Bound to device %s", opts.bind_dev);
|
||||
+#else
|
||||
+ LOG("SSDP: Binding to device with SO_BINDTODEVICE not supported!");
|
||||
+#endif
|
||||
}
|
||||
|
||||
si = sockets_add(ssdp, NULL, -1, TYPE_UDP, (socket_action)ssdp_reply,
|
Loading…
Reference in New Issue
Block a user