From 62eec3a1f182a26d2d6ab37c4abcc5daed4dfd4b Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Thu, 14 Mar 2019 19:42:28 +0000 Subject: [PATCH] games/ponscripter-sekai: unbreak on powerpc64 g++8 -O2 -pipe -Wl,-rpath=/usr/local/lib/gcc8 -Wl,-rpath=/usr/local/lib/gcc8 -c -Wall -DUSE_PPC_GFX -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/smpeg2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include/freetype2 -DLINUX -DUSE_OGG_VORBIS -DCONST_ICONV graphics_altivec.cpp In file included from graphics_altivec.cpp:29: /usr/local/lib/gcc8/gcc/powerpc64-portbld-freebsd13.0/8.3.0/include/altivec.h:34:2: error: #error Use the "-maltivec" flag to enable PowerPC AltiVec support #error Use the "-maltivec" flag to enable PowerPC AltiVec support ^~~~~ PR: 236351 Reported by: Piotr Kubaj, pkg-fallout --- games/ponscripter-sekai/Makefile | 4 +++- games/ponscripter-sekai/distinfo | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/games/ponscripter-sekai/Makefile b/games/ponscripter-sekai/Makefile index 44a6c8255655..224b7e354d7b 100644 --- a/games/ponscripter-sekai/Makefile +++ b/games/ponscripter-sekai/Makefile @@ -6,6 +6,9 @@ DISTVERSIONPREFIX= v PORTREVISION= 6 CATEGORIES= games +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +PATCHFILES+= 101c68e22921.patch:-p1 4fb1180d2b54.patch:-p1 2fd934702f8b.patch:-p1 + MAINTAINER= jbeich@FreeBSD.org COMMENT= NScripter-like novel-game interpreter with Unicode support @@ -51,7 +54,6 @@ TREMOR_LIB_DEPENDS_OFF= libvorbisfile.so:audio/libvorbis post-patch: @${REINPLACE_CMD} -e '/^ifdef DEBUG/,/^$$/d' \ -e 's/$$STRIPFLAG/${STRIP}/' \ - -e 's/_maltivec/_altivec/g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's/$$(LIBS)/$$(LDFLAGS) &/' \ ${WRKSRC}/src/Makefile.ponscripter diff --git a/games/ponscripter-sekai/distinfo b/games/ponscripter-sekai/distinfo index c20b0b3fd80a..7c3cc7c08b75 100644 --- a/games/ponscripter-sekai/distinfo +++ b/games/ponscripter-sekai/distinfo @@ -1,3 +1,9 @@ TIMESTAMP = 1395987047 SHA256 (sekaiproject-ponscripter-fork-v0.0.6_GH0.tar.gz) = 888a417808fd48f8f55da42c113b04d61396a1237b2b0fed2458e804b8ddf426 SIZE (sekaiproject-ponscripter-fork-v0.0.6_GH0.tar.gz) = 30562500 +SHA256 (101c68e22921.patch) = 4e75c729b4cc2e1f05676a06e946e13ed89c4578e310e29b3cab3051e4b6271b +SIZE (101c68e22921.patch) = 2323 +SHA256 (4fb1180d2b54.patch) = d3a2e09e733e3aea897c172ec27ed40df33395ae48b3d35b603e6677da5a44d2 +SIZE (4fb1180d2b54.patch) = 1205 +SHA256 (2fd934702f8b.patch) = a0913dbb0d9865d6ea8528b69066ae469a162ccb4fda1a62e8fbf051d083b782 +SIZE (2fd934702f8b.patch) = 2671