MSYS2-packages/joe/0001-fix-build.patch
Darryl Miles 56beac0ac1
joe: Joe's own editor (#3695)
* joe: Joe's own editor

* fixes

---------

Co-authored-by: Christoph Reiter <reiter.christoph@gmail.com>
2025-08-07 08:01:48 +02:00

12 lines
278 B
Diff

--- joe-4.6/joe/tty.c.orig 2018-01-10 17:28:34.000000000 +0100
+++ joe-4.6/joe/tty.c 2025-08-07 07:54:23.698861300 +0200
@@ -952,7 +952,7 @@
/* Strange streams way */
-extern char *ptsname();
+extern char *ptsname(int fd);
static char *getpty(int *ptyfd, int *ttyfd)
{