[packages/alsa-tools] rel 2; builds now
arekm
arekm at pld-linux.org
Sun Apr 14 21:21:01 CEST 2013
commit c1038f30fe2c01e214bbc5515074a6933d938dc3
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun Apr 14 21:20:58 2013 +0200
rel 2; builds now
alsa-tools-build.patch | 24 ++++++++++++++++++++++++
alsa-tools.spec | 4 +++-
2 files changed, 27 insertions(+), 1 deletion(-)
---
diff --git a/alsa-tools.spec b/alsa-tools.spec
index 83a7c0f..8da4a18 100644
--- a/alsa-tools.spec
+++ b/alsa-tools.spec
@@ -6,7 +6,7 @@ Summary: Advanced Linux Sound Architecture (ALSA) - tools
Summary(pl.UTF-8): Advanced Linux Sound Architecture (ALSA) - narzędzia
Name: alsa-tools
Version: 1.0.27
-Release: 1
+Release: 2
License: GPL v2+
Group: Applications/Sound
Source0: ftp://ftp.alsa-project.org/pub/tools/%{name}-%{version}.tar.bz2
@@ -14,6 +14,7 @@ Source0: ftp://ftp.alsa-project.org/pub/tools/%{name}-%{version}.tar.bz2
Patch0: %{name}-desktop.patch
Patch1: %{name}-sh.patch
Patch2: %{name}-csp.patch
+Patch3: %{name}-build.patch
URL: http://www.alsa-project.org/
BuildRequires: alsa-lib-devel >= 1.0.24
BuildRequires: autoconf
@@ -219,6 +220,7 @@ Statyczna biblioteka liblo10k1.
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
# don't BR gtk+ 1.2
echo 'AC_DEFUN([AM_PATH_GTK],[])' > echomixer/acinclude.m4
diff --git a/alsa-tools-build.patch b/alsa-tools-build.patch
new file mode 100644
index 0000000..5caf5f8
--- /dev/null
+++ b/alsa-tools-build.patch
@@ -0,0 +1,24 @@
+diff -ur alsa-tools-1.0.27.org/ld10k1/src/ld10k1.c alsa-tools-1.0.27/ld10k1/src/ld10k1.c
+--- alsa-tools-1.0.27.org/ld10k1/src/ld10k1.c 2013-04-11 13:43:07.000000000 +0200
++++ alsa-tools-1.0.27/ld10k1/src/ld10k1.c 2013-04-14 21:18:25.553846590 +0200
+@@ -62,7 +62,7 @@
+ localtime(&tp));
+ fprintf(out, "%s %s", timestr, label);
+ } else
+- fprintf(out, label);
++ fprintf(out, "%s", label);
+ vfprintf(out, fmt, va);
+ fprintf(out, "\n");
+ fflush(out);
+diff -ur alsa-tools-1.0.27.org/ld10k1/src/lo10k1.c alsa-tools-1.0.27/ld10k1/src/lo10k1.c
+--- alsa-tools-1.0.27.org/ld10k1/src/lo10k1.c 2013-04-11 13:43:07.000000000 +0200
++++ alsa-tools-1.0.27/ld10k1/src/lo10k1.c 2013-04-14 21:12:42.462505232 +0200
+@@ -868,7 +868,7 @@
+
+ void debug_print(char *str)
+ {
+- printf(str);
++ printf("%s", str);
+ }
+
+ static int debug(int deb)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/alsa-tools.git/commitdiff/c1038f30fe2c01e214bbc5515074a6933d938dc3
More information about the pld-cvs-commit
mailing list