Date: Mon, 22 Jan 2018 11:50:09 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> 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 Message-ID: <201801221150.w0MBo9VI008724@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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 <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801221150.w0MBo9VI008724>