[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/lv/devel lv-4.51-162372.patch,NONE,1.1 lv.spec,1.17,1.18



Author: tagoh

Update of /cvs/dist/rpms/lv/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv8412

Modified Files:
	lv.spec 
Added Files:
	lv-4.51-162372.patch 
Log Message:
* Mon Jul 11 2005 Akira TAGOH <tagoh redhat com> - 4.51-6
- lv-4.51-162372.patch: silence gcc warning. (#162372)

lv-4.51-162372.patch:
 raw.c |    1 +
 1 files changed, 1 insertion(+)

--- NEW FILE lv-4.51-162372.patch ---
diff -ruN lv451.orig/src/raw.c lv451/src/raw.c
--- lv451.orig/src/raw.c	2004-01-05 16:23:29.000000000 +0900
+++ lv451/src/raw.c	2005-07-11 13:57:25.000000000 +0900
@@ -42,6 +42,7 @@
       DecodeAddControl( ch );
     } else {
       c[ 0 ] = ch;
+      c[ 1 ] = 0; /* silence silly gcc */
       DecodeAddChar( ASCII, c, 0 );
     }
   }


Index: lv.spec
===================================================================
RCS file: /cvs/dist/rpms/lv/devel/lv.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- lv.spec	17 Mar 2005 13:30:22 -0000	1.17
+++ lv.spec	11 Jul 2005 05:01:40 -0000	1.18
@@ -3,7 +3,7 @@
 Summary:	A Powerful Multilingual File Viewer
 Name:		lv
 Version:	4.51
-Release: 5
+Release: 6
 License: distributable
 Group: Applications/Text
 URL: http://www.ff.iij4u.or.jp/~nrt/lv/
@@ -11,6 +11,7 @@
 BuildPrereq: libtermcap-devel
 Source: http://www.ff.iij4u.or.jp/~nrt/freeware/%{name}%{vver}.tar.gz
 Patch1: lv-4.49.4-nonstrip.patch
+Patch2: lv-4.51-162372.patch
 
 %description
 lv is a powerful file viewer like less.
@@ -25,6 +26,7 @@
 %prep
 %setup -q -n %{name}%{vver}
 %patch1 -p1 -b .nonstrip
+%patch2 -p1 -b .162372
 
 %build
 cd src
@@ -52,6 +54,9 @@
 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
 
 %changelog
+* Mon Jul 11 2005 Akira TAGOH <tagoh redhat com> - 4.51-6
+- lv-4.51-162372.patch: silence gcc warning. (#162372)
+
 * Thu Mar 17 2005 Akira TAGOH <tagoh redhat com> - 4.51-5
 - rebuilt
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]