automatic version update by autodist [release 1.2.13-1mamba;Thu Nov 14 2024]

This commit is contained in:
Automatic Build System 2024-11-14 09:07:21 +01:00
parent 2e9aa34f1d
commit 0c4c0f4e53
5 changed files with 9 additions and 65 deletions

View File

@ -1,17 +0,0 @@
diff -Nru alsa-utils-1.0.18.orig/alsactl/init_sysdeps.c alsa-utils-1.0.18/alsactl/init_sysdeps.c
--- alsa-utils-1.0.18.orig/alsactl/init_sysdeps.c 2008-11-13 12:24:15.000000000 +0100
+++ alsa-utils-1.0.18/alsactl/init_sysdeps.c 2008-11-13 12:23:25.000000000 +0100
@@ -18,6 +18,7 @@
*/
#ifdef __GLIBC__
+#ifndef __USE_BSD
static size_t strlcpy(char *dst, const char *src, size_t size)
{
size_t bytes = 0;
@@ -60,4 +61,5 @@
*q = '\0';
return bytes;
}
+#endif /* __USE_BSD */
#endif /* __GLIBC__ */

View File

@ -1,14 +0,0 @@
diff -Nru alsa-utils-1.0.19.orig/alsactl/init_sysdeps.c alsa-utils-1.0.19/alsactl/init_sysdeps.c
--- alsa-utils-1.0.19.orig/alsactl/init_sysdeps.c 2009-01-19 12:17:19.000000000 +0100
+++ alsa-utils-1.0.19/alsactl/init_sysdeps.c 2009-01-23 15:16:49.000000000 +0100
@@ -17,8 +17,8 @@
*
*/
-#if defined(__GLIBC__) && !(defined(__UCLIBC__) && defined(__USE_BSD))
-static size_t strlcpy(char *dst, const char *src, size_t size)
+#if defined(__GLIBC__) && !(defined(__USE_BSD))
+size_t strlcpy(char *dst, const char *src, size_t size)
{
size_t bytes = 0;
char *q = dst;

View File

@ -1,12 +0,0 @@
diff -Nru alsa-utils-1.0.21.orig/alsactl/init_sysdeps.c alsa-utils-1.0.21/alsactl/init_sysdeps.c
--- alsa-utils-1.0.21.orig/alsactl/init_sysdeps.c 2009-10-02 16:47:19.000000000 +0200
+++ alsa-utils-1.0.21/alsactl/init_sysdeps.c 2009-10-02 16:53:01.000000000 +0200
@@ -17,7 +17,7 @@
*
*/
-#if defined(__GLIBC__) && !(defined(__USE_BSD))
+#if defined(__GLIBC__)
size_t strlcpy(char *dst, const char *src, size_t size)
{
size_t bytes = 0;

View File

@ -1,11 +0,0 @@
diff -Nru alsa-utils-1.0.27.orig/alsactl/alsa-restore.service.in alsa-utils-1.0.27/alsactl/alsa-restore.service.in
--- alsa-utils-1.0.27.orig/alsactl/alsa-restore.service.in 2013-04-11 13:43:06.000000000 +0200
+++ alsa-utils-1.0.27/alsactl/alsa-restore.service.in 2013-04-20 20:59:16.124867861 +0200
@@ -12,6 +12,6 @@
Conflicts=shutdown.target
[Service]
-Type=oneshop
+Type=oneshot
ExecStart=-@sbindir@/alsactl restore
StandardOutput=syslog

View File

@ -1,7 +1,7 @@
%define _distrib_milestone %(echo %_distrib_codename | cut -d- -f1) %define _distrib_milestone %(echo %_distrib_codename | cut -d- -f1)
%define majver %(echo %version | cut -d. -f1-3) %define majver %(echo %version | cut -d. -f1-3)
Name: alsa-utils Name: alsa-utils
Version: 1.2.12 Version: 1.2.13
Release: 1mamba Release: 1mamba
Summary: Utilities for the Advanced Linux Sound Architecture (ALSA) Summary: Utilities for the Advanced Linux Sound Architecture (ALSA)
Group: System/Kernel and Hardware Group: System/Kernel and Hardware
@ -15,10 +15,6 @@ Source2: alsa-asound.conf
Source3: alsa-asound.conf-usb Source3: alsa-asound.conf-usb
Source4: alsa-udev-asound.conf.rules Source4: alsa-udev-asound.conf.rules
Patch0: %{name}-1.0.19-alsaconf.patch Patch0: %{name}-1.0.19-alsaconf.patch
Patch1: %{name}-1.0.18-glibc_use_bsd.patch
Patch2: %{name}-1.0.19-fix_bsd_check.patch
Patch3: %{name}-1.0.21-bsd_check.patch
Patch4: alsa-utils-1.0.27-systemd-fix-typo.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
@ -66,8 +62,6 @@ This package contains the utilities for the Advanced Linux Sound Architecture (A
%prep %prep
%setup -q %setup -q
%patch 0 -p1 %patch 0 -p1
#%patch 2 -p1
#%patch 3 -p1
autoreconf -f -i autoreconf -f -i
@ -101,9 +95,7 @@ cat >> %{buildroot}%{_modulesloaddir}/alsa-seq-midi.conf << _EOF
snd-seq-midi snd-seq-midi
_EOF _EOF
%find_lang %{name} %find_lang %{name} --with-man --all-name
%find_lang alsaconf
cat alsaconf.lang >> %{name}.lang
%clean %clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
@ -188,7 +180,6 @@ exit 0
%{_mandir}/man1/speaker-test.1* %{_mandir}/man1/speaker-test.1*
%{_mandir}/man7/alsactl_init.7* %{_mandir}/man7/alsactl_init.7*
%{_mandir}/man8/alsaconf.8* %{_mandir}/man8/alsaconf.8*
%lang(fr) %{_mandir}/fr/man8/alsaconf.*
%files midi %files midi
%defattr(-,root,root) %defattr(-,root,root)
@ -196,16 +187,23 @@ exit 0
%{_bindir}/amidi %{_bindir}/amidi
%{_bindir}/aplaymidi %{_bindir}/aplaymidi
%{_bindir}/arecordmidi %{_bindir}/arecordmidi
%{_bindir}/aplaymidi2
%{_bindir}/arecordmidi2
%{_bindir}/aseqdump %{_bindir}/aseqdump
%{_bindir}/aseqnet %{_bindir}/aseqnet
%{_mandir}/man1/amidi.1* %{_mandir}/man1/amidi.1*
%{_mandir}/man1/aplaymidi.1* %{_mandir}/man1/aplaymidi.1*
%{_mandir}/man1/aplaymidi2.1*
%{_mandir}/man1/arecordmidi.1* %{_mandir}/man1/arecordmidi.1*
%{_mandir}/man1/arecordmidi2.1*
%{_mandir}/man1/aseqdump.1* %{_mandir}/man1/aseqdump.1*
%{_mandir}/man1/aseqnet.1* %{_mandir}/man1/aseqnet.1*
%{_mandir}/man1/aseqsend.1* %{_mandir}/man1/aseqsend.1*
%changelog %changelog
* Thu Nov 14 2024 Automatic Build System <autodist@openmamba.org> 1.2.13-1mamba
- automatic version update by autodist
* Thu Jun 13 2024 Automatic Build System <autodist@openmamba.org> 1.2.12-1mamba * Thu Jun 13 2024 Automatic Build System <autodist@openmamba.org> 1.2.12-1mamba
- automatic version update by autodist - automatic version update by autodist