[packages/Atari800] - Up to 7.2.1. - I had to add autoreconf and automake to the spec but it's possibly in a wrong place

lmasko lmasko at pld-linux.org
Tue Dec 1 14:18:07 CET 2026


commit 18614a9da04cd439f833212638c04f6720e06998
Author: Łukasz Maśko <lmasko at pld-linux.org>
Date:   Tue Dec 1 14:16:21 2026 +0100

    - Up to 7.2.1.
    - I had to add autoreconf and automake to the spec but it's possibly in a wrong place/way. Mey needs adjusting.

 Atari800-gcc.patch | 22 ++++++++++++++++++++++
 Atari800.spec      | 14 +++++++++-----
 2 files changed, 31 insertions(+), 5 deletions(-)
---
diff --git a/Atari800.spec b/Atari800.spec
index 00ce9ed..6539b5c 100644
--- a/Atari800.spec
+++ b/Atari800.spec
@@ -1,16 +1,17 @@
 Summary:	Atari 800 Emulator
 Summary(pl.UTF-8):	Emulator Atari 800
 Name:		Atari800
-Version:	6.1.0
+Version:	7.2.1
 Release:	0.1
 License:	GPL v2+
 Group:		Applications/Emulators
 #Source0Download: https://github.com/atari800/atari800/releases
-Source0:	https://github.com/atari800/atari800/releases/download/ATARI800_6_1_0/atari800-%{version}-src.tgz
-# Source0-md5:	75b39a1ad0b2d77f0a5d8920c4eeaa8c
+Source0:	https://github.com/atari800/atari800/releases/download/ATARI800_7_2_1/atari800-%{version}-src.tgz
+# Source0-md5:	3cae877b82ebe6fb6174f36254fbdf18
 Source1:	%{name}-chooser
 Patch0:		%{name}-romdir.patch
 Patch1:		%{name}-nodisk.patch
+Patch2:		%{name}-gcc.patch
 URL:		https://atari800.github.io/
 BuildRequires:	SDL-devel >= 1.2
 BuildRequires:	automake
@@ -68,6 +69,9 @@ obsługą dźwięku i joysticka.
 %setup -q -n atari800-%{version}
 #%%patch0 -p1
 %patch -P1 -p1
+%patch -P2 -p1
+autoreconf -f
+automake
 
 %build
 cp -f /usr/share/automake/config.sub .
@@ -77,8 +81,8 @@ cp -f /usr/share/automake/config.sub .
 	--enable-crashmenu \
 	--disable-silent-rules \
 	--disable-stereosound \
-	--with-sound=sdl \
-	--with-video=sdl
+	--with-sound=sdl2 \
+	--with-video=sdl2
 
 %{__make}
 
diff --git a/Atari800-gcc.patch b/Atari800-gcc.patch
new file mode 100644
index 0000000..dce7ed5
--- /dev/null
+++ b/Atari800-gcc.patch
@@ -0,0 +1,22 @@
+--- atari800-7.1.2/configure.ac~	2026-07-26 20:41:02.000000000 +0200
++++ atari800-7.1.2/configure.ac	2026-08-31 14:28:30.440431561 +0200
+@@ -433,7 +433,7 @@
+     default)
+         if [[ "$a8_host" != "dos" ]]; then
+ dnl In DJGPP building with zlib fails with -ansi.
+-            CFLAGS="$CFLAGS -ansi"
++            CFLAGS="$CFLAGS -std=c99"
+         fi
+         CFLAGS="$CFLAGS -pedantic -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Winline"
+         if [[ "$a8_host" != "beos" ]]; then
+--- atari800-7.2.1/src/ui_basic.c~	2026-12-01 14:09:13.809009789 +0100
++++ atari800-7.2.1/src/ui_basic.c	2026-12-01 14:09:27.031731988 +0100
+@@ -538,7 +538,7 @@
+ 
+ static int BasicUISelectInt(int default_value, int min_value, int max_value)
+ {
+-	static char item_values[100][4];
++	static char item_values[100][12];
+ 	static const char *items[100];
+ 	int value;
+ 	int nitems;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/Atari800.git/commitdiff/18614a9da04cd439f833212638c04f6720e06998



More information about the pld-cvs-commit mailing list