diff --git a/audio/festalon/Makefile b/audio/festalon/Makefile index a7fe7297f28a..e762536ecf20 100644 --- a/audio/festalon/Makefile +++ b/audio/festalon/Makefile @@ -1,40 +1,40 @@ # Created by: Emanuel Haupt PORTNAME= festalon PORTVERSION= 0.5.5 PORTREVISION= 14 CATEGORIES= audio MASTER_SITES= http://projects.raphnet.net/festalon/ \ LOCAL/ehaupt MAINTAINER= ehaupt@FreeBSD.org COMMENT= Command line player for .nsf and .hes audio files LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -ONLY_FOR_ARCHS= amd64 +ONLY_FOR_ARCHS= amd64 powerpc powerpc64 LIB_DEPENDS= libsamplerate.so:audio/libsamplerate USES= cpe libtool pkgconfig sdl tar:bzip2 USE_SDL= sdl GNU_CONFIGURE= yes WRKSRC= ${WRKDIR}/${PORTNAME} OPTIONS_DEFINE= DOCS PLIST_FILES= bin/festalon PORTDOCS= README do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/audio/festalon/files/patch-configure b/audio/festalon/files/patch-configure new file mode 100644 index 000000000000..728e8fc70528 --- /dev/null +++ b/audio/festalon/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig 2022-03-01 14:06:45 UTC ++++ configure +@@ -20915,7 +20915,7 @@ else + fi + + elif expr x"$target_cpu" : 'xpowerpc' > /dev/null; then +- CFLAGS="-faltivec $CFLAGS" ++ CFLAGS="-maltivec $CFLAGS" + cat >>confdefs.h <<\_ACEOF + #define ARCH_POWERPC 1 + _ACEOF diff --git a/audio/festalon/files/patch-src_filter.c b/audio/festalon/files/patch-src_filter.c new file mode 100644 index 000000000000..e4f7aa9d1ee7 --- /dev/null +++ b/audio/festalon/files/patch-src_filter.c @@ -0,0 +1,13 @@ +--- src/filter.c.orig 2022-03-01 18:15:52 UTC ++++ src/filter.c +@@ -20,6 +20,10 @@ + #include + #include + ++#ifdef __powerpc__ ++#include ++#endif ++ + #include + + #include "types.h"