summaryrefslogtreecommitdiff
path: root/editors/jove/patches
diff options
context:
space:
mode:
authorchristos <christos@pkgsrc.org>2019-09-02 08:51:29 +0000
committerchristos <christos@pkgsrc.org>2019-09-02 08:51:29 +0000
commit7a6c530bb8ab78a294d355ae669c6795c9162461 (patch)
treeeca752ccd65d6201fa6b6b6e0965e0654e91ce4d /editors/jove/patches
parent0ed4715207164313007f6b1f26f1870fe4318562 (diff)
downloadpkgsrc-7a6c530bb8ab78a294d355ae669c6795c9162461.tar.gz
PR/54520: Greywolf: jove 'shell' fails with [Out of ptys!], use openpty(3).
Diffstat (limited to 'editors/jove/patches')
-rw-r--r--editors/jove/patches/patch-aa35
1 files changed, 27 insertions, 8 deletions
diff --git a/editors/jove/patches/patch-aa b/editors/jove/patches/patch-aa
index d6e7068562c..54a4095f7ad 100644
--- a/editors/jove/patches/patch-aa
+++ b/editors/jove/patches/patch-aa
@@ -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 @@ $NetBSD: patch-aa,v 1.5 2013/04/28 03:19:36 dholland Exp $
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 @@ $NetBSD: patch-aa,v 1.5 2013/04/28 03:19:36 dholland Exp $
# 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 @@ $NetBSD: patch-aa,v 1.5 2013/04/28 03:19:36 dholland Exp $
#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 @@ $NetBSD: patch-aa,v 1.5 2013/04/28 03:19:36 dholland Exp $
# 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