rpms/wkf/devel wkf-1.3.11-func-declaration.patch, NONE, 1.1 wkf.spec, 1.2, 1.3
Mamoru Tasaka (mtasaka)
fedora-extras-commits at redhat.com
Thu Apr 3 14:56:04 UTC 2008
Author: mtasaka
Update of /cvs/extras/rpms/wkf/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1814/devel
Modified Files:
wkf.spec
Added Files:
wkf-1.3.11-func-declaration.patch
Log Message:
* Thu Apr 3 2008 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1.3.11-2
- Fix implicit function declaration
wkf-1.3.11-func-declaration.patch:
--- NEW FILE wkf-1.3.11-func-declaration.patch ---
--- wkf-1.3.11/functions.h.debug 2005-04-05 17:26:56.000000000 +0900
+++ wkf-1.3.11/functions.h 2008-04-03 23:43:07.000000000 +0900
@@ -56,4 +56,7 @@
extern void setOutputStringBuffer(String, unsigned int);
extern conv_t convertKanjiCode(kcode_t, kcode_t);
+/* strlcpy.c */
+extern size_t strlcpy(char *dst, const char *src, size_t siz);
+
#endif /* _FUNCTIONS_H */
--- wkf-1.3.11/wkf.c.debug 2007-07-06 01:35:21.000000000 +0900
+++ wkf-1.3.11/wkf.c 2008-04-03 23:47:06.000000000 +0900
@@ -44,6 +44,9 @@
#include "config.h"
#endif /* HAVE_CONFIG_H */
+/* For asprintf */
+#define _GNU_SOURCE
+
#include <stdio.h>
#include <stdlib.h>
#ifndef _WIN32
Index: wkf.spec
===================================================================
RCS file: /cvs/extras/rpms/wkf/devel/wkf.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- wkf.spec 9 Feb 2008 04:22:44 -0000 1.2
+++ wkf.spec 3 Apr 2008 14:55:24 -0000 1.3
@@ -1,12 +1,13 @@
Name: wkf
Version: 1.3.11
-Release: 1%{?dist}.2
+Release: 2%{?dist}
Summary: Japanese Kanji code converting filter
Group: System Environment/Libraries
License: BSD
URL: http://www.mysticwall.com/software/wkf/
Source0: http://www.mysticwall.com/download/%{name}-%{version}.tar.bz2
+Patch0: wkf-1.3.11-func-declaration.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: groff
@@ -37,6 +38,7 @@
%prep
%setup -q
+%patch0 -p1 -b .func_declare
for f in \
API \
@@ -53,7 +55,7 @@
%build
%configure --disable-static
%{__make} %{?_smp_mflags} \
- CC="%{__cc} %{optflags}"
+ CC="%{__cc} %{optflags} -Werror-implicit-function-declaration"
%install
@@ -103,8 +105,11 @@
%changelog
+* Thu Apr 3 2008 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1.3.11-2
+- Fix implicit function declaration
+
* Sat Feb 9 2008 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp>
-- Rebuild against gcc43
+- Rebuild against gcc43 (F-9)
* Wed Dec 5 2007 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1.3.11-1
- Initial packaging
More information about the fedora-extras-commits
mailing list