summaryrefslogtreecommitdiff
path: root/package/xterm/patches/patch-ptyx_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-11-06 19:00:51 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-11-06 19:00:51 +0100
commit55bbdd0c376d8e169e5b9363e8b34882f161f9e5 (patch)
tree5f1627900efc77f6037a72e8923926e7dbbaaeb5 /package/xterm/patches/patch-ptyx_h
parent0cd497af446f04f0b197f779ff407cf4cb43b7ce (diff)
update xterm to latest upstream, add fixes t owork with musl libc
Diffstat (limited to 'package/xterm/patches/patch-ptyx_h')
-rw-r--r--package/xterm/patches/patch-ptyx_h11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/xterm/patches/patch-ptyx_h b/package/xterm/patches/patch-ptyx_h
new file mode 100644
index 000000000..cd2fa7cad
--- /dev/null
+++ b/package/xterm/patches/patch-ptyx_h
@@ -0,0 +1,11 @@
+--- xterm-297.orig/ptyx.h 2013-09-10 20:10:00.000000000 +0200
++++ xterm-297/ptyx.h 2013-10-30 10:30:07.000000000 +0100
+@@ -169,7 +169,7 @@
+ #define USE_PTY_DEVICE 1
+ #define USE_PTY_SEARCH 1
+
+-#if defined(__osf__) || (defined(linux) && defined(__GLIBC__) && (__GLIBC__ >= 2) && (__GLIBC_MINOR__ >= 1)) || defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__)
++#if defined(__osf__) || defined(linux) || defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__)
+ #undef USE_PTY_DEVICE
+ #undef USE_PTY_SEARCH
+ #define USE_PTS_DEVICE 1