diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 02:18:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 02:18:09 +0000 |
commit | 94699d7e8b4fed22ac9d24b7f2a3a28c282424e9 (patch) | |
tree | f5b77c68cf16faa6d133528d5af9daac899ba009 /debian/patches/rlfe-kfreebsd.diff | |
parent | Adding upstream version 7.0. (diff) | |
download | readline-94699d7e8b4fed22ac9d24b7f2a3a28c282424e9.tar.xz readline-94699d7e8b4fed22ac9d24b7f2a3a28c282424e9.zip |
Adding debian version 7.0-5.debian/7.0-5debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/rlfe-kfreebsd.diff')
-rw-r--r-- | debian/patches/rlfe-kfreebsd.diff | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/rlfe-kfreebsd.diff b/debian/patches/rlfe-kfreebsd.diff new file mode 100644 index 0000000..240d85a --- /dev/null +++ b/debian/patches/rlfe-kfreebsd.diff @@ -0,0 +1,13 @@ +Index: readline6-6.1/examples/rlfe/pty.c +=================================================================== +--- readline6-6.1.orig/examples/rlfe/pty.c 2010-05-30 18:30:54.000000000 +0000 ++++ readline6-6.1/examples/rlfe/pty.c 2010-05-30 18:30:58.000000000 +0000 +@@ -133,7 +133,7 @@ + { + if (f < 0) + return; +-#if defined(I_PUSH) && defined(HAVE_SVR4_PTYS) && !defined(sgi) && !defined(linux) && !defined(__osf__) && !defined(M_UNIX) ++#if defined(I_PUSH) && defined(HAVE_SVR4_PTYS) && !defined(sgi) && !defined(linux) && !defined(__osf__) && !defined(M_UNIX) && !defined(__FreeBSD_kernel__) + if (ioctl(f, I_PUSH, "ptem")) + Panic(errno, "InitPTY: cannot I_PUSH ptem"); + if (ioctl(f, I_PUSH, "ldterm")) |