pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/editors/jove/patches PR/54520: Greywolf: jove 'shell' ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e34b7387104b
branches: trunk
changeset: 338933:e34b7387104b
user: christos <christos%pkgsrc.org@localhost>
date: Mon Sep 02 08:51:29 2019 +0000
description:
PR/54520: Greywolf: jove 'shell' fails with [Out of ptys!], use openpty(3).
diffstat:
editors/jove/patches/patch-aa | 35 +++++++++++++++++++++++++++--------
1 files changed, 27 insertions(+), 8 deletions(-)
diffs (75 lines):
diff -r eb4b42619d77 -r e34b7387104b editors/jove/patches/patch-aa
--- a/editors/jove/patches/patch-aa Mon Sep 02 08:33:47 2019 +0000
+++ b/editors/jove/patches/patch-aa Mon Sep 02 08:51:29 2019 +0000
@@ -1,12 +1,13 @@
-$NetBSD: patch-aa,v 1.5 2013/04/28 03:19:36 dholland Exp $
+$NetBSD: patch-aa,v 1.6 2019/09/02 08:51:29 christos Exp $
- configure for pkgsrc
- honor PKGMANDIR
- honor pkgsrc CFLAGS and LDFLAGS
+- add -DUSE_OPENPTY -lutil
---- Makefile.orig 2005-09-30 22:14:41.000000000 +0000
-+++ Makefile
-@@ -21,12 +21,12 @@ SHELL = /bin/sh
+--- Makefile.orig 2015-10-16 15:29:50.000000000 -0400
++++ Makefile 2019-09-02 04:47:15.636767739 -0400
+@@ -21,12 +21,12 @@
# If they don't exist, this makefile will try to create the directories
# LIBDIR and SHAREDIR. All others must already exist.
@@ -22,7 +23,7 @@
MANEXT = 1
# TMPDIR is where the tmp files get stored, usually /tmp, /var/tmp, or
-@@ -38,11 +38,11 @@ MANEXT = 1
+@@ -38,11 +38,11 @@
# (in case the system startup salvages tempfiles by moving them,
# which is probably a good idea).
@@ -36,7 +37,7 @@
# The install commands of BSD and System V differ in unpleasant ways:
# -c: copy (BSD); -c dir: destination directory (SysV)
-@@ -53,15 +53,15 @@ DFLTSHELL = /bin/csh
+@@ -53,15 +53,15 @@
# "cp" will work reasonably well, but be aware that any links continue
# referencing the old file with new contents.
@@ -55,7 +56,16 @@
#TINSTALL=/usr/ucb/install $(INSTALLFLAGS) -c -m 644
#CYGWIN32: TINSTALL=install $(INSTALLFLAGS) -c -m 644
-@@ -146,7 +146,7 @@ SYSDEFS = -DBSDPOSIX_STDC
+@@ -137,7 +137,7 @@
+ # Add -DUSE_EXIT if you're profiling or using purify (this causes Jove
+ # to exit using exit(), instead of _exit()).
+
+-SYSDEFS = -DBSDPOSIX_STDC
++SYSDEFS = -DBSDPOSIX_STDC -DUSE_OPENPTY
+
+ # Select optimization level (flags passed to compiling and linking steps).
+ # On most systems: -g for debugging, -O for optimization.
+@@ -146,7 +146,7 @@
# On DEC OSF/1 and Digital UNIX VV4.0, add -std1 to enable ANSI C features
# and perhaps -g3 for more debugging info with optimization.
@@ -64,7 +74,16 @@
# For making dependencies under BSD systems
DEPENDFLAG = -M
-@@ -181,13 +181,13 @@ EXTRALIBS =
+@@ -169,7 +169,7 @@
+ # FreeBSD 4.2: EXTRALIBS = -lutil
+ # FreeBSD 4.2, NetBSD 1.5, OpenBSD 2.x: EXTRALIBS = -lutil
+
+-EXTRALIBS =
++EXTRALIBS = -lutil
+
+ # Flags of linker (LDFLAGS)
+ # Most systems do not need any flags.
+@@ -182,13 +182,13 @@
# PDP-11 with separate I&D: -i
# PDP-11 without separate I&D: -n
Home |
Main Index |
Thread Index |
Old Index