summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/which/files')
-rw-r--r--sys-apps/which/files/which-2.19-remove-readline.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys-apps/which/files/which-2.19-remove-readline.patch b/sys-apps/which/files/which-2.19-remove-readline.patch
new file mode 100644
index 000000000000..ffc9490e9e52
--- /dev/null
+++ b/sys-apps/which/files/which-2.19-remove-readline.patch
@@ -0,0 +1,16 @@
+diff -urN which-2.19/tilde/xmalloc.h which-2.19-patched/tilde/xmalloc.h
+--- which-2.19/tilde/xmalloc.h 2008-01-16 10:07:57.000000000 -0600
++++ which-2.19-patched/tilde/xmalloc.h 2008-03-13 11:47:16.000000000 -0500
+@@ -23,12 +23,6 @@
+ #if !defined (_XMALLOC_H_)
+ #define _XMALLOC_H_
+
+-#if defined (READLINE_LIBRARY)
+-# include "rlstdc.h"
+-#else
+-# include <readline/rlstdc.h>
+-#endif
+-
+ #ifndef PTR_T
+
+ #ifdef __STDC__