Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jan 2018 18:39:20 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r458285 - in head/net/cagibi: . files
Message-ID:  <201801061839.w06IdKme083454@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Sat Jan  6 18:39:20 2018
New Revision: 458285
URL: https://svnweb.freebsd.org/changeset/ports/458285

Log:
  net/cagibi fix build with clang6
  
  PR:		224945
  Reported by:	jbeich

Added:
  head/net/cagibi/files/
  head/net/cagibi/files/patch-daemon_ssdpwatcher.cpp   (contents, props changed)
Modified:
  head/net/cagibi/Makefile

Modified: head/net/cagibi/Makefile
==============================================================================
--- head/net/cagibi/Makefile	Sat Jan  6 18:08:19 2018	(r458284)
+++ head/net/cagibi/Makefile	Sat Jan  6 18:39:20 2018	(r458285)
@@ -3,6 +3,7 @@
 
 PORTNAME=	cagibi
 PORTVERSION=	0.2.0
+PORTREVISION=	1
 CATEGORIES=	net devel
 MASTER_SITES=	KDE/stable/${PORTNAME}
 

Added: head/net/cagibi/files/patch-daemon_ssdpwatcher.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/cagibi/files/patch-daemon_ssdpwatcher.cpp	Sat Jan  6 18:39:20 2018	(r458285)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801061839.w06IdKme083454>