libretro-stella: share patches with stella

This commit is contained in:
wiz 2021-02-18 19:40:24 +00:00
parent a6f28fcef0
commit 147b67a713
2 changed files with 2 additions and 17 deletions

View file

@ -1,15 +0,0 @@
$NetBSD: patch-configure,v 1.1 2021/02/18 15:23:13 mef Exp $
ERROR: [check-portability.awk] configure:807: if test "$have_clang" == yes; then
--- configure.orig 2021-01-24 22:41:01.000000000 +0900
+++ configure 2021-02-19 00:20:20.216352533 +0900
@@ -804,7 +804,7 @@ case $_host_os in
DEFINES="$DEFINES -DBSPF_UNIX -DMACOS_KEYS"
MODULES="$MODULES $SRC/unix"
INCLUDES="$INCLUDES -I$SRC/unix"
- if test "$have_clang" == yes; then
+ if test "$have_clang" = yes; then
CXXFLAGS="$CXXFLAGS -Wno-poison-system-directories"
fi
;;

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.8 2021/02/10 11:55:22 nia Exp $
# $NetBSD: Makefile.common,v 1.9 2021/02/18 19:40:24 wiz Exp $
# used by emulators/stella/Makefile
# used by emulators/libretro-stella/Makefile
@ -11,7 +11,7 @@ EXTRACT_SUFX= .tar.xz
LICENSE= gnu-gpl-v2
DISTINFO_FILE= ${.CURDIR}/../../emulators/stella/distinfo
#PATCHDIR= ${.CURDIR}/../../emulators/stella/patches
PATCHDIR= ${.CURDIR}/../../emulators/stella/patches
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//1}