From owner-svn-ports-all@freebsd.org Thu Jun 18 15:41:33 2020 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 EB4C8353B1B; Thu, 18 Jun 2020 15:41:33 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 49nmPn61sBz4sFm; Thu, 18 Jun 2020 15:41:33 +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 C97F6BEDA; Thu, 18 Jun 2020 15:41:33 +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 05IFfXYu064147; Thu, 18 Jun 2020 15:41:33 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 05IFfXJQ064143; Thu, 18 Jun 2020 15:41:33 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <202006181541.05IFfXJQ064143@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Thu, 18 Jun 2020 15:41:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r539550 - in head: audio/libadplug audio/ocp audio/ocp/files devel/libbinio X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: in head: audio/libadplug audio/ocp audio/ocp/files devel/libbinio X-SVN-Commit-Revision: 539550 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.33 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: Thu, 18 Jun 2020 15:41:34 -0000 Author: pkubaj Date: Thu Jun 18 15:41:32 2020 New Revision: 539550 URL: https://svnweb.freebsd.org/changeset/ports/539550 Log: audio/ocp: fix build on powerpc64 with gcc GCC is still used on stable/11 and stable/12. It needs sys/types.h in lzh.h, because some types are not recognized. Force newer compiler due to: pfilesel.c:3312: error: #pragma GCC diagnostic not allowed inside functions Because of libstdc++ ABI changes due to forcing new compiler, audio/libadplug and devel/libbinio in order for audio/ocp to build. PR: 247377 Approved by: ehaupt (maintainer) Added: head/audio/ocp/files/patch-playym_lzh_lzh.h (contents, props changed) Modified: head/audio/libadplug/Makefile head/audio/ocp/Makefile head/devel/libbinio/Makefile Modified: head/audio/libadplug/Makefile ============================================================================== --- head/audio/libadplug/Makefile Thu Jun 18 15:36:20 2020 (r539549) +++ head/audio/libadplug/Makefile Thu Jun 18 15:41:32 2020 (r539550) @@ -14,7 +14,8 @@ LICENSE= GPLv2 LIB_DEPENDS= libbinio.so:devel/libbinio -USES= autoreconf libtool makeinfo pathfix pkgconfig +USES= autoreconf compiler:c++11-lang libtool makeinfo pathfix \ + pkgconfig USE_CSTD= gnu89 USE_GITHUB= yes USE_LDCONFIG= yes Modified: head/audio/ocp/Makefile ============================================================================== --- head/audio/ocp/Makefile Thu Jun 18 15:36:20 2020 (r539549) +++ head/audio/ocp/Makefile Thu Jun 18 15:41:32 2020 (r539550) @@ -23,8 +23,8 @@ LIB_DEPENDS= libid3tag.so:audio/libid3tag \ libsidplay.so:audio/libsidplay \ libvorbis.so:audio/libvorbis -USES= gmake gnome iconv localbase:ldflags makeinfo ncurses pkgconfig \ - tar:xz +USES= compiler:c11 gmake gnome iconv localbase:ldflags makeinfo \ + ncurses pkgconfig tar:xz USE_GITHUB= yes GH_ACCOUNT= mywave82 Added: head/audio/ocp/files/patch-playym_lzh_lzh.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/ocp/files/patch-playym_lzh_lzh.h Thu Jun 18 15:41:32 2020 (r539550) @@ -0,0 +1,10 @@ +--- playym/lzh/lzh.h.orig 2020-06-17 18:26:50 UTC ++++ playym/lzh/lzh.h +@@ -41,6 +41,7 @@ + #ifndef LZH_H + #define LZH_H + ++#include + + #define BUFSIZE (1024 * 4) + Modified: head/devel/libbinio/Makefile ============================================================================== --- head/devel/libbinio/Makefile Thu Jun 18 15:36:20 2020 (r539549) +++ head/devel/libbinio/Makefile Thu Jun 18 15:41:32 2020 (r539550) @@ -11,7 +11,7 @@ COMMENT= Binary I/O stream class library LICENSE= LGPL21 -USES= autoreconf libtool pathfix +USES= autoreconf compiler:c11 libtool pathfix USE_GITHUB= yes USE_LDCONFIG= yes