| Index: sys-libs/readline/files/readline-6.1-rlfe-freebsd.patch
|
| diff --git a/sys-libs/readline/files/readline-6.1-rlfe-freebsd.patch b/sys-libs/readline/files/readline-6.1-rlfe-freebsd.patch
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e9a051eacb824dde6fd7721a2bca9321673b701c
|
| --- /dev/null
|
| +++ b/sys-libs/readline/files/readline-6.1-rlfe-freebsd.patch
|
| @@ -0,0 +1,16 @@
|
| +FreeBSD-8 dropped sgtty.h in favor of termios.h,
|
| +without this rlfe build on FreeBSD-8 fails with a
|
| +missing sgtty.h.
|
| +See also bug #301508.
|
| +
|
| +--- readline-6.1/examples/rlfe/os.h.orig
|
| ++++ readline-6.1/examples/rlfe/os.h
|
| +@@ -186,7 +186,7 @@
|
| + * terminal handling
|
| + */
|
| +
|
| +-#ifdef POSIX
|
| ++#if defined(POSIX) || defined(__FreeBSD__)
|
| + # include <termios.h>
|
| + # ifdef hpux
|
| + # include <bsdtty.h>
|
|
|