rpms/vte/FC-6 gnome-pty-helper-hostaddress-garbage.patch, NONE, 1.1 .cvsignore, 1.47, 1.48 sources, 1.47, 1.48 vte.spec, 1.93, 1.94

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Dec 8 21:54:30 UTC 2006


Author: besfahbo

Update of /cvs/dist/rpms/vte/FC-6
In directory cvs.devel.redhat.com:/tmp/cvs-serv3982

Modified Files:
	.cvsignore sources vte.spec 
Added Files:
	gnome-pty-helper-hostaddress-garbage.patch 
Log Message:
* Fri Dec 08 2006 Behdad Esfahbod <besfahbo at redhat.com> 0.14.1-1
- Update to 0.14.1
- Add gnome-pty-helper-hostaddress-garbage.patch
- Resolves: #218626


gnome-pty-helper-hostaddress-garbage.patch:
 gnome-utmp.c |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

--- NEW FILE gnome-pty-helper-hostaddress-garbage.patch ---
Index: gnome-pty-helper/gnome-utmp.c
===================================================================
RCS file: /cvs/gnome/vte/gnome-pty-helper/gnome-utmp.c,v
retrieving revision 1.6
diff -u -p -d -r1.6 gnome-utmp.c
--- gnome-pty-helper/gnome-utmp.c	11 Jul 2006 15:52:08 -0000	1.6
+++ gnome-pty-helper/gnome-utmp.c	8 Dec 2006 21:44:48 -0000
@@ -233,6 +233,7 @@ void
 write_logout_record (char *login_name, void *data, int utmp, int wtmp)
 {
 	UTMP put, *ut = data;
+	struct timeval tv;
 
 	memset (&put, 0, sizeof(UTMP));
 
@@ -246,7 +247,9 @@ write_logout_record (char *login_name, v
 	strncpy (put.ut_line, ut->ut_line, sizeof (put.ut_line));
 
 #if defined(HAVE_UT_UT_TV)
-	gettimeofday ((struct timeval*) &put.ut_tv, NULL);
+	gettimeofday(&tv, NULL);
+	put.ut_tv.tv_sec = tv.tv_sec;
+	put.ut_tv.tv_usec = tv.tv_usec;
 #elif defined(HAVE_UT_UT_TIME)
 	time (&put.ut_time);
 #endif
@@ -272,6 +275,7 @@ write_login_record (char *login_name, ch
 {
 	UTMP *ut;
 	char *pty = term_name;
+	struct timeval tv;
 
 	if ((ut=(UTMP *) malloc (sizeof (UTMP))) == NULL)
 		return NULL;
@@ -333,7 +337,9 @@ write_login_record (char *login_name, ch
 #endif
 	/* If structure has ut_tv it doesn't need ut_time */
 #if defined(HAVE_UT_UT_TV)
-	gettimeofday ((struct timeval*) &(ut->ut_tv), NULL);
+	gettimeofday(&tv, NULL);
+	ut->ut_tv.tv_sec = tv.tv_sec;
+	ut->ut_tv.tv_usec = tv.tv_usec;
 #elif defined(HAVE_UT_UT_TIME)
 	time (&ut->ut_time);
 #endif


Index: .cvsignore
===================================================================
RCS file: /cvs/dist/rpms/vte/FC-6/.cvsignore,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- .cvsignore	5 Sep 2006 04:18:53 -0000	1.47
+++ .cvsignore	8 Dec 2006 21:54:28 -0000	1.48
@@ -1 +1 @@
-vte-0.14.0.tar.bz2
+vte-0.14.1.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/dist/rpms/vte/FC-6/sources,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- sources	5 Sep 2006 04:18:53 -0000	1.47
+++ sources	8 Dec 2006 21:54:28 -0000	1.48
@@ -1 +1 @@
-42c6929f2072f1373cf37942896bb332  vte-0.14.0.tar.bz2
+98ea2513b773b44cb7f8d75dc1aa312e  vte-0.14.1.tar.bz2


Index: vte.spec
===================================================================
RCS file: /cvs/dist/rpms/vte/FC-6/vte.spec,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -r1.93 -r1.94
--- vte.spec	17 Oct 2006 19:03:18 -0000	1.93
+++ vte.spec	8 Dec 2006 21:54:28 -0000	1.94
@@ -1,6 +1,6 @@
 Name: vte
-Version: 0.14.0
-Release: 3%{?dist}
+Version: 0.14.1
+Release: 1%{?dist}
 Summary: A terminal emulator
 License: LGPL
 Group: User Interface/X
@@ -14,6 +14,8 @@
 # initscripts creates the utmp group
 Prereq: initscripts 
 
+Patch1: gnome-pty-helper-hostaddress-garbage.patch
+
 %description
 VTE is a terminal emulator widget for use with GTK+ 2.0.
 
@@ -30,6 +32,8 @@
 %prep
 %setup -q
 
+%patch1 -p0 -b .hostaddress-garbage
+
 %build
 PYTHON=%{_bindir}/python`%{__python} -c "import sys ; print sys.version[:3]"`
 export PYTHON
@@ -101,6 +105,11 @@
 %{_libdir}/pkgconfig/*
 
 %changelog
+* Fri Dec 08 2006 Behdad Esfahbod <besfahbo at redhat.com> 0.14.1-1
+- Update to 0.14.1
+- Add gnome-pty-helper-hostaddress-garbage.patch
+- Resolves: #218626
+
 * Tue Oct 17 2006 Behdad Esfahbod <besfahbo at redhat.com> 0.14.0-3
 - Step revision up cause I tagged wrong the other time
 




More information about the fedora-cvs-commits mailing list