summaryrefslogtreecommitdiff
path: root/recipes/screen/screen-4.0.3/no-stropts.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/screen/screen-4.0.3/no-stropts.patch')
-rw-r--r--recipes/screen/screen-4.0.3/no-stropts.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/screen/screen-4.0.3/no-stropts.patch b/recipes/screen/screen-4.0.3/no-stropts.patch
new file mode 100644
index 0000000000..bce651479d
--- /dev/null
+++ b/recipes/screen/screen-4.0.3/no-stropts.patch
@@ -0,0 +1,13 @@
+Index: screen-4.0.3/pty.c
+===================================================================
+--- screen-4.0.3.orig/pty.c 2009-09-11 15:44:44.881250800 -0700
++++ screen-4.0.3/pty.c 2009-09-11 15:45:28.077862097 -0700
+@@ -34,7 +34,7 @@
+ #endif
+
+ /* for solaris 2.1, Unixware (SVR4.2) and possibly others */
+-#ifdef HAVE_SVR4_PTYS
++#if defined HAVE_SVR4_PTYS && !defined __UCLIBC__
+ # include <sys/stropts.h>
+ #endif
+