--- /dev/null
+--- Canna37p3/cmd/catdic/can.c.orig 2003-02-01 20:34:20.000000000 +0100
++++ Canna37p3/cmd/catdic/can.c 2012-11-13 19:44:35.098812750 +0100
+@@ -1236,7 +1236,7 @@
+ break;
+ default:
+ if (init[0] == '/') {
+- (void)fprintf(stderr,msg_abnl);
++ (void)fputs(msg_abnl,stderr);
+ } else {
+ (void)fprintf(stderr,msg_abnls,init);
+ }
+@@ -1297,11 +1297,11 @@
+
+ if ( opt_fq ) {
+ if ( opt_s ) {
+- (void) fprintf(stderr,msg_sfq);
++ (void) fputs(msg_sfq,stderr);
+ exit(ERR_VALUE) ;
+ }
+ if ( opt_l || opt_std ) {
+- (void) fprintf(stderr,msg_l);
++ (void) fputs(msg_l,stderr);
+ exit(ERR_VALUE) ;
+ }
+ mode = mode | PL_DIC ;
+@@ -1491,7 +1491,7 @@
+ break;
+ default:
+ if(init[0] == '/') {
+- fprintf(stderr,msg_abnl );
++ fputs(msg_abnl,stderr);
+ }
+ else {
+ fprintf(stderr,msg_abnls,init);
Source1: %{name}.init
Source2: %{name}-dot-canna
Patch0: %{name}-conf.patch
-Patch1: %{name}-lib64.patch
+Patch1: %{name}-format.patch
+Patch2: %{name}-lib64.patch
URL: http://canna.sourceforge.jp/
BuildRequires: cpp
BuildRequires: rpmbuild(macros) >= 1.268
%prep
%setup -q -n %{name}%{dver}
%patch0 -p1
-%if "%{_lib}" == "lib64"
%patch1 -p1
+%if "%{_lib}" == "lib64"
+%patch2 -p1
%endif
%build