]> git.pld-linux.org Git - packages/faac.git/commitdiff
- fix building with -Wformat-security auto/th/faac-1.28-2 auto/ti/faac-1.28-2
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 13 Feb 2013 16:06:34 +0000 (17:06 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 13 Feb 2013 16:06:34 +0000 (17:06 +0100)
- rel 2

faac.spec
format-security.patch [new file with mode: 0644]

index d01fdbb78dad2ab1a1e7150567bf7e6bf6801829..811beaa46c29e04cda2d66b03560332d79d78f7d 100644 (file)
--- a/faac.spec
+++ b/faac.spec
@@ -7,13 +7,14 @@ Summary:      Freeware Advanced Audio Codec
 Summary(pl.UTF-8):     Freeware Advanced Audio Codec - darmowy zaawansowany kodek dźwięku
 Name:          faac
 Version:       1.28
-Release:       1
+Release:       2
 License:       LGPL v2.1+
 Group:         Applications/Sound
 Source0:       http://downloads.sourceforge.net/faac/%{name}-%{version}.tar.gz
 # Source0-md5: 80763728d392c7d789cde25614c878f6
 Patch0:                %{name}-link.patch
 Patch1:                %{name}-mp4v2.patch
+Patch2:                format-security.patch
 URL:           http://www.audiocoding.com/
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
@@ -74,6 +75,7 @@ Statyczna biblioteka faac.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__libtoolize}
diff --git a/format-security.patch b/format-security.patch
new file mode 100644 (file)
index 0000000..028d214
--- /dev/null
@@ -0,0 +1,11 @@
+--- faac-1.28/frontend/main.c~ 2013-02-13 16:59:01.694994119 +0100
++++ faac-1.28/frontend/main.c  2013-02-13 17:00:07.332255478 +0100
+@@ -715,7 +715,7 @@
+         break;
+ #endif
+         case 'L':
+-        fprintf(stderr, faac_copyright_string);
++        fputs(faac_copyright_string, stderr);
+         dieMessage = license;
+         break;
+     case 'X':
This page took 0.062053 seconds and 4 git commands to generate.