summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Villavicencio <the_paya@gentoo.org>2010-03-24 04:14:27 +0000
committerJavier Villavicencio <the_paya@gentoo.org>2010-03-24 04:14:27 +0000
commite1ea0d48ce689f3591bd1579a5aeeafdbc73048e (patch)
treedaefad59120b2ba49419b79d01a0efad0df62232 /sys-libs/readline/files
parentBug #278633: add in support for mysql root password from secure config file. (diff)
downloadhistorical-e1ea0d48ce689f3591bd1579a5aeeafdbc73048e.tar.gz
historical-e1ea0d48ce689f3591bd1579a5aeeafdbc73048e.tar.bz2
historical-e1ea0d48ce689f3591bd1579a5aeeafdbc73048e.zip
Fix for bug 301508, rlfe build on FreeBSD.
Package-Manager: portage-2.2_rc67/cvs/FreeBSD i386
Diffstat (limited to 'sys-libs/readline/files')
-rw-r--r--sys-libs/readline/files/readline-6.1-rlfe-freebsd.patch16
1 files changed, 16 insertions, 0 deletions
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 000000000000..e9a051eacb82
--- /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>