diff options
author | tcberner <tcberner@FreeBSD.org> | 2018-01-07 02:39:20 +0800 |
---|---|---|
committer | tcberner <tcberner@FreeBSD.org> | 2018-01-07 02:39:20 +0800 |
commit | 067d943a91667cf45d0c6448b14ddf7f0ac02407 (patch) | |
tree | dc33b4f6cf16ef964097e143f7de3817fa15af48 /net | |
parent | 8802b16bc59cc4c57988f060d111fbf62f0d02e7 (diff) | |
download | freebsd-ports-gnome-067d943a91667cf45d0c6448b14ddf7f0ac02407.tar.gz freebsd-ports-gnome-067d943a91667cf45d0c6448b14ddf7f0ac02407.tar.zst freebsd-ports-gnome-067d943a91667cf45d0c6448b14ddf7f0ac02407.zip |
net/cagibi fix build with clang6
PR: 224945
Reported by: jbeich
Diffstat (limited to 'net')
-rw-r--r-- | net/cagibi/Makefile | 1 | ||||
-rw-r--r-- | net/cagibi/files/patch-daemon_ssdpwatcher.cpp | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/net/cagibi/Makefile b/net/cagibi/Makefile index d2182129473f..a907fc46f641 100644 --- a/net/cagibi/Makefile +++ b/net/cagibi/Makefile @@ -3,6 +3,7 @@ PORTNAME= cagibi PORTVERSION= 0.2.0 +PORTREVISION= 1 CATEGORIES= net devel MASTER_SITES= KDE/stable/${PORTNAME} diff --git a/net/cagibi/files/patch-daemon_ssdpwatcher.cpp b/net/cagibi/files/patch-daemon_ssdpwatcher.cpp new file mode 100644 index 000000000000..8dbe445f5140 --- /dev/null +++ b/net/cagibi/files/patch-daemon_ssdpwatcher.cpp @@ -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 |