summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2008-03-13 18:42:22 +0000
committerDoug Goldstein <cardoe@gentoo.org>2008-03-13 18:42:22 +0000
commit4f27ec036d7776aae7c63bb072a0d98e32654e69 (patch)
tree10176cd9b97f5a1613651db7d78a6bcad96c9d5f /sys-apps/which/files
parentQA cleanup: Fix quoting (again). (diff)
downloadgentoo-2-4f27ec036d7776aae7c63bb072a0d98e32654e69.tar.gz
gentoo-2-4f27ec036d7776aae7c63bb072a0d98e32654e69.tar.bz2
gentoo-2-4f27ec036d7776aae7c63bb072a0d98e32654e69.zip
readline is not necessary. bug #207151. patch from Daniel Robbins <drobbins@funtoo.org>
(Portage version: 2.1.4.4)
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__