]> git.pld-linux.org Git - packages/FusionSound.git/commitdiff
- added format patch to fix build with -Werror=format-security auto/th/FusionSound-1.6.2-1 auto/ti/FusionSound-1.6.2-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 6 Oct 2012 13:30:09 +0000 (15:30 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 6 Oct 2012 13:30:09 +0000 (15:30 +0200)
FusionSound-format.patch [new file with mode: 0644]
FusionSound.spec

diff --git a/FusionSound-format.patch b/FusionSound-format.patch
new file mode 100644 (file)
index 0000000..d0ab2a9
--- /dev/null
@@ -0,0 +1,11 @@
+--- FusionSound-1.6.2/drivers/alsa.c.orig      2012-09-20 18:01:15.000000000 +0200
++++ FusionSound-1.6.2/drivers/alsa.c   2012-10-06 15:29:23.860469388 +0200
+@@ -327,7 +327,7 @@
+           if (snd_ctl_card_info( ctl, info ) == 0) {
+                snprintf( device_info->name,
+                          FS_SOUND_DEVICE_INFO_NAME_LENGTH,
+-                         snd_ctl_card_info_get_name( info ) );
++                         "%s", snd_ctl_card_info_get_name( info ) );
+           }
+           snd_ctl_close( ctl );
index c8abe18fcf479d2686c58d01ae66501043b0d65a..734cfca44e11cba4d6bf457d9be0cfde16a7f00a 100644 (file)
@@ -9,6 +9,7 @@ Source0:        http://www.directfb.org/downloads/Core/FusionSound/%{name}-%{version}.t
 # Source0-md5: bc6ed0cb77c0b8954f91706fe8aa95bc
 Patch0:                %{name}-conf.patch
 Patch1:                %{name}-ffmpeg.patch
+Patch2:                %{name}-format.patch
 URL:           http://www.directfb.org/index.php?path=Platform/FusionSound
 BuildRequires: DirectFB-devel >= 1:1.6.0
 # for examples
@@ -133,6 +134,7 @@ Moduł FusionSound dostarczający muzykę Ogg Vorbis.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__libtoolize}
This page took 0.121022 seconds and 4 git commands to generate.