From owner-svn-ports-all@freebsd.org Mon Jan 22 11:50:10 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5EE22EBC568; Mon, 22 Jan 2018 11:50:10 +0000 (UTC) (envelope-from danfe@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 3B1E778609; Mon, 22 Jan 2018 11:50:10 +0000 (UTC) (envelope-from danfe@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 84C0919BE7; Mon, 22 Jan 2018 11:50:09 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0MBo91s008726; Mon, 22 Jan 2018 11:50:09 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0MBo9VI008724; Mon, 22 Jan 2018 11:50:09 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <201801221150.w0MBo9VI008724@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Mon, 22 Jan 2018 11:50:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r459644 - in head/devel: libosmo-netif libosmocore X-SVN-Group: ports-head X-SVN-Commit-Author: danfe X-SVN-Commit-Paths: in head/devel: libosmo-netif libosmocore X-SVN-Commit-Revision: 459644 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.25 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, 22 Jan 2018 11:50:10 -0000 Author: danfe Date: Mon Jan 22 11:50:08 2018 New Revision: 459644 URL: https://svnweb.freebsd.org/changeset/ports/459644 Log: Unbreak the build on sparc64 and other big-endian architectures by spelling FreeBSD's byte-swap routines names correctly and removing GCC diagnostic #pragmas that were upsetting GCC 4.2.1. Modified: head/devel/libosmo-netif/Makefile head/devel/libosmocore/Makefile Modified: head/devel/libosmo-netif/Makefile ============================================================================== --- head/devel/libosmo-netif/Makefile Mon Jan 22 11:49:15 2018 (r459643) +++ head/devel/libosmo-netif/Makefile Mon Jan 22 11:50:08 2018 (r459644) @@ -16,11 +16,6 @@ LIB_DEPENDS= libosmocore.so:devel/libosmocore \ libosmoabis.so:devel/libosmo-abis \ libtalloc.so:devel/talloc -BROKEN_mips= Does not build: undefined reference to __bswap_16 -BROKEN_mips64= Does not build: undefined reference to __bswap_16 -BROKEN_powerpc64= Does not build: undefined reference to __bswap_16 -BROKEN_sparc64= Does not build: undefined reference to __bswap_16 - USES= autoreconf libtool pathfix pkgconfig GNU_CONFIGURE= yes INSTALL_TARGET= install-strip @@ -41,5 +36,7 @@ DAHDI_CPPFLAGS= -I${LOCALBASE}/include post-patch: ${ECHO_CMD} ${PORTVERSION} > ${WRKSRC}/.tarball-version + @${REINPLACE_CMD} -e 's,__bswap_,__bswap,' \ + ${WRKSRC}/examples/rs232-write.c .include Modified: head/devel/libosmocore/Makefile ============================================================================== --- head/devel/libosmocore/Makefile Mon Jan 22 11:49:15 2018 (r459643) +++ head/devel/libosmocore/Makefile Mon Jan 22 11:50:08 2018 (r459644) @@ -29,5 +29,7 @@ DOXYGEN_CONFIGURE_ENV_OFF=ac_cv_path_DOXYGEN=false post-patch: ${ECHO_CMD} ${PORTVERSION} > ${WRKSRC}/.tarball-version + @${REINPLACE_CMD} -e '/#pragma GCC diagnostic/d' \ + ${WRKSRC}/src/application.c .include