rpms/initscripts/devel initscripts-8.67-sparc-console.patch, NONE, 1.1 initscripts.spec, 1.161, 1.162
Dennis Gilmore (ausil)
fedora-extras-commits at redhat.com
Tue Mar 25 14:52:38 UTC 2008
- Previous message (by thread): rpms/python-kaa-metadata/devel .cvsignore, 1.4, 1.5 sources, 1.4, 1.5 python-kaa-metadata.spec, 1.9, 1.10
- Next message (by thread): rpms/initscripts/devel initscripts-8.67-sparc-console.patch, NONE, 1.1 initscripts.spec, 1.161, 1.162
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: ausil
Update of /cvs/pkgs/rpms/initscripts/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4294
Modified Files:
initscripts.spec
Added Files:
initscripts-8.67-sparc-console.patch
Log Message:
apply patch fro sparc console
initscripts-8.67-sparc-console.patch:
--- NEW FILE initscripts-8.67-sparc-console.patch ---
--- initscripts-8.67/src/console_check.c.BAD 2008-03-25 09:26:45.000000000 -0500
+++ initscripts-8.67/src/console_check.c 2008-03-25 09:29:08.000000000 -0500
@@ -48,6 +48,15 @@
{0, 0}
};
+#if defined(__sparc__)
+static int termcmp(struct termios *a, struct termios *b)
+{
+ if (a->c_iflag != b->c_iflag || a->c_oflag != b->c_oflag ||
+ a->c_cflag != b->c_cflag || a->c_lflag != b->c_lflag)
+ return 1;
+ return memcmp(a->c_cc, b->c_cc, sizeof(a->c_cc));
+}
+#else
int termcmp(struct termios *a, struct termios *b) {
if (a->c_iflag != b->c_iflag || a->c_oflag != b->c_oflag ||
a->c_cflag != b->c_cflag || a->c_lflag != b->c_lflag ||
@@ -55,6 +64,7 @@
return 1;
return memcmp(a->c_cc, b->c_cc, sizeof(a->c_cc));
}
+#endif
int get_serial_speed(int fd) {
struct termios mode;
Index: initscripts.spec
===================================================================
RCS file: /cvs/pkgs/rpms/initscripts/devel/initscripts.spec,v
retrieving revision 1.161
retrieving revision 1.162
diff -u -r1.161 -r1.162
--- initscripts.spec 11 Mar 2008 21:49:40 -0000 1.161
+++ initscripts.spec 25 Mar 2008 14:51:53 -0000 1.162
@@ -4,8 +4,10 @@
# ppp-watch is GPLv2+, everything else is GPLv2
License: GPLv2 and GPLv2+
Group: System Environment/Base
-Release: 1
+Release: 2
Source: initscripts-%{version}.tar.bz2
+Patch0: initscripts-8.67-sparc-console.patch
+
BuildRoot: /%{_tmppath}/%{name}-%{version}-%{release}-root
Requires: mingetty, /bin/awk, /bin/sed, mktemp, e2fsprogs >= 1.15
Requires: /sbin/sysctl, syslog
@@ -41,6 +43,7 @@
%prep
%setup -q
+%patch0 -p1
%build
make
@@ -216,6 +219,9 @@
%ghost %attr(0664,root,utmp) /var/run/utmp
%changelog
+* Tue Mar 25 2008 Dennis Gilmore <dennis at ausil.us> - 8.67-2
+- apply patch for sparc console
+
* Tue Mar 11 2008 Bill Nottingham <notting at redhat.com> - 8.67-1
- actually, don't
- Previous message (by thread): rpms/python-kaa-metadata/devel .cvsignore, 1.4, 1.5 sources, 1.4, 1.5 python-kaa-metadata.spec, 1.9, 1.10
- Next message (by thread): rpms/initscripts/devel initscripts-8.67-sparc-console.patch, NONE, 1.1 initscripts.spec, 1.161, 1.162
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list