Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jun 2020 15:41:33 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
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
Message-ID:  <202006181541.05IFfXJQ064143@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <sys/types.h>
+ 
+ #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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006181541.05IFfXJQ064143>