[Canna] Fix an error when building with -Werror=format-security. (#1037008)

Akira TAGOH tagoh at fedoraproject.org
Tue Dec 10 03:39:51 UTC 2013


commit 3458f45d4af0376785efab34c015a314e9f7770e
Author: Akira TAGOH <tagoh at redhat.com>
Date:   Tue Dec 10 12:39:44 2013 +0900

    Fix an error when building with -Werror=format-security. (#1037008)

 Canna.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/Canna.spec b/Canna.spec
index edcf9bf..9ba9a7f 100644
--- a/Canna.spec
+++ b/Canna.spec
@@ -10,7 +10,7 @@
 Summary: A Japanese character set input system.
 Name: Canna
 Version: 3.7p3
-Release: 40%{?dist}
+Release: 41%{?dist}
 # lib/RKindep/cksum.c is licensed under 4-clause BSD, otherwise MIT.
 License: MIT and BSD with advertising
 Group: System Environment/Libraries
@@ -48,6 +48,7 @@ Patch41: Canna-3.7p3-yenbs.patch
 Patch42: Canna-3.7p3-redecl.patch
 Patch43: Canna-3.7p3-fix-gcc4-warning.patch
 Patch44: Canna-3.7p3-no-strip.patch
+Patch45: %{name}-3.7p3-fix-format.patch
 Patch50: %{name}-aarch64.patch
 
 Requires(pre): shadow-utils
@@ -106,6 +107,7 @@ cd %{cannadir}
 %patch42 -p1 -b .redecl
 %patch43 -p1 -b .gcc4
 %patch44 -p1 -b .no-strip
+%patch45 -p1 -b .format
 cd ..
 %patch50 -p1 -b .aarch64
 
@@ -334,6 +336,9 @@ fi
 %{_libdir}/libcanna16.so.*
 
 %changelog
+* Tue Dec 10 2013 Akira TAGOH <tagoh at redhat.com> - 3.7p3-41
+- Fix an error when building with -Werror=format-security. (#1037008)
+
 * Fri Aug 02 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.7p3-40
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list