summaryrefslogtreecommitdiff
path: root/media-video/vdr/files/vdr-2.4.6_clang.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-02-17 10:35:54 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-02-17 10:35:54 +0000
commit463397cf1e064185110fe57c568d73f99a06f5d1 (patch)
tree9aa75eefc5154eaf0e3c33658b830fc54dc68052 /media-video/vdr/files/vdr-2.4.6_clang.patch
parentc8d60dada2ec8eb48b2d2b290cd6683ccec40e39 (diff)
gentoo resync : 17.02.2021
Diffstat (limited to 'media-video/vdr/files/vdr-2.4.6_clang.patch')
-rw-r--r--media-video/vdr/files/vdr-2.4.6_clang.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/media-video/vdr/files/vdr-2.4.6_clang.patch b/media-video/vdr/files/vdr-2.4.6_clang.patch
new file mode 100644
index 000000000000..095bd18ae200
--- /dev/null
+++ b/media-video/vdr/files/vdr-2.4.6_clang.patch
@@ -0,0 +1,20 @@
+compiling with CC="clang" CXX="clang++" we get the message
+
+ svdrp.c:76:3: error: no matching member function for call to 'Set'
+ Set(INADDR_ANY, 0);
+ ^~~
+
+this patch fixes it
+
+Signed-off-by: Martin Dummer <martin.dummer@gmx.net> ( 2020/02/15 )
+--- a/svdrp.c 2021-02-14 00:00:30.417157252 +0100
++++ b/svdrp.c 2021-02-14 00:00:55.636995544 +0100
+@@ -73,7 +73,7 @@
+
+ cIpAddress::cIpAddress(void)
+ {
+- Set(INADDR_ANY, 0);
++ Set((const char *)INADDR_ANY, 0);
+ }
+
+ cIpAddress::cIpAddress(const char *Address, int Port)