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
This commit is contained in:
Jan Beich 2019-03-14 19:42:28 +00:00
parent 48aa2523da
commit 62eec3a1f1
2 changed files with 9 additions and 1 deletions

View file

@ -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

View file

@ -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