aboutsummaryrefslogtreecommitdiff
path: root/x11/kdebase4/files/patch-kioslave-fish-fish.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kdebase4/files/patch-kioslave-fish-fish.cpp')
-rw-r--r--x11/kdebase4/files/patch-kioslave-fish-fish.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/x11/kdebase4/files/patch-kioslave-fish-fish.cpp b/x11/kdebase4/files/patch-kioslave-fish-fish.cpp
new file mode 100644
index 000000000000..6373fd0f3546
--- /dev/null
+++ b/x11/kdebase4/files/patch-kioslave-fish-fish.cpp
@@ -0,0 +1,10 @@
+--- kioslave/fish/fish.cpp.orig
++++ kioslave/fish/fish.cpp
+@@ -302,5 +302,5 @@
+ void fishProtocol::openConnection() {
+ static int open_pty_pair(int fd[2])
+ {
+-#if defined(HAVE_TERMIOS_H) && defined(HAVE_GRANTPT)
++#if defined(HAVE_TERMIOS_H) && defined(HAVE_GRANTPT) && !defined (HAVE_OPENPTY)
+ /** with kind regards to The GNU C Library
+ Reference Manual for Version 2.2.x of the GNU C Library */