diff --git a/gt-0.4-glibc-2.36.patch b/gt-0.4-glibc-2.36.patch new file mode 100644 index 0000000..9e547d6 --- /dev/null +++ b/gt-0.4-glibc-2.36.patch @@ -0,0 +1,10 @@ +--- gt-0.4/src/playmidi.c.orig 2022-08-20 14:21:43.842992492 +0200 ++++ gt-0.4/src/playmidi.c 2022-08-20 14:21:36.543082327 +0200 +@@ -3140,7 +3140,6 @@ + static unsigned xxmp_epoch = 0; + static unsigned time_expired = 0; + static unsigned last_time_expired = 0; +-extern int gettimeofday (struct timeval *, struct timezone *); + static struct timeval tv; + static struct timezone tz; + static void diff --git a/gt.spec b/gt.spec index f09a1df..86f667e 100644 --- a/gt.spec +++ b/gt.spec @@ -1,12 +1,12 @@ Name: gt Version: 0.4 -Release: 1mamba +Release: 2mamba Summary: Modified Timidity which supportes enhanced gus format patches Group: Applications/Multimedia Vendor: openmamba Distribution: openmamba -Packager: gil -URL: http://alsa.opensrc.org/index.php/GusSoundfont +Packager: Silvan Calarco +URL: https://alsa.opensrc.org/index.php/GusSoundfont Source: ftp://ling.lll.hawaii.edu/pub/greg/gt-%{version}.tar.gz License: GPL Patch0: gt-0.4-noac3.patch @@ -16,13 +16,13 @@ Patch3: gt-0.4-config-default-velocity-layer.patch Patch4: gt-0.4-ppc-compile-fix.patch Patch5: gt-0.4-unsf-bigendian-fix.patch Patch6: gt-0.4-unsf-tremolo.patch +Patch7: gt-0.4-glibc-2.36.patch ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libalsa-devel BuildRequires: libncurses-devel BuildRequires: libvorbis-devel ## AUTOBUILDREQ-END -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Modified timidity midi player which supportes enhanced gus format patches and @@ -37,7 +37,6 @@ Utilities for converting from / to various soundfont formats and a midi file disassembler. %prep - %setup -q %patch0 -p1 %patch1 -p1 @@ -46,6 +45,7 @@ disassembler. #%patch4 -p1 %patch5 -p1 %patch6 -p1 +%patch7 -p1 cp -p src/README README.timidity # NON FREE @@ -73,8 +73,8 @@ touch -r utils/midifile.c %{buildroot}%{_mandir}/man1/midi-disasm.1 %files %defattr(-,root,root) %{_bindir}/gt -%{_mandir}/man1/gt.1.gz -%doc AUTHORS COPYING ChangeLog FEATURES NEWS README* +%{_mandir}/man1/gt.1* +%doc AUTHORS COPYING %files -n soundfont-utils %defattr(-,root,root) @@ -85,13 +85,16 @@ touch -r utils/midifile.c %{buildroot}%{_mandir}/man1/midi-disasm.1 %{_bindir}/sfz2pat %{_bindir}/unsf %{_bindir}/wav2pat -%{_mandir}/man1/midi-disasm.1.gz -%{_mandir}/man1/patcat.1.gz -%{_mandir}/man1/sf2cfg.1.gz -%{_mandir}/man1/sfz2pat.1.gz -%{_mandir}/man1/unsf.1.gz -%doc utils/README* utils/GUSSF2-SPEC +%{_mandir}/man1/midi-disasm.1* +%{_mandir}/man1/patcat.1* +%{_mandir}/man1/sf2cfg.1* +%{_mandir}/man1/sfz2pat.1* +%{_mandir}/man1/unsf.1* +%doc AUTHORS COPYING %changelog +* Sat Aug 20 2022 Silvan Calarco 0.4-2mamba +- rebuilt for x86_64 + * Thu Jul 08 2010 gil 0.4-1mamba - package created by autospec