summaryrefslogtreecommitdiff
path: root/media-video/smplayer/files/smplayer-25.6.0_p20250903-no-googledns.patch
blob: 02e1738657885624a41c82421ba89011a26c1ba1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Source: https://salsa.debian.org/multimedia-team/smplayer/-/blob/master/debian/patches/11-drop-google-dns.patch

Description: Drop hardcodes use of Google DNS resolver
Author: Mateusz Łukasik <mati75@linuxmint.pl>
Origin: other
Bug-Debian: https://bugs.debian.org/1023546
Last-Update: 2023-10-01
Forwarded: not-needed

--- a/webserver/mongoose.c
+++ b/webserver/mongoose.c
@@ -11418,7 +11418,7 @@ int mg_dns_reply_record(struct mg_dns_re
 /* Amalgamated: #include "mg_resolv.h" */
 
 #ifndef MG_DEFAULT_NAMESERVER
-#define MG_DEFAULT_NAMESERVER "8.8.8.8"
+#define MG_DEFAULT_NAMESERVER "0.0.0.0"
 #endif
 
 struct mg_resolve_async_request {
--

Source: https://salsa.debian.org/multimedia-team/smplayer/-/blob/master/debian/patches/12-drop-google-dns-from-chromecast.patch

Description: Remove hardcodes use of Google DNS resolver from chromecast feature
Author: Mateusz Łukasik <mati75@linuxmint.pl>
Bug-Debian: https://bugs.debian.org/1023547
Origin: other
Last-Update: 2023-10-01
Forwarded: not-needed

--- a/src/chromecast.cpp
+++ b/src/chromecast.cpp
@@ -281,7 +281,7 @@ QString Chromecast::findLocalAddress() {
 	QString local_address;
 
 	QUdpSocket s;
-	s.connectToHost("8.8.8.8", 53);
+	s.connectToHost("0.0.0.0", 53);
 	if (s.waitForConnected(2000)) {
 		local_address = s.localAddress().toString();
 		qDebug() << "Chromecast::findLocalAddress: connected to:" << s.peerAddress().toString() << "local address:" << local_address;