mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
net/cagibi fix build with clang6
PR: 224945 Reported by: jbeich
This commit is contained in:
parent
b66396ee83
commit
2e8b91b46f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=458285
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= cagibi
|
||||
PORTVERSION= 0.2.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net devel
|
||||
MASTER_SITES= KDE/stable/${PORTNAME}
|
||||
|
||||
|
16
net/cagibi/files/patch-daemon_ssdpwatcher.cpp
Normal file
16
net/cagibi/files/patch-daemon_ssdpwatcher.cpp
Normal file
@ -0,0 +1,16 @@
|
||||
daemon/ssdpwatcher.cpp:122:17: error: invalid suffix on literal; C++11
|
||||
requires a space between literal and identifier [-Wreserved-user-defined-literal]
|
||||
|
||||
--- daemon/ssdpwatcher.cpp.orig 2018-01-06 18:31:07 UTC
|
||||
+++ daemon/ssdpwatcher.cpp
|
||||
@@ -119,8 +119,8 @@ qDebug() << "Trying to find UPnP devices on the local
|
||||
// send a HTTP M-SEARCH message to 239.255.255.250:1900
|
||||
const QByteArray searchMessage =
|
||||
"M-SEARCH * HTTP/1.1\r\n"
|
||||
- "HOST: "SSDP_BROADCAST_ADDRESS":"SSDP_PORT"\r\n"
|
||||
- "ST:"ROOTDEVICE"\r\n"
|
||||
+ "HOST: " SSDP_BROADCAST_ADDRESS ":" SSDP_PORT "\r\n"
|
||||
+ "ST:" ROOTDEVICE "\r\n"
|
||||
// "ST: ssdp:all\r\n"
|
||||
"MAN:\"ssdp:discover\"\r\n"
|
||||
"MX:" + QByteArray::number(searchTimeout) + "\r\n" // max number of seconds to wait for response
|
Loading…
Reference in New Issue
Block a user