rpms/jfbterm/devel jfbterm-0.4.7-remove-warning.patch, 1.1, 1.2 jfbterm.spec, 1.12, 1.13
Mamoru Tasaka (mtasaka)
fedora-extras-commits at redhat.com
Mon Dec 17 13:46:31 UTC 2007
Author: mtasaka
Update of /cvs/extras/rpms/jfbterm/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21269
Modified Files:
jfbterm-0.4.7-remove-warning.patch jfbterm.spec
Log Message:
* Mon Dec 17 2007 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.4.7-15
- Supress gcc warning on 64 bits
jfbterm-0.4.7-remove-warning.patch:
Index: jfbterm-0.4.7-remove-warning.patch
===================================================================
RCS file: /cvs/extras/rpms/jfbterm/devel/jfbterm-0.4.7-remove-warning.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- jfbterm-0.4.7-remove-warning.patch 21 Aug 2006 02:16:09 -0000 1.1
+++ jfbterm-0.4.7-remove-warning.patch 17 Dec 2007 13:46:27 -0000 1.2
@@ -18,8 +18,8 @@
#ifdef DEBUG
print_message("mmap ; %d - %p\n", p->slen, p->smem);
---- jfbterm-0.4.7/fbdpsp.c.compile 2006-07-26 15:44:25.000000000 +0900
-+++ jfbterm-0.4.7/fbdpsp.c 2006-07-26 16:01:45.000000000 +0900
+--- jfbterm-0.4.7/fbdpsp.c.compile 2006-07-25 21:13:20.000000000 +0900
++++ jfbterm-0.4.7/fbdpsp.c 2007-12-17 22:32:28.000000000 +0900
@@ -837,7 +837,7 @@
#define GRAPHICS_MODE_INDEX 5 /* Graphics Mode Register index. */
#define BIT_MASK_INDEX 8 /* Bit Mask Register index. */
@@ -71,7 +71,7 @@
}
for (i = 0 ; i < r ; i++) {
--- jfbterm-0.4.7/term.c.compile 2003-09-16 00:45:31.000000000 +0900
-+++ jfbterm-0.4.7/term.c 2006-07-26 16:56:31.000000000 +0900
++++ jfbterm-0.4.7/term.c 2007-12-17 22:32:28.000000000 +0900
@@ -134,7 +134,7 @@
int ret;
@@ -91,6 +91,42 @@
}
} else if (FD_ISSET(p->ptyfd,&fds)) {
ret = read(p->ptyfd, buf, BUF_SIZE);
+@@ -247,6 +248,7 @@
+ {
+ struct utmp utmp;
+ struct passwd *pw;
++ time_t tmp_ut_time;
+ char *tn;
+
+ pw = getpwuid(util_getuid());
+@@ -262,7 +264,8 @@
+ tn = p->name + 5;
+ strncpy(utmp.ut_line, tn, sizeof(utmp.ut_line));
+ strncpy(utmp.ut_user, pw->pw_name, sizeof(utmp.ut_user));
+- time(&(utmp.ut_time));
++ time(&(tmp_ut_time));
++ utmp.ut_time = (int32_t) tmp_ut_time;
+ pututline(&utmp);
+ endutent();
+ }
+@@ -270,6 +273,7 @@
+ void tterm_reset_utmp(TTerm* p)
+ {
+ struct utmp utmp, *utp;
++ time_t tmp_ut_time;
+ char *tn;
+
+ tn = rindex(p->name, '/') + 4;
+@@ -281,7 +285,8 @@
+ utp->ut_type = DEAD_PROCESS;
+ memset(utp->ut_user, 0, sizeof(utmp.ut_user));
+ utp->ut_type = DEAD_PROCESS;
+- time(&(utp->ut_time));
++ time(&(tmp_ut_time));
++ utp->ut_time = (int32_t) tmp_ut_time;
+ pututline(utp);
+ endutent();
+ }
--- jfbterm-0.4.7/vterm.c.compile 2004-05-11 03:08:47.000000000 +0900
+++ jfbterm-0.4.7/vterm.c 2006-07-26 16:22:04.000000000 +0900
@@ -1107,6 +1107,7 @@
Index: jfbterm.spec
===================================================================
RCS file: /cvs/extras/rpms/jfbterm/devel/jfbterm.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- jfbterm.spec 15 Dec 2007 15:43:08 -0000 1.12
+++ jfbterm.spec 17 Dec 2007 13:46:27 -0000 1.13
@@ -1,7 +1,7 @@
Summary: Japanese Console for Linux Frame Buffer Device
Name: jfbterm
Version: 0.4.7
-Release: 14%{?dist}
+Release: 15%{?dist}
License: BSD
Group: Applications/System
Source0: http://downloads.sourceforge.jp/jfbterm/13501/jfbterm-%{version}.tar.gz
@@ -189,6 +189,9 @@
%endif
%changelog
+* Mon Dec 17 2007 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.4.7-15
+- Supress gcc warning on 64 bits
+
* Sun Dec 16 2007 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.4.7-14
- Remove previous workaround patch for glibc >= 2.7.90
- Remove unneeded autoconf call
More information about the fedora-extras-commits
mailing list