[Scummvm-git-logs] scummvm master -> a7922fc7720a4b2dd1d52f03d8bb82b52606f5cf

sev- noreply at scummvm.org
Sun Jun 12 08:26:42 UTC 2022


This automated email contains information about 3 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
81e43764a0 CONFIGURE: Disable SEQ MIDI on OpenBSD
657b0fd8ab CONFIGURE: Let the endianness test compile if there's no __attribute__ support
a7922fc772 CONFIGURE: Don't use -pedantic on OpenBSD


Commit: 81e43764a02c0f8403a8585003b88c2593d7836c
    https://github.com/scummvm/scummvm/commit/81e43764a02c0f8403a8585003b88c2593d7836c
Author: Donovan Watteau (contrib at dwatteau.fr)
Date: 2022-06-12T10:26:39+02:00

Commit Message:
CONFIGURE: Disable SEQ MIDI on OpenBSD

OpenBSD removed its /dev/sequencer support in 2013, and uses the sndio
API instead.

Changed paths:
    configure


diff --git a/configure b/configure
index 1f304390438..fdbd628d2b4 100755
--- a/configure
+++ b/configure
@@ -2898,7 +2898,7 @@ EOF
 			_optimization_level=-O2
 		fi
 	;;
-	freebsd* | openbsd*)
+	freebsd*)
 		append_var LDFLAGS "-L/usr/local/lib"
 		append_var CXXFLAGS "-I/usr/local/include"
 		;;
@@ -2994,6 +2994,11 @@ EOF
 		_detection_features_full=no
 		_nuked_opl=no
 		;;
+	openbsd*)
+		append_var LDFLAGS "-L/usr/local/lib"
+		append_var CXXFLAGS "-I/usr/local/include"
+		_seq_midi=no
+		;;
 	ps3)
 		# Force use of SDL and freetype from the ps3 toolchain
 		_sdlpath="$PS3DEV/portlibs/ppu:$PS3DEV/portlibs/ppu/bin"


Commit: 657b0fd8abc989bde434104d4367d3f8f403a40a
    https://github.com/scummvm/scummvm/commit/657b0fd8abc989bde434104d4367d3f8f403a40a
Author: Donovan Watteau (contrib at dwatteau.fr)
Date: 2022-06-12T10:26:39+02:00

Commit Message:
CONFIGURE: Let the endianness test compile if there's no __attribute__ support

__attribute__((used)) here comes from Fedora which uses LTO by default
but this is a GCC-ism, so let this code compile if the compiler is not
GCC-compatible.

Changed paths:
    configure


diff --git a/configure b/configure
index fdbd628d2b4..3f86bf602e2 100755
--- a/configure
+++ b/configure
@@ -2337,6 +2337,9 @@ fi
 #
 echo_n "Checking endianness... "
 cat > tmp_endianness_check.cpp << EOF
+#ifndef __GNUC__
+#define __attribute__(x)
+#endif
 __attribute__ ((used)) unsigned short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
 __attribute__ ((used)) unsigned short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
 const char * _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; return s; }
@@ -4357,7 +4360,7 @@ EOF
 			cc_check -lspeechd && _tts=yes
 			;;
 		darwin*)
-			# Check the API is available. The most recent API we need is for the NSSpeechSynthesizerDelegate protocole
+			# Check the API is available. The most recent API we need is for the NSSpeechSynthesizerDelegate protocol
 			cat > $TMPC << EOF
 #include <AppKit/NSSpeechSynthesizer.h>
 @interface SpeechDelegate : NSObject<NSSpeechSynthesizerDelegate> {


Commit: a7922fc7720a4b2dd1d52f03d8bb82b52606f5cf
    https://github.com/scummvm/scummvm/commit/a7922fc7720a4b2dd1d52f03d8bb82b52606f5cf
Author: Donovan Watteau (contrib at dwatteau.fr)
Date: 2022-06-12T10:26:39+02:00

Commit Message:
CONFIGURE: Don't use -pedantic on OpenBSD

OpenBSD is fine with std_variant=c++ with C++11, but -pedantic is still
noisy for some system header files.

Changed paths:
    configure


diff --git a/configure b/configure
index 3f86bf602e2..2c534b5a0e6 100755
--- a/configure
+++ b/configure
@@ -2149,6 +2149,9 @@ if test "$have_gcc" = yes ; then
 	amigaos* | dreamcast | ds | mingw* | mint* | morphos | n64 | ps3 | psp2)
 		std_variant=gnu++
 		;;
+	openbsd*)
+		pedantic=no
+		;;
 	*)
 		;;
 	esac




More information about the Scummvm-git-logs mailing list