diff options
author | 2014-07-05 00:25:41 +0000 | |
---|---|---|
committer | 2014-07-05 00:25:41 +0000 | |
commit | bc3934947e4983003eb95ec5f9d7dc4115aa8752 (patch) | |
tree | 24bd4a1c14f3ad8d820c2c11972812c1246cbc84 /x11-terms/hanterm/files | |
parent | Version bump. (diff) | |
download | gentoo-2-bc3934947e4983003eb95ec5f9d7dc4115aa8752.tar.gz gentoo-2-bc3934947e4983003eb95ec5f9d7dc4115aa8752.tar.bz2 gentoo-2-bc3934947e4983003eb95ec5f9d7dc4115aa8752.zip |
Add a patch to build with USE=-utempter. #513892
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key F8551514)
Diffstat (limited to 'x11-terms/hanterm/files')
-rw-r--r-- | x11-terms/hanterm/files/hanterm-3.1.6-utmp.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/x11-terms/hanterm/files/hanterm-3.1.6-utmp.patch b/x11-terms/hanterm/files/hanterm-3.1.6-utmp.patch new file mode 100644 index 000000000000..32659263b5d1 --- /dev/null +++ b/x11-terms/hanterm/files/hanterm-3.1.6-utmp.patch @@ -0,0 +1,14 @@ +diff --git a/main.c b/main.c +index ac15032..e465329 100644 +--- a/main.c ++++ b/main.c +@@ -1936,7 +1936,9 @@ spawn () + #endif /* LASTLOG */ + #endif /* UTMP */ + ++#ifdef UTMP + memset (&utmp, '\0', sizeof(utmp)); ++#endif + + screen->uid = getuid(); + screen->gid = getgid(); |