From owner-svn-ports-head@freebsd.org Tue Oct 30 11:49:34 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2738410E0AE4; Tue, 30 Oct 2018 11:49:34 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BF41F7F885; Tue, 30 Oct 2018 11:49:33 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 922001CF69; Tue, 30 Oct 2018 11:49:33 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9UBnXq8099077; Tue, 30 Oct 2018 11:49:33 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9UBnWxr099072; Tue, 30 Oct 2018 11:49:32 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201810301149.w9UBnWxr099072@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Tue, 30 Oct 2018 11:49:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r483473 - in head/comms/telldus-core: . files X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: in head/comms/telldus-core: . files X-SVN-Commit-Revision: 483473 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2018 11:49:34 -0000 Author: linimon Date: Tue Oct 30 11:49:32 2018 New Revision: 483473 URL: https://svnweb.freebsd.org/changeset/ports/483473 Log: Fix build on gcc-based architectures. PR: 232560 Submitted by: Piotr Kubaj Modified: head/comms/telldus-core/Makefile head/comms/telldus-core/files/patch-common-Socket_unix.cpp head/comms/telldus-core/files/patch-service-ConnectionListener_unix.cpp Modified: head/comms/telldus-core/Makefile ============================================================================== --- head/comms/telldus-core/Makefile Tue Oct 30 11:46:22 2018 (r483472) +++ head/comms/telldus-core/Makefile Tue Oct 30 11:49:32 2018 (r483473) @@ -17,11 +17,8 @@ LIB_DEPENDS= libftdi.so:devel/libftdi \ libconfuse.so:devel/libconfuse \ libargp.so:devel/argp-standalone -BROKEN_powerpc64= Does not build: error: strlen was not declared in this scope -BROKEN_sparc64= Does not build: error: strlen was not declared in this scope - -USE_LDCONFIG= yes USES= cmake compiler:c++11-lang iconv:wchar_t +USE_LDCONFIG= yes CMAKE_ARGS+=-DGENERATE_MAN=TRUE # Note: these are internal defines and shall NOT contain ${STAGEDIR} @@ -50,7 +47,7 @@ post-patch: post-install: cd ${STAGEDIR}${PREFIX}/etc && \ ${MV} tellstick.conf tellstick.conf.sample - # This file is actually empty but allows us to simply use @sample to + # This file is actually empty but allows us to simply use @sample to # make sure it stays between upgrades if modified cd ${STAGEDIR}/var/telldus && \ ${MV} telldus-core.conf telldus-core.conf.sample Modified: head/comms/telldus-core/files/patch-common-Socket_unix.cpp ============================================================================== --- head/comms/telldus-core/files/patch-common-Socket_unix.cpp Tue Oct 30 11:46:22 2018 (r483472) +++ head/comms/telldus-core/files/patch-common-Socket_unix.cpp Tue Oct 30 11:49:32 2018 (r483473) @@ -1,6 +1,13 @@ ---- common/Socket_unix.cpp +--- common/Socket_unix.cpp.orig 2014-03-31 10:30:09 UTC +++ common/Socket_unix.cpp -@@ -18,7 +18,7 @@ +@@ -12,13 +12,14 @@ + #include + #include + #include ++#include + + #include "common/Socket.h" + #include "common/Mutex.h" #include "common/Strings.h" #define BUFSIZE 512 @@ -9,7 +16,7 @@ #define SOCK_CLOEXEC 0 #endif -@@ -128,8 +128,10 @@ std::wstring Socket::read(int timeout) { +@@ -128,8 +129,10 @@ std::wstring Socket::read(int timeout) { void Socket::stopReadWait() { TelldusCore::MutexLocker locker(&d->mutex); Modified: head/comms/telldus-core/files/patch-service-ConnectionListener_unix.cpp ============================================================================== --- head/comms/telldus-core/files/patch-service-ConnectionListener_unix.cpp Tue Oct 30 11:46:22 2018 (r483472) +++ head/comms/telldus-core/files/patch-service-ConnectionListener_unix.cpp Tue Oct 30 11:49:32 2018 (r483473) @@ -1,6 +1,11 @@ ---- service/ConnectionListener_unix.cpp +--- service/ConnectionListener_unix.cpp.orig 2014-03-31 10:30:09 UTC +++ service/ConnectionListener_unix.cpp -@@ -17,7 +17,7 @@ +@@ -13,11 +13,12 @@ + #include + #include + #include ++#include + #include "service/ConnectionListener.h" #include "common/Socket.h"