]> git.pld-linux.org Git - packages/alsa-utils.git/commitdiff
- rel 3; segv fix auto/th/alsa-utils-1.0.27-3 auto/ti/alsa-utils-1.0.27-3
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 17 Apr 2013 22:11:20 +0000 (00:11 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 17 Apr 2013 22:11:20 +0000 (00:11 +0200)
alsa-utils.spec
alsactl-fix.patch [new file with mode: 0644]

index 5d683d26f771331abdb28b0b9ee2bd3c52233334..055161f2b459063cf892b984e3bef051ddc885d7 100644 (file)
@@ -6,7 +6,7 @@ Summary(ru.UTF-8):      Утилиты командной строки для ALSA pr
 Summary(uk.UTF-8):     Утиліти командного рядка для ALSA project
 Name:          alsa-utils
 Version:       1.0.27
-Release:       2
+Release:       3
 # some apps GPL v2, some GPL v2+
 License:       GPL v2
 Group:         Applications/Sound
@@ -19,6 +19,7 @@ Source3:      alsactl.conf
 Patch0:                %{name}-fast_sampling.patch
 Patch1:                %{name}-modprobe.patch
 Patch2:                %{name}-build.patch
+Patch3:                alsactl-fix.patch
 URL:           http://www.alsa-project.org/
 BuildRequires: alsa-lib-devel >= 1.0.26
 BuildRequires: autoconf >= 2.59
@@ -106,6 +107,7 @@ Skrypt init dla Advanced Linux Sound Architecture.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 %{__gettextize}
diff --git a/alsactl-fix.patch b/alsactl-fix.patch
new file mode 100644 (file)
index 0000000..344255e
--- /dev/null
@@ -0,0 +1,13 @@
+diff --git a/alsactl/lock.c b/alsactl/lock.c
+index d34d013..fce208b 100644
+--- a/alsactl/lock.c
++++ b/alsactl/lock.c
+@@ -35,7 +35,7 @@ static int state_lock_(const char *file, int lock, int timeout)
+       int fd = -1, err = 0;
+       struct flock lck;
+       struct stat st;
+-      char lcktxt[11];
++      char lcktxt[12];
+       char *nfile;
+       if (!do_lock)
This page took 0.04855 seconds and 4 git commands to generate.