4 Commits

2 changed files with 15 additions and 5 deletions

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri May 16 09:50:57 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
- FIx changelog format: the dashed indicates the beginning of a
change, thus there is content supposed to follow.
-------------------------------------------------------------------
Fri Mar 28 09:09:28 UTC 2025 - Richard Biener <rguenther@suse.com>
- Use -std=gnu11 to avoid the strict C23 default from GCC 15.
-------------------------------------------------------------------
Thu Jul 4 14:25:46 UTC 2024 - Martin Jambor <mjambor@suse.com>
@@ -379,4 +390,3 @@ Mon Jan 11 17:40:11 MET 1999 - fehr@suse.de
- make SuSE package from version 1.2 of aalib
----------------------------------------------------------------------------

View File

@@ -1,7 +1,7 @@
#
# spec file for package aalib
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -102,7 +102,7 @@ cd ..
%build
%{?suse_update_config}
autoreconf -fiv
export CFLAGS="%{optflags} -fstrength-reduce -fomit-frame-pointer -fpermissive"
export CFLAGS="%{optflags} -fstrength-reduce -fomit-frame-pointer -fpermissive -std=gnu11"
%ifarch %ix86
export CFLAGS="$CFLAGS -falign-loops=2 -falign-jumps=2 -falign-functions=2"
%endif
@@ -115,7 +115,7 @@ mkdir -p %{buildroot}/%{_defaultdocdir}/%{name}
cp -av ANNOUNCE AUTHORS COPYING INSTALL NEWS README %{buildroot}/%{_defaultdocdir}/%{name}
cd ../aview-1.3.0
PATH=%{buildroot}/%{_bindir}:$PATH \
CFLAGS="%{optflags} -fpermissive -I%{buildroot}/usr/include" \
CFLAGS="%{optflags} -std=gnu11 -fpermissive -I%{buildroot}/usr/include" \
LDFLAGS="-L%{buildroot}/%{_libdir}" \
LD_LIBRARY_PATH="%{buildroot}/%{_libdir}" \
./configure --prefix=/usr --mandir=%{_mandir}
@@ -125,7 +125,7 @@ mkdir -p %{buildroot}/%{_defaultdocdir}/%{name}/aview
cp -av README* ANNOUNCE COPYING TODO *.lsm %{buildroot}/%{_defaultdocdir}/%{name}/aview
cd -
cd aavga-1.0
make CFLAGS="%{optflags} -fpermissive"
make CFLAGS="%{optflags} -std=gnu11 -fpermissive"
cp -av aavga.so %{buildroot}/%_libdir
mkdir -p %{buildroot}/%{_defaultdocdir}/%{name}/aavga
cp -av aavga.lsm COPYING README %{buildroot}/%{_defaultdocdir}/%{name}/aavga