equate powerpc with ppc for alignment checks

from Donovan Watteau
This commit is contained in:
jsg 2014-11-29 10:10:47 +00:00
parent f90a98674a
commit b4ef7bd14e
2 changed files with 23 additions and 5 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.61 2014/09/02 06:39:22 jsg Exp $ # $OpenBSD: Makefile,v 1.62 2014/11/29 10:10:47 jsg Exp $
COMMENT= graphical adventure game interpreter COMMENT= graphical adventure game interpreter
DISTNAME= scummvm-1.7.0 DISTNAME= scummvm-1.7.0
REVISION= 0 REVISION= 1
CATEGORIES= games x11 emulators CATEGORIES= games x11 emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scummvm/} MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scummvm/}

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-configure,v 1.14 2014/08/17 06:08:05 jsg Exp $ $OpenBSD: patch-configure,v 1.15 2014/11/29 10:10:47 jsg Exp $
--- configure.orig Tue Jul 22 15:17:11 2014 --- configure.orig Fri Jul 11 23:10:26 2014
+++ configure Tue Jul 22 15:21:25 2014 +++ configure Fri Nov 28 21:51:37 2014
@@ -1814,22 +1814,6 @@ if test "$_use_cxx11" = "yes" ; then @@ -1814,22 +1814,6 @@ if test "$_use_cxx11" = "yes" ; then
fi fi
echo $_use_cxx11 echo $_use_cxx11
@ -24,6 +24,24 @@ $OpenBSD: patch-configure,v 1.14 2014/08/17 06:08:05 jsg Exp $
# If possible, we want to use -Wglobal-constructors # If possible, we want to use -Wglobal-constructors
# However, not all compilers support that, so check whether the active one does. # However, not all compilers support that, so check whether the active one does.
echocheck "whether -Wglobal-constructors work" echocheck "whether -Wglobal-constructors work"
@@ -2003,7 +1987,7 @@ cc_check_clean tmp_find_type_with_size.cpp
# for the smaller sizes.
echo_n "Alignment required... "
case $_host_cpu in
- i[3-6]86 | amd64 | x86_64 | ppc*)
+ i[3-6]86 | amd64 | x86_64 | powerpc* | ppc*)
# Unaligned access should work
_need_memalign=no
;;
@@ -2046,7 +2030,7 @@ case $_host_cpu in
echo "MIPS"
DEFINES="$DEFINES -DMIPS_TARGET"
;;
- ppc*)
+ powerpc* | ppc*)
echo "PowerPC"
DEFINES="$DEFINES -DPPC_TARGET"
;;
@@ -3460,18 +3444,16 @@ if test "$_flac" = auto ; then @@ -3460,18 +3444,16 @@ if test "$_flac" = auto ; then
int main(void) { return FLAC__STREAM_SYNC_LEN >> 30; /* guaranteed to be 0 */ } int main(void) { return FLAC__STREAM_SYNC_LEN >> 30; /* guaranteed to be 0 */ }
EOF EOF