rpms/finger/devel finger-munge-utf8-gecos.patch, NONE, 1.1 finger.spec, 1.15, 1.16
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Mon Nov 28 13:04:14 UTC 2005
Author: rvokal
Update of /cvs/dist/rpms/finger/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv6918
Modified Files:
finger.spec
Added Files:
finger-munge-utf8-gecos.patch
Log Message:
- make finger UTF-8 happy (#174352)
finger-munge-utf8-gecos.patch:
display.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
--- NEW FILE finger-munge-utf8-gecos.patch ---
--- bsd-finger-0.17.bak/finger/display.c 1999-09-28 23:53:58.000000000 +0100
+++ bsd-finger-0.17/finger/display.c 2005-11-28 12:03:37.943682293 +0000
@@ -42,6 +42,8 @@
#include <stdarg.h>
#include "finger.h"
+#define fxputs(f, buf) fputs(buf, f)
+
int
getscreenwidth(void)
{
@@ -147,11 +149,6 @@
fxputc(stdout, ch);
}
-static void fxputs(FILE *f, const char *buf) {
- int i;
- for (i=0; buf[i]; i++) fxputc(f, buf[i]);
-}
-
int xprintf(const char *fmt, ...) {
char buf[1024];
va_list ap;
Index: finger.spec
===================================================================
RCS file: /cvs/dist/rpms/finger/devel/finger.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- finger.spec 13 Jul 2005 12:38:41 -0000 1.15
+++ finger.spec 28 Nov 2005 13:04:10 -0000 1.16
@@ -1,7 +1,7 @@
Summary: The finger client.
Name: finger
Version: 0.17
-Release: 29
+Release: 30
License: BSD
Group: Applications/Internet
Source: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/bsd-finger-%{version}.tar.gz
@@ -15,6 +15,7 @@
Patch7: bsd-finger-0.17-typo.patch
Patch8: bsd-finger-0.17-strip.patch
Patch9: bsd-finger-0.17-utmp.patch
+Patch10: finger-munge-utf8-gecos.patch
BuildRoot: %{_tmppath}/%{name}-root
BuildRequires: gcc, glibc-devel, perl
@@ -53,6 +54,7 @@
%patch7 -p1 -b .typo
%patch8 -p1 -b .strip
%patch9 -p1 -b .utmp
+%patch10 -p1 -b .utf8
%build
sh configure --enable-ipv6
@@ -94,6 +96,9 @@
%{_mandir}/man8/fingerd.8*
%changelog
+* Mon Nov 28 2005 Radek Vokal <rvokal at redhat.com> 0.17-30
+- make finger UTF-8 happy (#174352)
+
* Wed Jul 13 2005 Radek Vokal <rvokal at redhat.com> 0.17-29
- make finger world readable (#162643)
More information about the fedora-cvs-commits
mailing list