[packages/alsa-utils] - rel 2; it wasn't even building - fixed
arekm
arekm at pld-linux.org
Sun Apr 14 21:06:05 CEST 2013
commit d746ab8508e0a9ab1d69907f62a9aad0cb5fb969
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun Apr 14 21:06:02 2013 +0200
- rel 2; it wasn't even building - fixed
alsa-utils-build.patch | 12 ++++++++++++
alsa-utils.spec | 4 +++-
2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/alsa-utils.spec b/alsa-utils.spec
index 878ca88..5d683d2 100644
--- a/alsa-utils.spec
+++ b/alsa-utils.spec
@@ -6,7 +6,7 @@ Summary(ru.UTF-8): Утилиты командной строки для ALSA pr
Summary(uk.UTF-8): Утиліти командного рядка для ALSA project
Name: alsa-utils
Version: 1.0.27
-Release: 1
+Release: 2
# some apps GPL v2, some GPL v2+
License: GPL v2
Group: Applications/Sound
@@ -18,6 +18,7 @@ Source2: alsa-oss-pcm
Source3: alsactl.conf
Patch0: %{name}-fast_sampling.patch
Patch1: %{name}-modprobe.patch
+Patch2: %{name}-build.patch
URL: http://www.alsa-project.org/
BuildRequires: alsa-lib-devel >= 1.0.26
BuildRequires: autoconf >= 2.59
@@ -104,6 +105,7 @@ Skrypt init dla Advanced Linux Sound Architecture.
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
%{__gettextize}
diff --git a/alsa-utils-build.patch b/alsa-utils-build.patch
new file mode 100644
index 0000000..a22013f
--- /dev/null
+++ b/alsa-utils-build.patch
@@ -0,0 +1,12 @@
+diff -urN alsa-utils-1.0.27.org/alsactl/utils.c alsa-utils-1.0.27/alsactl/utils.c
+--- alsa-utils-1.0.27.org/alsactl/utils.c 2013-04-11 13:43:06.000000000 +0200
++++ alsa-utils-1.0.27/alsactl/utils.c 2013-04-14 21:02:26.968631825 +0200
+@@ -111,7 +111,7 @@
+ buf[sizeof(buf)-1] = '\0';
+ vsnprintf(buf + strlen(buf), sizeof(buf)-strlen(buf), fmt, ap);
+ buf[sizeof(buf)-1] = '\0';
+- syslog(LOG_INFO, buf);
++ syslog(LOG_INFO, "%s", buf);
+ }
+
+ void info_(const char *fcn, long line, const char *fmt, ...)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/alsa-utils.git/commitdiff/d746ab8508e0a9ab1d69907f62a9aad0cb5fb969
More information about the pld-cvs-commit
mailing list