mirror of
https://git.freebsd.org/ports.git
synced 2025-07-16 16:59:17 -04:00
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)
This commit is contained in:
parent
4836cb49ee
commit
12a4b55f68
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=539550
4 changed files with 15 additions and 4 deletions
|
@ -14,7 +14,8 @@ LICENSE= GPLv2
|
||||||
|
|
||||||
LIB_DEPENDS= libbinio.so:devel/libbinio
|
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_CSTD= gnu89
|
||||||
USE_GITHUB= yes
|
USE_GITHUB= yes
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
|
|
@ -23,8 +23,8 @@ LIB_DEPENDS= libid3tag.so:audio/libid3tag \
|
||||||
libsidplay.so:audio/libsidplay \
|
libsidplay.so:audio/libsidplay \
|
||||||
libvorbis.so:audio/libvorbis
|
libvorbis.so:audio/libvorbis
|
||||||
|
|
||||||
USES= gmake gnome iconv localbase:ldflags makeinfo ncurses pkgconfig \
|
USES= compiler:c11 gmake gnome iconv localbase:ldflags makeinfo \
|
||||||
tar:xz
|
ncurses pkgconfig tar:xz
|
||||||
|
|
||||||
USE_GITHUB= yes
|
USE_GITHUB= yes
|
||||||
GH_ACCOUNT= mywave82
|
GH_ACCOUNT= mywave82
|
||||||
|
|
10
audio/ocp/files/patch-playym_lzh_lzh.h
Normal file
10
audio/ocp/files/patch-playym_lzh_lzh.h
Normal file
|
@ -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)
|
||||||
|
|
|
@ -11,7 +11,7 @@ COMMENT= Binary I/O stream class library
|
||||||
|
|
||||||
LICENSE= LGPL21
|
LICENSE= LGPL21
|
||||||
|
|
||||||
USES= autoreconf libtool pathfix
|
USES= autoreconf compiler:c11 libtool pathfix
|
||||||
USE_GITHUB= yes
|
USE_GITHUB= yes
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue