SHA256
1
0
forked from pool/luit

- update to version 2.0-20130217

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/luit?expand=0&rev=10
This commit is contained in:
Stefan Dirsch 2013-03-04 13:11:25 +00:00 committed by Git OBS Bridge
parent ae7e13ef55
commit b6e4650fda
5 changed files with 20 additions and 18 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:43702d4893df5a29505a4593085f2a52d9ced898a533d58192718eab2db00712
size 150291

3
luit-20130217.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5d160d765fd694a61a67557d120e546c62f44acf1c4d50c45b8fed4809a0240b
size 181709

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 4 12:03:48 UTC 2013 - sndirsch@suse.com
- update to version 2.0-20130217
-------------------------------------------------------------------
Mon Oct 15 14:05:58 UTC 2012 - sndirsch@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package luit
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,14 +17,14 @@
Name: luit
Version: 1.2_20121014
Version: 2.0_20130217
Release: 0
%define _version 20121014
%define _version 20130217
Summary: Locale and ISO 2022 support for Unicode terminals
License: MIT
Group: System/X11/Utilities
Url: http://invisible-island.net/luit/
Source0: %{name}-%{_version}.tar.bz2
Source0: %{name}-%{_version}.tar.gz
# PATCH-FIX-UPSTREAM u_luit-Set-up-terminal-before-fork.diff fdo#48638 -- Set up terminal before fork
Patch0: u_luit-Set-up-terminal-before-fork.diff
BuildRequires: pkg-config

View File

@ -15,20 +15,20 @@ Signed-off-by: Egbert Eich <eich@freedesktop.org>
luit.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/luit.c b/luit.c
index 6bd8775..c2a011c 100644
--- a/luit.c
+++ b/luit.c
@@ -577,6 +577,8 @@ condom(int argc, char **argv)
Index: luit-20130217/luit.c
===================================================================
--- luit-20130217.orig/luit.c
+++ luit-20130217/luit.c
@@ -776,6 +776,8 @@ condom(int argc, char **argv)
IGNORE_RC(pipe(c2p_waitpipe));
}
+ setup_io(pty);
+
TRACE(("...forking to run %s(%s)\n", path, child_argv[0]));
pid = fork();
if (pid < 0) {
perror("Couldn't fork");
@@ -584,6 +586,10 @@ condom(int argc, char **argv)
@@ -784,6 +786,10 @@ condom(int argc, char **argv)
}
if (pid == 0) {
@ -39,7 +39,7 @@ index 6bd8775..c2a011c 100644
close(pty);
if (pipe_option) {
close_waitpipe(1);
@@ -661,7 +667,6 @@ parent(int pid GCC_UNUSED, int pty)
@@ -865,7 +871,6 @@ parent(int pid GCC_UNUSED, int pty)
if (verbose) {
reportIso2022("Output", outputState);
}
@ -47,6 +47,3 @@ index 6bd8775..c2a011c 100644
if (pipe_option) {
write_waitpipe(p2c_waitpipe);
--
1.7.3.4