From owner-svn-ports-all@freebsd.org Mon Sep 30 14:22:54 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F0F61129411; Mon, 30 Sep 2019 14:22:54 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46hl3y69cnz40rq; Mon, 30 Sep 2019 14:22:54 +0000 (UTC) (envelope-from pkubaj@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 B76413F73; Mon, 30 Sep 2019 14:22:54 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x8UEMs8P062371; Mon, 30 Sep 2019 14:22:54 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x8UEMsUw062369; Mon, 30 Sep 2019 14:22:54 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <201909301422.x8UEMsUw062369@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Mon, 30 Sep 2019 14:22:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r513387 - in head/net/sems: . files X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: in head/net/sems: . files X-SVN-Commit-Revision: 513387 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Sep 2019 14:22:55 -0000 Author: pkubaj Date: Mon Sep 30 14:22:54 2019 New Revision: 513387 URL: https://svnweb.freebsd.org/changeset/ports/513387 Log: net/sems: fix build on big-endian architectures This port needs C++11 compiler: cc1plus: error: unrecognized command line option "-std=c++11" Additionally, it needs appropriate definitions for big-endian architectures: /usr/local/poudriere/ports/default/net/sems/work/sems-7400051/core/plug-in/isac/libisac/typedefs.h:80:2: error: #error Please add support for your architecture in typedefs.h 80 | #error Please add support for your architecture in typedefs.h | ^~~~~ PR: 240707 Approved by: nwhitehorn (maintainer), linimon (mentor) Added: head/net/sems/files/patch-core_plug-in_isac_libisac_typedefs.h (contents, props changed) Modified: head/net/sems/Makefile Modified: head/net/sems/Makefile ============================================================================== --- head/net/sems/Makefile Mon Sep 30 14:22:24 2019 (r513386) +++ head/net/sems/Makefile Mon Sep 30 14:22:54 2019 (r513387) @@ -21,7 +21,7 @@ LIB_DEPENDS= libopus.so:audio/opus \ libspeex.so:audio/speex \ libspandsp.so:comms/spandsp -USES= cmake python:2.7,run shebangfix +USES= cmake compiler:c++11-lang python:2.7,run shebangfix SHEBANG_GLOB= sems-* USE_GITHUB= yes Added: head/net/sems/files/patch-core_plug-in_isac_libisac_typedefs.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/sems/files/patch-core_plug-in_isac_libisac_typedefs.h Mon Sep 30 14:22:54 2019 (r513387) @@ -0,0 +1,23 @@ +--- core/plug-in/isac/libisac/typedefs.h.orig 2019-09-18 08:25:08 UTC ++++ core/plug-in/isac/libisac/typedefs.h +@@ -77,7 +77,19 @@ + #define WEBRTC_ARCH_32_BITS + #define WEBRTC_ARCH_LITTLE_ENDIAN + #else +-#error Please add support for your architecture in typedefs.h ++/* instead of failing, use typical unix defines... */ ++#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ ++#define WEBRTC_ARCH_LITTLE_ENDIAN ++#elif __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ ++#define WEBRTC_ARCH_BIG_ENDIAN ++#else ++#error __BYTE_ORDER__ is not defined ++#endif ++#if defined(__LP64__) ++#define WEBRTC_ARCH_64_BITS ++#else ++#define WEBRTC_ARCH_32_BITS ++#endif + #endif + + #if defined(__SSE2__) || defined(_MSC_VER)