rebuilt with specfile fixes [release 0.5.2-2mamba;Wed Feb 04 2026]

This commit is contained in:
2026-02-05 02:26:28 +01:00
parent 2baf2ed1c0
commit 426df1b480
2 changed files with 27 additions and 13 deletions

14
awesfx-0.5.2-gcc-15.patch Normal file
View File

@@ -0,0 +1,14 @@
This patch fixes a compile-time issue with GCC 14
From https://github.com/tiwai/awesfx/issues/3
--- a/alsa.c
+++ b/alsa.c
@@ -139,7 +139,7 @@
return snd_hwdep_ioctl(hwdep, SNDRV_EMUX_IOCTL_MISC_MODE, &mode);
}
-void seq_set_gus_bank(int bank)
+int seq_set_gus_bank(int bank)
{
struct sndrv_emux_misc_mode mode;
mode.port = -1;

View File

@@ -1,29 +1,29 @@
Name: awesfx
Version: 0.5.2
Release: 1mamba
Release: 2mamba
Summary: AWESFX is a package of various utility programs for controlling AWE32 driver.
Group: Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
Packager: Silvan Calarco <silvan@openmamba.org>
URL: https://github.com/tiwai/awesfx
Source: https://github.com/tiwai/awesfx/archive/v%{version}.zip
Source: https://github.com/tiwai/awesfx.git/v%{version}/awesfx-%{version}.tar.bz2
Patch0: awesfx-0.5.2-gcc-15.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libalsa-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
AWESFX is the package of various utility programs for controlling AWE32 driver. It includes the soundfont loader (sfxload), chorus/reverb effect loader (setfx), control parameter set up (aweset), and SF-Text conversion programs, and so on.
%prep
%setup -q
%patch 0 -p1 -b .gcc-15
autoreconf -fi
%build
autoreconf -fi
%configure
%make
@@ -36,8 +36,6 @@ autoreconf -fi
%files
%defattr(-,root,root)
%{_mandir}/man1/sfxload.1.gz
%doc AUTHORS COPYING ChangeLog README
%{_bindir}/agusload
%{_bindir}/asfxload
%{_bindir}/aweset
@@ -47,14 +45,16 @@ autoreconf -fi
%{_bindir}/sfxload
%{_bindir}/sfxtest
%{_bindir}/text2sf
%{_datadir}/man/man1/asfxload.1.gz
%dir %{_datadir}/sounds
%dir %{_datadir}/sounds/sf2
%{_datadir}/sounds/sf2/README-bank
%{_datadir}/sounds/sf2/*.bnk
%{_datadir}/sounds/sf2/setfx-sample.cfg
%{_datadir}/sounds/sf2/*
%{_mandir}/man1/asfxload.1*
%{_mandir}/man1/sfxload.1*
%doc AUTHORS COPYING
%changelog
* Wed Feb 04 2026 Silvan Calarco <silvan@openmamba.org> 0.5.2-2mamba
- rebuilt with specfile fixes
* Tue Feb 23 2021 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.5.2-1mamba
- update to 0.5.2
- Fixed homepage and source URL