Hi,

Currently emacs is using an old way to create a process with a pty.
OpenBSD has posix_openpt(3) now, so emacs should use it.

I actually hit a problem that Mew could not start gnupg properly.

# I sent a bug report to the upstream as well.

ok?

Index: Makefile
===================================================================
RCS file: /disk/cvs/openbsd/ports/editors/emacs/Makefile,v
retrieving revision 1.93
diff -u -p -r1.93 Makefile
--- Makefile    10 Nov 2019 21:50:23 -0000      1.93
+++ Makefile    26 Jun 2020 10:02:29 -0000
@@ -3,7 +3,7 @@
 COMMENT=               GNU editor: extensible, customizable, self-documenting
 
 VERSION=               26.3
-REVISION=              1
+REVISION=              2
 DISTNAME=              emacs-${VERSION}
 
 CATEGORIES=            editors
Index: patches/patch-configure
===================================================================
RCS file: /disk/cvs/openbsd/ports/editors/emacs/patches/patch-configure,v
retrieving revision 1.17
diff -u -p -r1.17 patch-configure
--- patches/patch-configure     25 Sep 2019 22:10:51 -0000      1.17
+++ patches/patch-configure     26 Jun 2020 10:02:29 -0000
@@ -13,3 +13,18 @@ Index: configure
     ;;
  esac
  
+@@ -18602,12 +18600,12 @@ case $opsys in
+ 
+     ;;
+ 
+-  gnu | openbsd | qnxnto )
++  gnu | qnxnto )
+     $as_echo "#define FIRST_PTY_LETTER 'p'" >>confdefs.h
+ 
+     ;;
+ 
+-  gnu-linux | gnu-kfreebsd | dragonfly | freebsd | netbsd | darwin | nacl )
++  openbsd | gnu-linux | gnu-kfreebsd | dragonfly | freebsd | netbsd | darwin 
| nacl )
+         if test "x$ac_cv_func_grantpt" = xyes; then
+ 
+ $as_echo "#define UNIX98_PTYS 1" >>confdefs.h

Reply via email to