commit ce127f0259d52082b1b8f49349a465d48ead0a1d
Author: Mamoru TASAKA <mtasaka(a)fedoraproject.org>
Date: Thu Apr 14 22:48:20 2022 +0900
Fix build with autoconf 2.71
SheepShaver.spec | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/SheepShaver.spec b/SheepShaver.spec
index cd19cb4..60435a3 100644
--- a/SheepShaver.spec
+++ b/SheepShaver.spec
@@ -8,7 +8,7 @@
Summary: Power Macintosh emulator
Name: SheepShaver
Version: 2.4
-Release: 0.15.%{date}%{?dist}
+Release: 0.16.%{date}%{?dist}
License: GPLv2+
URL:
http://sheepshaver.cebix.net/
Source0:
https://github.com/cebix/macemu/archive/%{commit}/BasiliskII-1.0-%{shortc...
@@ -54,6 +54,11 @@ pushd %{name}/src/Unix
mkdir obj
%configure --datadir=%{_sysconfdir} --enable-ppc-emulator=yes \
--disable-xf86-dga --enable-sdl-audio --with-bincue
+# autoconf 2.71 says The preprocessor macro `STDC_HEADERS' is obsolete
+# in AC_HEADER_STDC
+# For now, explicitly add STDC_HEADERS to config.h
+sed -i config.h -e '\@undef.*STDC_HEADERS(a)s|^.*$|#define STDC_HEADERS 1|'
+
DYNGEN_CFLAGS="$(echo $RPM_OPT_FLAGS | sed s/-fstack-protector-strong//)"
make %{?_smp_mflags} \
DYNGEN_CFLAGS="$DYNGEN_CFLAGS" DYNGEN_CXXFLAGS="$DYNGEN_CFLAGS"
@@ -92,6 +97,9 @@ appstream-util validate-relax --nonet \
%changelog
+* Thu Apr 14 2022 Mamoru TASAKA <mtasaka(a)fedoraproject.org> - 2.4-0.16.20171001
+- Fix build with autoconf 2.71
+
* Wed Feb 09 2022 RPM Fusion Release Engineering <sergiomb(a)rpmfusion.org> -
2.4-0.15.20171001
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild