update to 3.6.1.31
- fix build with C23 (resolves rhbz#2336273)
This commit is contained in:
parent
77f36919cf
commit
6ab2bbc13f
3 changed files with 22 additions and 3 deletions
12
ags-c23.patch
Normal file
12
ags-c23.patch
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
diff -up ags-3.6.1.30/libsrc/allegro/src/file.c.c23 ags-3.6.1.30/libsrc/allegro/src/file.c
|
||||
--- ags-3.6.1.30/libsrc/allegro/src/file.c.c23 2024-11-16 23:40:17.000000000 +0100
|
||||
+++ ags-3.6.1.30/libsrc/allegro/src/file.c 2025-01-13 01:02:43.238320733 +0100
|
||||
@@ -658,7 +658,7 @@ PACKFILE *pack_fopen_vtable(AL_CONST PAC
|
||||
ASSERT(vtable->pf_feof);
|
||||
ASSERT(vtable->pf_ferror);
|
||||
|
||||
- if ((f = create_packfile(FALSE)) == NULL)
|
||||
+ if ((f = create_packfile()) == NULL)
|
||||
return NULL;
|
||||
|
||||
f->vtable = vtable;
|
||||
11
ags.spec
11
ags.spec
|
|
@ -12,10 +12,12 @@
|
|||
|
||||
Name: ags
|
||||
Summary: Engine for creating and running videogames of adventure (quest) genre
|
||||
Version: 3.6.1.30
|
||||
Version: 3.6.1.31
|
||||
URL: http://www.adventuregamestudio.co.uk/site/ags/
|
||||
Release: 2%{?dist}
|
||||
Release: 1%{?dist}
|
||||
Source0: https://github.com/adventuregamestudio/ags/archive/%{fver}/ags-%{fver}.tar.gz
|
||||
# fix build with C23
|
||||
Patch0: %{name}-c23.patch
|
||||
# unbundle freetype
|
||||
Patch2: %{name}-use-system-freetype.patch
|
||||
# use openal-soft
|
||||
|
|
@ -68,6 +70,7 @@ since continued to be developed by contributors.
|
|||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -P0 -p1 -b .c23
|
||||
%if %{with freetype}
|
||||
%patch -P2 -p1 -b .noft
|
||||
%endif
|
||||
|
|
@ -117,6 +120,10 @@ make V=1 -C Engine PREFIX=%{buildroot}%{_prefix} install
|
|||
%{_bindir}/ags
|
||||
|
||||
%changelog
|
||||
* Thu Feb 27 2025 Dominik Mierzejewski <dominik@greysector.net> - 3.6.1.31-1
|
||||
- update to 3.6.1.31
|
||||
- fix build with C23 (resolves rhbz#2336273)
|
||||
|
||||
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.1.30-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (ags-v3.6.1.30.tar.gz) = c4e971f4b7d9286f4a1a7a12dfa6e0f7fbc9d5a5960e80fd147b15aa04615767ed359987cf9a0114078500f119571d8902b486268c10779d3abfcb27a1e0024e
|
||||
SHA512 (ags-v3.6.1.31.tar.gz) = e57f3c70d69cd98ebc51dc6e2649e1e00cbae0e313208262cfa12beb6e72312f1423cd21f01bbef38bcc9507012df30da494a07118ff0bda57cf2ef2cc7d8d64
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue