1 |
commit: 05f453771a206d4a2ecfedc5e670ec07ea68a6ab |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 28 05:41:01 2016 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 28 05:43:45 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05f45377 |
7 |
|
8 |
sys-libs/readline: Re-added preserve_old_lib for bug #595324. |
9 |
|
10 |
Package-Manager: portage-2.3.1 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-libs/readline/readline-7.0.ebuild | 9 +++++++++ |
14 |
1 file changed, 9 insertions(+) |
15 |
|
16 |
diff --git a/sys-libs/readline/readline-7.0.ebuild b/sys-libs/readline/readline-7.0.ebuild |
17 |
index d504052..56fddcb 100644 |
18 |
--- a/sys-libs/readline/readline-7.0.ebuild |
19 |
+++ b/sys-libs/readline/readline-7.0.ebuild |
20 |
@@ -151,3 +151,12 @@ multilib_src_install_all() { |
21 |
docinto ps |
22 |
dodoc doc/*.ps |
23 |
} |
24 |
+pkg_preinst() { |
25 |
+ # bug #29865 |
26 |
+ # Reappeared in #595324 with paludis so keeping this for now... |
27 |
+ preserve_old_lib /$(get_libdir)/lib{history,readline}.so.{4,5,6} |
28 |
+} |
29 |
+ |
30 |
+pkg_postinst() { |
31 |
+ preserve_old_lib_notify /$(get_libdir)/lib{history,readline}.so.{4,5,6} |
32 |
+} |