openbsd-ports/japanese/kterm/patches/patch-Imakefile
pvalchev 735abcecdf Treat this much like XF4 xterm got treated based on the work on Matthieu
and Theo:
- Revoke root privileges early (root needed for pty allocation)
- Make it setgid utmp in order to update utmp with root privileges
revoked.  utmp also revoked if not needed (-u used for ex)
2002-11-21 05:41:14 +00:00

15 lines
377 B
Plaintext

$OpenBSD: patch-Imakefile,v 1.1 2002/11/21 05:41:14 pvalchev Exp $
--- Imakefile.orig Thu Jul 11 23:01:04 1996
+++ Imakefile Wed Nov 20 01:10:22 2002
@@ -24,6 +24,10 @@ XCOMM $Id: Imakefile,v 6.3 1996/07/12 05
PTYLIB = -lpucc
#endif
+#if defined(OpenBSDArchitecture)
+PTYLIB = -lutil
+#endif
+
OSMAJORVERSION = OSMajorVersion
OSMINORVERSION = OSMinorVersion