summaryrefslogtreecommitdiff
path: root/libc/debian/patches/add-libutil-openpty-forkpty.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libc/debian/patches/add-libutil-openpty-forkpty.patch')
-rw-r--r--libc/debian/patches/add-libutil-openpty-forkpty.patch44
1 files changed, 22 insertions, 22 deletions
diff --git a/libc/debian/patches/add-libutil-openpty-forkpty.patch b/libc/debian/patches/add-libutil-openpty-forkpty.patch
index d544363..0f5be59 100644
--- a/libc/debian/patches/add-libutil-openpty-forkpty.patch
+++ b/libc/debian/patches/add-libutil-openpty-forkpty.patch
@@ -3,10 +3,10 @@ Description: add libutil with openpty(), forkpty() and login_tty()
unconditionally: open() will do it for us if __xpg4 != 0, see
usr/src/lib/libc/port/sys/open.c. If we do push modules too,
termninal settings are reset, so we have 24x80 when login via ssh :-)
-Index: libc/usr/src/head/pty.h
+Index: b/usr/src/head/pty.h
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ libc/usr/src/head/pty.h 2013-07-27 05:03:08.751696819 +0400
++++ b/usr/src/head/pty.h 2014-03-02 23:24:07.773731082 +0400
@@ -0,0 +1,39 @@
+/*
+Copyright: 2013, Igor Pashev <pashev.igor@gmail.com>
@@ -47,10 +47,10 @@ Index: libc/usr/src/head/pty.h
+
+#endif /* pty.h */
+
-Index: libc/usr/src/head/utmp.h
+Index: b/usr/src/head/utmp.h
===================================================================
---- libc.orig/usr/src/head/utmp.h 2012-10-08 04:25:37.000000000 +0400
-+++ libc/usr/src/head/utmp.h 2013-07-27 05:03:08.753207994 +0400
+--- a/usr/src/head/utmp.h 2014-03-02 23:19:39.578067004 +0400
++++ b/usr/src/head/utmp.h 2014-03-02 23:24:07.775538660 +0400
@@ -171,6 +171,10 @@
#endif /* !defined(_XPG4_2) || defined(__EXTENSIONS__) */
@@ -62,10 +62,10 @@ Index: libc/usr/src/head/utmp.h
#ifdef __cplusplus
}
#endif
-Index: libc/usr/src/lib/libutil/Makefile
+Index: b/usr/src/lib/libutil/Makefile
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ libc/usr/src/lib/libutil/Makefile 2013-07-27 05:03:08.754646101 +0400
++++ b/usr/src/lib/libutil/Makefile 2014-03-02 23:24:07.777109107 +0400
@@ -0,0 +1,23 @@
+include ../Makefile.lib
+
@@ -90,10 +90,10 @@ Index: libc/usr/src/lib/libutil/Makefile
+FRC:
+
+include ../Makefile.targ
-Index: libc/usr/src/head/Makefile
+Index: b/usr/src/head/Makefile
===================================================================
---- libc.orig/usr/src/head/Makefile 2013-07-27 05:03:08.374908783 +0400
-+++ libc/usr/src/head/Makefile 2013-07-27 05:03:08.756162752 +0400
+--- a/usr/src/head/Makefile 2014-03-02 23:24:01.573054777 +0400
++++ b/usr/src/head/Makefile 2014-03-02 23:24:07.778577667 +0400
@@ -141,6 +141,7 @@
prof.h \
project.h \
@@ -102,10 +102,10 @@ Index: libc/usr/src/head/Makefile
pw.h \
pwd.h \
rctl.h \
-Index: libc/usr/src/lib/libutil/Makefile.com
+Index: b/usr/src/lib/libutil/Makefile.com
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ libc/usr/src/lib/libutil/Makefile.com 2013-07-27 05:03:08.757176034 +0400
++++ b/usr/src/lib/libutil/Makefile.com 2014-03-02 23:24:07.779882316 +0400
@@ -0,0 +1,21 @@
+LIBRARY = libutil.a
+VERS = .1
@@ -128,29 +128,29 @@ Index: libc/usr/src/lib/libutil/Makefile.com
+lint: lintcheck
+
+include ../../Makefile.targ
-Index: libc/usr/src/lib/libutil/amd64/Makefile
+Index: b/usr/src/lib/libutil/amd64/Makefile
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ libc/usr/src/lib/libutil/amd64/Makefile 2013-07-27 05:03:08.758346881 +0400
++++ b/usr/src/lib/libutil/amd64/Makefile 2014-03-02 23:24:07.785705774 +0400
@@ -0,0 +1,5 @@
+include ../Makefile.com
+include ../../Makefile.lib.64
+
+install: all $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTLINT64)
+
-Index: libc/usr/src/lib/libutil/i386/Makefile
+Index: b/usr/src/lib/libutil/i386/Makefile
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ libc/usr/src/lib/libutil/i386/Makefile 2013-07-27 05:03:08.759611350 +0400
++++ b/usr/src/lib/libutil/i386/Makefile 2014-03-02 23:24:07.787614053 +0400
@@ -0,0 +1,4 @@
+include ../Makefile.com
+
+install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
+
-Index: libc/usr/src/lib/libutil/common/login_tty.c
+Index: b/usr/src/lib/libutil/common/login_tty.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ libc/usr/src/lib/libutil/common/login_tty.c 2013-07-27 05:03:08.761328919 +0400
++++ b/usr/src/lib/libutil/common/login_tty.c 2014-03-02 23:24:07.789184206 +0400
@@ -0,0 +1,52 @@
+/*-
+ * Copyright (c) 1990, 1993
@@ -204,10 +204,10 @@ Index: libc/usr/src/lib/libutil/common/login_tty.c
+ (void) close(fd);
+ return (0);
+}
-Index: libc/usr/src/lib/libutil/common/pty.c
+Index: b/usr/src/lib/libutil/common/pty.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ libc/usr/src/lib/libutil/common/pty.c 2013-07-27 05:08:20.839330545 +0400
++++ b/usr/src/lib/libutil/common/pty.c 2014-03-02 23:24:07.790617651 +0400
@@ -0,0 +1,125 @@
+/*-
+ * Copyright (c) 1990, 1993, 1994
@@ -334,10 +334,10 @@ Index: libc/usr/src/lib/libutil/common/pty.c
+ (void) close(slave);
+ return (pid);
+}
-Index: libc/usr/src/lib/libutil/common/mapfile-vers
+Index: b/usr/src/lib/libutil/common/mapfile-vers
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ libc/usr/src/lib/libutil/common/mapfile-vers 2013-07-27 05:03:08.763441646 +0400
++++ b/usr/src/lib/libutil/common/mapfile-vers 2014-03-02 23:24:07.792138395 +0400
@@ -0,0 +1,11 @@
+$mapfile_version 2
+