diff options
Diffstat (limited to 'source/xap/gftp')
-rwxr-xr-x | source/xap/gftp/gftp.SlackBuild | 2 | ||||
-rw-r--r-- | source/xap/gftp/gftp.glibc-2.30.diff | 13 |
2 files changed, 15 insertions, 0 deletions
diff --git a/source/xap/gftp/gftp.SlackBuild b/source/xap/gftp/gftp.SlackBuild index a87db0639..1ab04df35 100755 --- a/source/xap/gftp/gftp.SlackBuild +++ b/source/xap/gftp/gftp.SlackBuild @@ -72,6 +72,8 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +zcat $CWD/gftp.glibc-2.30.diff.gz | patch -p1 --verbose || exit 1 + CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ diff --git a/source/xap/gftp/gftp.glibc-2.30.diff b/source/xap/gftp/gftp.glibc-2.30.diff new file mode 100644 index 000000000..efefcfe2b --- /dev/null +++ b/source/xap/gftp/gftp.glibc-2.30.diff @@ -0,0 +1,13 @@ +--- ./lib/pty.c.orig 2007-03-12 20:56:43.000000000 -0500 ++++ ./lib/pty.c 2019-08-19 17:30:51.858199288 -0500 +@@ -61,10 +61,6 @@ + + #elif HAVE_GRANTPT + +-#if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__)) +-#include <stropts.h> +-#endif +- + char * + gftp_get_pty_impl (void) + { |