* [gentoo-commits] repo/proj/prefix:master commit in: sys-libs/readline/, sys-libs/readline/files/
@ 2017-11-27 9:58 Fabian Groffen
0 siblings, 0 replies; 3+ messages in thread
From: Fabian Groffen @ 2017-11-27 9:58 UTC (permalink / raw
To: gentoo-commits
commit: 4b5bfb9347a3a9aeb556f2bc36d8a88e65b09132
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 27 09:57:47 2017 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Nov 27 09:58:05 2017 +0000
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=4b5bfb93
sys-libs/readline: sync
Package-Manager: Portage-2.3.13-prefix, Repoman-2.3.4
sys-libs/readline/Manifest | 17 -
.../readline/files/readline-5.1-rlfe-extern.patch | 17 -
sys-libs/readline/files/readline-5.2-aixdll.patch | 121 ----
sys-libs/readline/files/readline-5.2-interix.patch | 46 --
sys-libs/readline/files/readline-5.2-mint.patch | 48 --
.../readline-5.2-no-ignore-shlib-errors.patch | 24 -
.../readline/files/readline-5.2-solaris-fPIC.patch | 25 -
.../readline-6.1-darwin-shlib-versioning.patch | 24 -
sys-libs/readline/files/readline-6.2-libtool.patch | 686 ---------------------
.../readline/files/readline-6.3-read-eof.patch | 54 ++
sys-libs/readline/readline-5.2_p14.ebuild | 76 ---
sys-libs/readline/readline-6.2_p1-r1.ebuild | 136 ----
sys-libs/readline/readline-6.3_p8-r1.ebuild | 196 ------
...3_p8-r01.1.ebuild => readline-6.3_p8-r3.ebuild} | 86 +--
14 files changed, 100 insertions(+), 1456 deletions(-)
diff --git a/sys-libs/readline/Manifest b/sys-libs/readline/Manifest
index 27b74c2223..83956ce54b 100644
--- a/sys-libs/readline/Manifest
+++ b/sys-libs/readline/Manifest
@@ -1,22 +1,5 @@
DIST host-libtool-0.1.0.tar.gz 388867 SHA256 a32c9046e7f63b84ea41228ed54b17b98789ce129f7d02c215840dbecb15c8f5 SHA512 d8764d7814abf06556fb6eb19c12c2de1d1dc9f2f325deae55606ddfcf88963d65713d6fbd1fae0ab1a0668d90f84204e1cdcbd557944660ab01ecfe3a824ca5 WHIRLPOOL 5b002500155ad6d2400ba65950827db76f1c91ccc09f11fc726f71c23452d364d32229a6a92334ef3a77e72c53c353dee53b56601691868a3ab26adc0983c36b
-DIST readline-5.2.tar.gz 2037705 SHA256 12e88d96aee2cd1192500356f0535540db499282ca7f76339fb4228c31249f45 SHA512 74318b32c56e888716bda2507228ecc374a24e85b2faeec4778227a9f04eb19de1fc8468c78746954c84f9e616a06dd0f8a4332ba4b438fefb7e222699baa379 WHIRLPOOL 8641abf42316ab278207c0a25d9155d4d4fddaf0e704255b40708875b9f31bd3e6caf903550783c15b160bd2b86ffc129b2eb7a1fb4a641d8d58edc3b53145c3
-DIST readline-6.2.tar.gz 2277926 SHA256 79a696070a058c233c72dd6ac697021cc64abd5ed51e59db867d66d196a89381 SHA512 fa5b4f1b6f81bc0b3be0739adb06dab0668603ff256fe62b59ebfe21d5a9e340a758a8eef569df8c4c4ecb86cdd9698a6dabc2ee8c70a769de2bd5930c32ff59 WHIRLPOOL 5d92645085f253206c16533e3cb35bb382d6fe616bf2144feb06f9ffb9b4d7cc25ceaa846b98f17aa442552a0e80642a62d57fe20982e0ed8fdefb75c2f9bbf0
DIST readline-6.3.tar.gz 2468560 SHA256 56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43 SHA512 f70efaf46d570b85c7637172b0ee2eb9a4aa73ba38a62bb45075e665929d9701b96fba0aea6c767fd9a2a0d39dfe8e70ab06da08f8524aee76a7c502f370a401 WHIRLPOOL 7c68627559890dbebf1394b911cfd4675ec8862b84d4e067a207dd37a0a94482c8d92216195df2873bcdf03a0a86150663a9604cd65a0d78363376bc8ee4cfda
-DIST readline52-001 874 SHA256 eac304c369154059f93049ada328739faaf40338d3cb1fb4b544c93d5ce3f8d5 SHA512 65b92b5e03c20566eb3c7626e3ee9631e2b26932c34f2f95d88ae731df2805bcf63fc1215b97c97a2948e83b9373e3985ca1f64a598d84f1457bb33b605e5d9c WHIRLPOOL a11176d2bd2e02c5d81dc2791946251e89133d74d8621874db638a3854415e184934589b9c04d066035ca83f00b0de5e06876fddc7d6ca8e33203559b1eeda9c
-DIST readline52-002 1433 SHA256 9deacaef25507a0c2ae0b661bf9342559b59a2954d66ea3c5f5bcd900fdfcf78 SHA512 9d5b5549c355e80608d76b532bdf358a4e26dac0b62f7c51055bb15ea831a74ad2ef25391ddc2b1615bff8974a2e89a8045567fb0c6d2726dde37aa02a0e6b31 WHIRLPOOL f45f3641984fbb519344f8be6cffb863ee9dd07dd4a59c83d8a722770e84d35be8722970e87afa47b7db6c568bf45cea8904136a92dcfab85e0c5f6b04591077
-DIST readline52-003 1204 SHA256 2a55d2ecb1c9b0147aeb193a6323616ab31c1c525a83b2db3a994b15594ba934 SHA512 7f1722adea9bb9a94277cfbc66d47f600654a0d43bce7def1405e1bb925e5fb324615dd588d1ff2555e6bdebbe3b4609237ba7f52d80689a45f80935e440a37c WHIRLPOOL ad2bf92f7bcdd50f1bf2cacf917339590a9614237712f55f6432f0f6b7354b1a4c336be7784689749809d91b8f9e1b8e518642d315f84ee2a2fb4ff3235d1ad9
-DIST readline52-004 2192 SHA256 a03b65633781efa7c3aae5d57162985e7b7a3c10acf0f2621be610e16f27e5f2 SHA512 e0c0f87ca14a3d473aa31627385f1cb9c2daaf685d8bc0c25bfb2214d5665077a74c4589e3ff5bbc6d0e8b5321ac7fe0c4f7620761d46bbdca787a751e6dbd02 WHIRLPOOL c4f95b2bdc4d2e87983f307d484276cac5e8cd1a14fdef316cba91f53e274a87928f5b7701e098d6d8e9e522320925b086786513f70599cc749dd010e27f9638
-DIST readline52-005 8029 SHA256 06001896514148a757ea6edbbd40c4fc4331dc653847244386c37b138b150f64 SHA512 bd7af4e71f1572811b37bccb68d5ebc20f2e7c21850d9ec55bc48fdf756f9ebaac888b0fc6d83b70e94e335056646e5021ec86b26100a976883ff72ee6d8d521 WHIRLPOOL 6fed5902600d880b181cde7962d0d8eb8f1552770cddf7e80fa2547da7f8f1b8da4dda06d1875510974c897136cfe36079c80aaa83ce81aafab5af39675f393b
-DIST readline52-006 2820 SHA256 dfef3e982c0adf8bb5a9b7d0468ec8f5f18138b325e28759437464de5be71013 SHA512 3523800517b24fa512f3bc8750ecb83be73d57c7d48636ac3aa6b681ee185b6460ce8461a046734b64d78834f89d18d4c9c1de92d1eee94294eeae7e2911ce93 WHIRLPOOL b85c88d1bba3ac13d7379a6018d1d2a8c5fde78af37b28eeaf18e2ce3257e220b7ed36e106b649bd35f45b83703e7d5749a7ebe7e606857a8c774f4197a5f648
-DIST readline52-007 1523 SHA256 775b028c7b761397ac6ae1bdfbac7e896dc3b9b3adc2f91312499180ca13bdd1 SHA512 fe9471b237713ef7ce53fd0cf7bbb5a60720c64ec3df9dc58146d9c187511f0a6f480ae3f3b65168723e416ba4f08c67a2add0b01ede1149f72e7fc2ef21050f WHIRLPOOL 0a737ca595dcf8ce11f22e07b0927ba35f76981b7dcab38931536f38f9f94cf57882a555f3d0993b3b9d986156deaa8742db5ad50767beb7b68bda4cd067d3ba
-DIST readline52-008 2277 SHA256 a21b4e0bf0530b878bad24d5be23d18a9e03a75a31ae30844dc0933bb3d77ecd SHA512 a864e970006146533dac885b00f53dcf1471f95d6143d8874fe8c8e056477d6c237cf2814625bf2031844285484757fa0ccf66d064ac2065ac62a21384d67c93 WHIRLPOOL 2ec34f16bb51f2def75d6ba70a99073a8164157000bc2cdd84590060e7192c7c5aaedb67a89fa8602b02c5db3636262f6bd6d49321ca1130b9571d6d5c6285b4
-DIST readline52-009 1332 SHA256 138d5e0f0709a47a2d1621295a3dd5e3cc73b63b5cc28dab03abc4e94fe95ecf SHA512 a19ca5b5875208f8ea4804461c1ba1b0e27feabb0a2a0db1fe9ea94b8d84e366e754688f5d8840f48c6bc22a02b0abcbaf35dd3361784b7db4e9e83629d840be WHIRLPOOL 707c8bbe7492f7744d43b8c90e4ae83a44fae0932bb7007725d6e75c0748cac4bb3a6b20823cb546760d1c0009c31ebaac6088e6e3a71b0ffc5bf8329538301f
-DIST readline52-010 1543 SHA256 83f8c1aadb86b1a2fad8821a9c6be72a8de5afd7fd9fde58a30b3b57d939693e SHA512 851b7ee9fa3ab84e570723d445ade084fbb5af17fd4131520650f53000e93cb7c799c56cb00e8f906b230524b2fdda60970e72a44d1673d9bcd2c4de7ae400f8 WHIRLPOOL c491a42ac29463172c56408362ac3f3787b5f18e7050a72e73ed1191519c0093591b1ff095b8ec056af001016b47f654d4db46df86fd02b643b9ff3e8ee8ecee
-DIST readline52-011 886 SHA256 08ad3384ab0906e6fa4cc417eb8c43ff59375bcead15fd5c8e31730f0413b3d6 SHA512 b4d813c3aa9c1f35962ea8ca6ad1abb34f4ed3ab91dd31eb1fc5e9b9e54da032e6fbfea583e472cc6d8c6baa4f2ad8f63efc22c749fd713e0704474aad74f0ae WHIRLPOOL 4d3b05ed68601a96d2046a917051f87263ee60b5a4f5e44211f8f6d4dd26cd55e88f119ef0fd1c92dace7de88e981155dbfc64e595f2d59d2af430585f70adad
-DIST readline52-012 3870 SHA256 20f0243be2299c23213492cc2c19cfd15cc528d2b566a76a2de58306bb9e4c9e SHA512 2964c1c3a234223216ca3a099c42d8ee7de94fa7bee73ac346cc9991b9a11ad0406d3f9d785548f15170bf803714f4ffb0c2dfad19bb633358805c9b2e2873d3 WHIRLPOOL fa4bb64304b266dc24565ca4c5396aec8a5192998bb2322906be45e40389ef10141f0bdf243a33438384508d74387b4fb645b9189264742ae6a10e5600a57af3
-DIST readline52-013 5147 SHA256 0cc649516a5bdfa61c5e56937407570288b6972d75aa1bd060ad30ebe98144d5 SHA512 6c9addc3b130d5f034488cc9506f22bd183794fd1a8ac820c674b39761c8c47df1b69dc41c8be60054a068b2ae5fb63a76268b977ea07b33a8fcc4a829b55a8f WHIRLPOOL 17a956bb00d99819067f81dbe73ab1e573f0079b0c328ecede4082b98a03b20ff2d5629daf639abc1ff19b3b9d13e3c8d23a5bfa85b4712337611ef3a4d91aff
-DIST readline52-014 1244 SHA256 6f1a68320d01522ca1ea5a737124ecc8739f3dcbfea2dee21e3ccf839a21a817 SHA512 d262861e67b79059de3967ba820ce02a7d28eff33175ecb30b748d24c08f3a151da3c53430fc2d26da5934f198075c55d2f616b93fabd297d60b9c82bae17cf0 WHIRLPOOL ff137bf6e56989e24a378dfc15c1831a7f0f458442781bffe07c429e04f21d674993ab523198341918a1cd540d2bd8806ec0c9283f879d7346f0c26b920eeca8
-DIST readline62-001 1388 SHA256 38a86c417437692db01069c8ab40a9a8f548e67ad9af0390221b024b1c39b4e3 SHA512 e505161a9ab28f6c1086a6a4ecc5a82da9001d79e4c2b7c44cd82e86dca90bc726ee2387a31e8b4c6893b240877a766fdd913ee7294389722214e6281c518478 WHIRLPOOL 28c63b09a62fa1b64902b04a3c5607da742f7f308648262736240138fa7c957f21856556c8dd2dc08749acf143c271907c69124a978191a5ddb21a6dcf9ee70a
DIST readline63-001 1366 SHA256 1a79bbb6eaee750e0d6f7f3d059b30a45fc54e8e388a8e05e9c3ae598590146f SHA512 e70f89ca52a4eae7e1cddd70de6a7162252231ee029c89bb3fcb0f6c8c8b46c666be910c8b2eee72e96983ec2f1a23663694dc222f67228d82e8e4684f1504a2 WHIRLPOOL ed0b0ce066ab4764851d81e44d708cc9e2f3fe36ac4788243c81b3e25aa0995d054c1caf0a788c25969c7cdc6b2bad55a9c9c64286f485194b4e76bc453edf74
DIST readline63-002 1297 SHA256 39e304c7a526888f9e112e733848215736fb7b9d540729b9e31f3347b7a1e0a5 SHA512 4e23bd67433577e6e361d10a6c32768ea9e13b10e77493e565b870f56069b673fbcb0b860225f79fa9931845fc91d35c9a82c1385c23f8b757ebfd59f27851f4 WHIRLPOOL ca878e614ee233748f7017f5606fe2e96bb8374b33e4a571c5901594d7f329fd19b217abcf9cb844fa96374bff9e044712ed1017d6d99936f700da030202231d
DIST readline63-003 985 SHA256 ec41bdd8b00fd884e847708513df41d51b1243cecb680189e31b7173d01ca52f SHA512 6bfb84a5b980091b995e2b96bdf5680f97fe670e6cac1b8606d2d75a1ef922ff5bd4e73f029f7af98a115006b7ab7828146f2cd6986287543d8a29987c91dc12 WHIRLPOOL 3615b462024e836f0854c2ffaf1282b42462a0da90c8ce248a47e9ea5a0ce00892135c1b725f9fb8ef1fafb1e88e02649c664373ba41683ca2457aafdd12ac93
diff --git a/sys-libs/readline/files/readline-5.1-rlfe-extern.patch b/sys-libs/readline/files/readline-5.1-rlfe-extern.patch
deleted file mode 100644
index 3ec2cb36ac..0000000000
--- a/sys-libs/readline/files/readline-5.1-rlfe-extern.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- examples/rlfe/extern.h.orig 2006-09-28 11:33:35.372527000 +0200
-+++ examples/rlfe/extern.h 2006-09-28 11:39:01.460499000 +0200
-@@ -27,6 +27,14 @@
- #define __attribute__(x)
- #endif
-
-+#ifndef __P
-+# if defined(__STDC__) || defined(__cplusplus)
-+# define __P(p) p
-+# else
-+# define __P
-+# endif
-+#endif /* __P */
-+
- /* pty.c */
- extern int OpenPTY __P((char **));
- extern void InitPTY __P((int));
diff --git a/sys-libs/readline/files/readline-5.2-aixdll.patch b/sys-libs/readline/files/readline-5.2-aixdll.patch
deleted file mode 100644
index e7e819d7b8..0000000000
--- a/sys-libs/readline/files/readline-5.2-aixdll.patch
+++ /dev/null
@@ -1,121 +0,0 @@
-Switch creation of shared libraries on AIX to AIX native style,
-where a shared object is packed into an archive library.
-Additionally, create that shared objects using linker flag '-G'
-as suggested in various AIX documentations.
-But when doing so, there's no need for a static library in its common sense.
-Instead, symlink the shlib/libX.a to static (top-level) build directory.
-diff -ru readline-5.2.orig/configure.in readline-5.2/configure.in
---- readline-5.2.orig/configure.in 2008-03-20 09:47:38.000000000 +0100
-+++ readline-5.2/configure.in 2008-03-20 09:47:48.000000000 +0100
-@@ -238,6 +238,9 @@
- if test "$SHLIB_STATUS" = 'unsupported'; then
- opt_shared_libs=no
- fi
-+ if test "$opt_shared_libs" = yes -a "$SHLIB_STATUS" = 'aixdll'; then
-+ opt_static_libs=no
-+ fi
-
- # shared library versioning
- # quoted for m4 so I can use character classes
-diff -ru readline-5.2.orig/configure readline-5.2/configure
---- readline-5.2.orig/configure 2008-03-20 09:47:38.000000000 +0100
-+++ readline-5.2/configure 2008-03-20 09:47:48.000000000 +0100
-@@ -8468,6 +8468,9 @@
- if test "$SHLIB_STATUS" = 'unsupported'; then
- opt_shared_libs=no
- fi
-+ if test "$opt_shared_libs" = yes -a "$SHLIB_STATUS" = 'aixdll'; then
-+ opt_static_libs=no
-+ fi
-
- # shared library versioning
- # quoted for m4 so I can use character classes
-diff -ru readline-5.2.orig/shlib/Makefile.in readline-5.2/shlib/Makefile.in
---- readline-5.2.orig/shlib/Makefile.in 2008-03-20 09:47:38.000000000 +0100
-+++ readline-5.2/shlib/Makefile.in 2008-03-20 09:47:48.000000000 +0100
-@@ -162,6 +162,15 @@
- @echo "Please send the changes you made to bash-maintainers@gnu.org"
- @echo "for inclusion in future bash and readline releases."
-
-+aixdll: libreadline.a libhistory.a
-+libreadline.a: $(SHARED_READLINE)
-+ $(AR) q $@ $?
-+ ln -sf shlib/$@ ../$@
-+
-+libhistory.a: $(SHARED_HISTORY)
-+ $(AR) q $@ $?
-+ ln -sf shlib/$@ ../$@
-+
- $(SHARED_READLINE): $(SHARED_OBJ)
- $(RM) $@
- $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_OBJ) $(SHLIB_LIBS)
-@@ -180,11 +189,19 @@
- installdirs: $(topdir)/support/mkdirs
- -$(SHELL) $(topdir)/support/mkdirs $(DESTDIR)$(libdir)
-
--install: installdirs $(SHLIB_STATUS)
-+install-supported: installdirs supported
- $(SHELL) $(topdir)/support/shlib-install -O $(host_os) -d $(DESTDIR)$(libdir) -b $(DESTDIR)$(bindir) -i "$(INSTALL_DATA)" $(SHARED_HISTORY)
- $(SHELL) $(topdir)/support/shlib-install -O $(host_os) -d $(DESTDIR)$(libdir) -b $(DESTDIR)$(bindir) -i "$(INSTALL_DATA)" $(SHARED_READLINE)
- @echo install: you may need to run ldconfig
-
-+install-unsupported: unsupported
-+
-+install-aixdll: installdirs aixdll
-+ $(SHELL) $(topdir)/support/shlib-install -O $(host_os) -d $(DESTDIR)$(libdir) -b $(DESTDIR)$(bindir) -i "$(INSTALL_DATA)" libhistory.a
-+ $(SHELL) $(topdir)/support/shlib-install -O $(host_os) -d $(DESTDIR)$(libdir) -b $(DESTDIR)$(bindir) -i "$(INSTALL_DATA)" libreadline.a
-+
-+install: install-$(SHLIB_STATUS)
-+
- uninstall:
- $(SHELL) $(topdir)/support/shlib-install -O $(host_os) -d $(DESTDIR)$(libdir) -b $(DESTDIR)$(bindir) -U $(SHARED_HISTORY)
- $(SHELL) $(topdir)/support/shlib-install -O $(host_os) -d $(DESTDIR)$(libdir) -b $(DESTDIR)$(bindir) -U $(SHARED_READLINE)
-diff -ru readline-5.2.orig/support/shlib-install readline-5.2/support/shlib-install
---- readline-5.2.orig/support/shlib-install 2008-03-20 09:47:38.000000000 +0100
-+++ readline-5.2/support/shlib-install 2008-03-20 09:47:48.000000000 +0100
-@@ -144,7 +144,7 @@
- fi
- ;;
-
--solaris2*|aix4.[2-9]*|aix[5-9].*|osf*|irix[56]*|sysv[45]*|dgux*|interix*)
-+solaris2*|osf*|irix[56]*|sysv[45]*|dgux*|interix*)
- # libname.so -> libname.so.M
- ${echo} ${RM} ${INSTALLDIR}/$LINK1
- if [ -z "$uninstall" ]; then
-diff -ru readline-5.2.orig/support/shobj-conf readline-5.2/support/shobj-conf
---- readline-5.2.orig/support/shobj-conf 2008-03-20 09:47:38.000000000 +0100
-+++ readline-5.2/support/shobj-conf 2008-03-20 09:56:29.000000000 +0100
-@@ -249,24 +249,26 @@
-
- aix4.[2-9]*-*gcc*|aix[5-9].*-*gcc*) # lightly tested by jik@cisco.com
- SHOBJ_CFLAGS=-fpic
-- SHOBJ_LD='ld'
-- SHOBJ_LDFLAGS='-bdynamic -bnoentry -bexpall'
-- SHOBJ_XLDFLAGS='-G'
-+ SHOBJ_LD='$(CC)'
-+ SHOBJ_LDFLAGS='-shared -Wl,-G -Wl,-bdynamic -Wl,-bexpall'
-
-- SHLIB_XLDFLAGS='-bM:SRE'
-+ SHLIB_XLDFLAGS='-Wl,-blibpath:${libdir}:/usr/lib:lib'
- SHLIB_LIBS='-lcurses -lc'
- SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)'
-+
-+ SHLIB_STATUS='aixdll'
- ;;
-
- aix4.[2-9]*|aix[5-9].*)
- SHOBJ_CFLAGS=-K
- SHOBJ_LD='ld'
-- SHOBJ_LDFLAGS='-bdynamic -bnoentry -bexpall'
-- SHOBJ_XLDFLAGS='-G'
-+ SHOBJ_LDFLAGS='-G -bdynamic -bexpall'
-
-- SHLIB_XLDFLAGS='-bM:SRE'
-+ SHLIB_XLDFLAGS='-blibpath:${libdir}:/usr/lib:lib'
- SHLIB_LIBS='-lcurses -lc'
- SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)'
-+
-+ SHLIB_STATUS='aixdll'
- ;;
-
- #
diff --git a/sys-libs/readline/files/readline-5.2-interix.patch b/sys-libs/readline/files/readline-5.2-interix.patch
deleted file mode 100644
index a06eb68a97..0000000000
--- a/sys-libs/readline/files/readline-5.2-interix.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-reported upstream: http://lists.gnu.org/archive/html/bug-readline/2011-05/msg00005.html
-
-diff -ru -x config* readline-5.2.orig/examples/rlfe/os.h readline-5.2/examples/rlfe/os.h
---- readline-5.2.orig/examples/rlfe/os.h Mon Jan 21 08:04:30 2008
-+++ readline-5.2/examples/rlfe/os.h Mon Jan 21 08:20:21 2008
-@@ -208,7 +208,9 @@
- # include <cytermio.h>
- # endif
- # else /* TERMIO */
--# include <sgtty.h>
-+# ifndef __INTERIX
-+# include <sgtty.h>
-+# endif
- # endif /* TERMIO */
- #endif /* POSIX */
-
-diff -ru -x config* readline-5.2.orig/examples/rlfe/rlfe.c readline-5.2/examples/rlfe/rlfe.c
---- readline-5.2.orig/examples/rlfe/rlfe.c Mon Jan 21 08:04:30 2008
-+++ readline-5.2/examples/rlfe/rlfe.c Mon Jan 21 08:14:45 2008
-@@ -77,6 +77,10 @@
-
- #include <sys/wait.h>
-
-+#ifdef __INTERIX
-+# include <sys/select.h>
-+#endif
-+
- #ifdef READLINE_LIBRARY
- # include "readline.h"
- # include "history.h"
-@@ -545,7 +549,14 @@
- #endif
-
- t.c_lflag &= ~(ICANON | ISIG | ECHO | ECHOCTL | ECHOE | \
-- ECHOK | ECHOKE | ECHONL | ECHOPRT );
-+ ECHOK | ECHONL
-+#ifdef ECHOKE
-+ | ECHOKE
-+#endif
-+#ifdef ECHOPRT
-+ | ECHOPRT
-+#endif
-+ );
- t.c_iflag &= ~ICRNL;
- t.c_iflag |= IGNBRK;
- t.c_cc[VMIN] = 1;
diff --git a/sys-libs/readline/files/readline-5.2-mint.patch b/sys-libs/readline/files/readline-5.2-mint.patch
deleted file mode 100644
index b24e2db377..0000000000
--- a/sys-libs/readline/files/readline-5.2-mint.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-Patch by Alan Hourihane for FreeMiNT
-http://archives.gentoo.org/gentoo-alt/msg_c989ade3c4f92f866fe1c40ff2da0c4a.xml
-
-diff -ur readline-5.2/examples/rlfe/rlfe.c readline-5.2-mint/examples/rlfe/rlfe.c
---- readline-5.2/examples/rlfe/rlfe.c 2008-03-11 19:23:25.800436592 +0000
-+++ readline-5.2-mint/examples/rlfe/rlfe.c 2008-03-11 19:23:38.877438387 +0000
-@@ -541,6 +541,13 @@
- add_special_char(t.c_cc[VDISCARD]);
- #endif
-
-+#ifndef ECHOKE
-+#define ECHOKE 0
-+#endif
-+#ifndef ECHOPRT
-+#define ECHOPRT 0
-+#endif
-+
- t.c_lflag &= ~(ICANON | ISIG | ECHO | ECHOCTL | ECHOE | \
- ECHOK | ECHOKE | ECHONL | ECHOPRT );
- t.c_iflag &= ~ICRNL;
-Only in readline-5.2: readline-5.2-mint.patch
-diff -ur readline-5.2/support/shobj-conf readline-5.2-mint/support/shobj-conf
---- readline-5.2/support/shobj-conf 2006-04-11 14:15:43.000000000 +0100
-+++ readline-5.2-mint/support/shobj-conf 2008-03-11 17:34:33.588499957 +0000
-@@ -487,6 +487,11 @@
- SHLIB_STATUS=unsupported
- ;;
-
-+mint*)
-+ SHOBJ_STATUS=unsupported
-+ SHLIB_STATUS=unsupported
-+ ;;
-+
- cygwin*)
- SHOBJ_LD='$(CC)'
- SHOBJ_LDFLAGS='-shared -Wl,--enable-auto-import -Wl,--enable-auto-image-base -Wl,--export-all -Wl,--out-implib=$(@).a'
-diff -ur readline-5.2/terminal.c readline-5.2-mint/terminal.c
---- readline-5.2/terminal.c 2006-09-28 15:11:10.000000000 +0100
-+++ readline-5.2-mint/terminal.c 2008-03-11 17:34:53.147437815 +0000
-@@ -641,7 +641,7 @@
- int
- rl_crlf ()
- {
--#if defined (NEW_TTY_DRIVER)
-+#if defined (NEW_TTY_DRIVER) || defined(__MINT__)
- if (_rl_term_cr)
- tputs (_rl_term_cr, 1, _rl_output_character_function);
- #endif /* NEW_TTY_DRIVER */
diff --git a/sys-libs/readline/files/readline-5.2-no-ignore-shlib-errors.patch b/sys-libs/readline/files/readline-5.2-no-ignore-shlib-errors.patch
deleted file mode 100644
index fc63491131..0000000000
--- a/sys-libs/readline/files/readline-5.2-no-ignore-shlib-errors.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-dont ignore errors in the shlib subdir
-
-http://bugs.gentoo.org/216952
-
---- Makefile.in
-+++ Makefile.in
-@@ -194,7 +194,7 @@
-
- shared: force
- -test -d shlib || mkdir shlib
-- -( cd shlib ; ${MAKE} ${MFLAGS} all )
-+ ( cd shlib ; ${MAKE} ${MFLAGS} all )
-
- documentation: force
- -test -d doc || mkdir doc
-@@ -238,7 +238,7 @@
- -( cd shlib; ${MAKE} ${MFLAGS} DESTDIR=${DESTDIR} uninstall )
-
- install-shared: installdirs install-headers shared install-doc
-- -( cd shlib ; ${MAKE} ${MFLAGS} DESTDIR=${DESTDIR} install )
-+ ( cd shlib ; ${MAKE} ${MFLAGS} DESTDIR=${DESTDIR} install )
-
- uninstall-shared: maybe-uninstall-headers
- -( cd shlib; ${MAKE} ${MFLAGS} DESTDIR=${DESTDIR} uninstall )
diff --git a/sys-libs/readline/files/readline-5.2-solaris-fPIC.patch b/sys-libs/readline/files/readline-5.2-solaris-fPIC.patch
deleted file mode 100644
index dd3aa5a6cc..0000000000
--- a/sys-libs/readline/files/readline-5.2-solaris-fPIC.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-* when using -fpic, the .got section must fit into 4K, which on Solaris
- it doesn't ("relocation truncated to fit: R_SPARC_GOT13")
-* http://lists.gnu.org/archive/html/bug-readline/2008-04/msg00000.html
-
---- support/shobj-conf
-+++ support/shobj-conf
-@@ -80,15 +80,17 @@
- ;;
-
- sunos5*-*gcc*|solaris2*-*gcc*)
-- SHOBJ_CFLAGS=-fpic
- SHOBJ_LD='${CC}'
- ld_used=`gcc -print-prog-name=ld`
- if ${ld_used} -V 2>&1 | grep GNU >/dev/null 2>&1; then
- # This line works for the GNU ld
- SHOBJ_LDFLAGS='-shared -Wl,-h,$@'
-+ # http://sourceware.org/ml/binutils/2001-08/msg00361.html
-+ SHOBJ_CFLAGS=-fPIC
- else
- # This line works for the Solaris linker in /usr/ccs/bin/ld
- SHOBJ_LDFLAGS='-shared -Wl,-i -Wl,-h,$@'
-+ SHOBJ_CFLAGS=-fpic
- fi
-
- # SHLIB_XLDFLAGS='-R $(libdir)'
diff --git a/sys-libs/readline/files/readline-6.1-darwin-shlib-versioning.patch b/sys-libs/readline/files/readline-6.1-darwin-shlib-versioning.patch
deleted file mode 100644
index ababffa6fe..0000000000
--- a/sys-libs/readline/files/readline-6.1-darwin-shlib-versioning.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-- drop forcing MACOSX_DEPLOYMENT_TARGET
-- no reason to call the compiler with -v
-- build an installname like libreadline.6.dylib iso
- libreadline.6.1.dylib, like on Linux, so we don't have to rebuild half
- of our system every time readline gets a bump
-
---- support/shobj-conf
-+++ support/shobj-conf
-@@ -163,13 +163,13 @@
-
- SHOBJ_CFLAGS='-fno-common'
-
-- SHOBJ_LD='MACOSX_DEPLOYMENT_TARGET=10.3 ${CC}'
-+ SHOBJ_LD='${CC}'
-
- SHLIB_LIBVERSION='$(SHLIB_MAJOR)$(SHLIB_MINOR).$(SHLIB_LIBSUFF)'
- SHLIB_LIBSUFF='dylib'
-
- SHOBJ_LDFLAGS='-dynamiclib -dynamic -undefined dynamic_lookup -arch_only `/usr/bin/arch`'
-- SHLIB_XLDFLAGS='-dynamiclib -arch_only `/usr/bin/arch` -install_name $(libdir)/$@ -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR) -v'
-+ SHLIB_XLDFLAGS='-dynamiclib -arch_only `/usr/bin/arch` -install_name $(libdir)/`basename $@ $(SHLIB_MINOR)$(SHLIB_DOT)$(SHLIB_LIBSUFF)`$(SHLIB_DOT)$(SHLIB_LIBSUFF) -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR)'
-
- SHLIB_LIBS='-lncurses' # see if -lcurses works on MacOS X 10.1
- ;;
diff --git a/sys-libs/readline/files/readline-6.2-libtool.patch b/sys-libs/readline/files/readline-6.2-libtool.patch
deleted file mode 100644
index aa052c1ae0..0000000000
--- a/sys-libs/readline/files/readline-6.2-libtool.patch
+++ /dev/null
@@ -1,686 +0,0 @@
---- shlib/Makefile.in.orig 2014-04-15 11:05:22 +0200
-+++ shlib/Makefile.in 2014-04-15 11:43:33 +0200
-@@ -78,14 +78,14 @@
- # changes to bash-maintainers@gnu.org.
- #
- SHOBJ_CC = @SHOBJ_CC@
--SHOBJ_CFLAGS = @SHOBJ_CFLAGS@
--SHOBJ_LD = @SHOBJ_LD@
-+SHOBJ_CFLAGS_shared = @SHOBJ_CFLAGS@
-+SHOBJ_LD_shared = @SHOBJ_LD@
-
--SHOBJ_LDFLAGS = @SHOBJ_LDFLAGS@
--SHOBJ_XLDFLAGS = @SHOBJ_XLDFLAGS@
-+SHOBJ_LDFLAGS_shared = @SHOBJ_LDFLAGS@
-+SHOBJ_XLDFLAGS_shared = @SHOBJ_XLDFLAGS@
- SHOBJ_LIBS = @SHOBJ_LIBS@
-
--SHLIB_XLDFLAGS = @LDFLAGS@ @SHLIB_XLDFLAGS@
-+SHLIB_XLDFLAGS_shared = @SHLIB_XLDFLAGS@
- SHLIB_LIBS = @SHLIB_LIBS@
-
- SHLIB_DOT = @SHLIB_DOT@
-@@ -95,7 +95,7 @@
- SHLIB_LIBVERSION = @SHLIB_LIBVERSION@
- SHLIB_DLLVERSION = @SHLIB_DLLVERSION@
-
--SHLIB_STATUS = @SHLIB_STATUS@
-+SHLIB_STATUS_shared = @SHLIB_STATUS@
-
- TERMCAP_LIB = @TERMCAP_LIB@
-
-@@ -109,13 +109,52 @@
-
- CCFLAGS = $(DEFS) $(LOCAL_DEFS) $(CPPFLAGS) $(INCLUDES) $(LOCAL_CFLAGS) $(CFLAGS)
-
--.SUFFIXES: .so
-+SHARED_TARGET = @SHARED_TARGET@ # using libtool when empty
-+
-+SHLIB_STATUS_ = libtool
-+SHLIB_STATUS = $(SHLIB_STATUS_$(SHARED_TARGET))
-+
-+SO_shared = so
-+SO_ = lo # use libtool when SHARED_TARGET is empty
-+SO = $(SO_$(SHARED_TARGET))
-+
-+LIBTOOL_ = libtool
-+LIBTOOL = $(LIBTOOL_$(SHARED_TARGET))
-+
-+LTTAG_CC_ = --tag=CC
-+LTCLEAN_ = $(LIBTOOL) --mode=clean
-+LTCOMPILE_ = $(LIBTOOL) --mode=compile
-+LTINSTALL_ = $(LIBTOOL) --mode=install
-+LTLINK_ = $(LIBTOOL) --mode=link
-+LTUNINSTALL_ = $(LIBTOOL) --mode=uninstall
-+
-+SHOBJ_CFLAGS_ =
-+SHOBJ_LD_ = $(SHOBJ_CC)
-+SHOBJ_LDFLAGS_ = -shared -version-info `echo $(SHLIB_MAJOR)$(SHLIB_MINOR) | sed -e 's/\./:/g'`
-+SHLIB_XLDFLAGS_ = -rpath $(libdir)
-+
-+LTTAG_CC = $(LTTAG_CC_$(SHARED_TARGET))
-+LTCLEAN = $(LTCLEAN_$(SHARED_TARGET))
-+LTCOMPILE = $(LTCOMPILE_$(SHARED_TARGET))
-+LTINSTALL = $(LTINSTALL_$(SHARED_TARGET))
-+LTLINK = $(LTLINK_$(SHARED_TARGET))
-+LTUNINSTALL = $(LTUNINSTALL_$(SHARED_TARGET))
-+
-+SHOBJ_CFLAGS = $(SHOBJ_CFLAGS_$(SHARED_TARGET))
-+SHOBJ_LD = $(SHOBJ_LD_$(SHARED_TARGET))
-+SHOBJ_LDFLAGS = $(SHOBJ_LDFLAGS_$(SHARED_TARGET))
-+SHLIB_XLDFLAGS = $(LDFLAGS) $(SHLIB_XLDFLAGS_$(SHARED_TARGET))
-+
-+.SUFFIXES: .so .lo
-
- .c.so:
- ${RM} $@
- $(SHOBJ_CC) -c $(CCFLAGS) $(SHOBJ_CFLAGS) -o $*.o $<
- $(MV) $*.o $@
-
-+.c.lo:
-+ $(LTCOMPILE) $(LTTAG_CC) $(SHOBJ_CC) -c $(CCFLAGS) $(SHOBJ_CFLAGS) -o $*.lo $<
-+
- # The name of the main library target.
-
- SHARED_READLINE = $(SHLIB_LIBPREF)readline$(SHLIB_DOT)$(SHLIB_LIBVERSION)
-@@ -141,14 +180,14 @@
- posixstat.h posixdir.h posixjmp.h tilde.h rlconf.h rltty.h \
- ansi_stdlib.h tcap.h xmalloc.h rlprivate.h rlshell.h rlmbutil.h
-
--SHARED_HISTOBJ = history.so histexpand.so histfile.so histsearch.so shell.so \
-- mbutil.so
--SHARED_TILDEOBJ = tilde.so
--SHARED_OBJ = readline.so vi_mode.so funmap.so keymaps.so parens.so search.so \
-- rltty.so complete.so bind.so isearch.so display.so signals.so \
-- util.so kill.so undo.so macro.so input.so callback.so terminal.so \
-- text.so nls.so misc.so xmalloc.so xfree.so $(SHARED_HISTOBJ) $(SHARED_TILDEOBJ) \
-- compat.so
-+SHARED_HISTOBJ = history.$(SO) histexpand.$(SO) histfile.$(SO) histsearch.$(SO) shell.$(SO) \
-+ mbutil.$(SO)
-+SHARED_TILDEOBJ = tilde.$(SO)
-+SHARED_OBJ = readline.$(SO) vi_mode.$(SO) funmap.$(SO) keymaps.$(SO) parens.$(SO) search.$(SO) \
-+ rltty.$(SO) complete.$(SO) bind.$(SO) isearch.$(SO) display.$(SO) signals.$(SO) \
-+ util.$(SO) kill.$(SO) undo.$(SO) macro.$(SO) input.$(SO) callback.$(SO) terminal.$(SO) \
-+ text.$(SO) nls.$(SO) misc.$(SO) xmalloc.$(SO) xfree.$(SO) $(SHARED_HISTOBJ) $(SHARED_TILDEOBJ) \
-+ compat.$(SO)
-
- ##########################################################################
-
-@@ -156,6 +195,8 @@
-
- supported: $(SHARED_LIBS)
-
-+libtool: libreadline.la libhistory.la
-+
- unsupported:
- @echo "Your system and compiler (${host_os}-${CC}) are not supported by the"
- @echo "${topdir}/support/shobj-conf script."
-@@ -164,13 +205,15 @@
- @echo "Please send the changes you made to bash-maintainers@gnu.org"
- @echo "for inclusion in future bash and readline releases."
-
-+libreadline.la \
- $(SHARED_READLINE): $(SHARED_OBJ)
-- $(RM) $@
-- $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_OBJ) $(SHLIB_LIBS)
-+ $(LTCLEAN) $(RM) $@
-+ $(LTLINK) $(LTTAG_CC) $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_OBJ) $(SHLIB_LIBS)
-
--$(SHARED_HISTORY): $(SHARED_HISTOBJ) xmalloc.so xfree.so
-- $(RM) $@
-- $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_HISTOBJ) xmalloc.so xfree.so $(SHLIB_LIBS)
-+libhistory.la \
-+$(SHARED_HISTORY): $(SHARED_HISTOBJ) xmalloc.$(SO) xfree.$(SO)
-+ $(LTCLEAN) $(RM) $@
-+ $(LTLINK) $(LTTAG_CC) $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_HISTOBJ) xmalloc.$(SO) xfree.$(SO) $(SHLIB_LIBS)
-
- # Since tilde.c is shared between readline and bash, make sure we compile
- # it with the right flags when it's built as part of readline
-@@ -179,22 +222,43 @@
- $(SHOBJ_CC) -c $(CCFLAGS) $(SHOBJ_CFLAGS) -DREADLINE_LIBRARY -c -o tilde.o $(topdir)/tilde.c
- $(MV) tilde.o $@
-
-+tilde.lo: tilde.c
-+ $(LTCOMPILE) $(LTTAG_CC) $(SHOBJ_CC) -c $(CCFLAGS) $(SHOBJ_CFLAGS) -DREADLINE_LIBRARY -c -o tilde.lo $(topdir)/tilde.c
-+
- installdirs: $(topdir)/support/mkdirs
- -$(SHELL) $(topdir)/support/mkdirs $(DESTDIR)$(libdir)
- -$(SHELL) $(topdir)/support/mkdirs $(DESTDIR)$(bindir)
-
--install: installdirs $(SHLIB_STATUS)
-+install: install-$(SHLIB_STATUS)
-+
-+install-supported: installdirs $(SHLIB_STATUS)
- $(SHELL) $(topdir)/support/shlib-install -O $(host_os) -V $(host_vendor) -d $(DESTDIR)$(libdir) -b $(DESTDIR)$(bindir) -i "$(INSTALL_DATA)" $(SHARED_HISTORY)
- $(SHELL) $(topdir)/support/shlib-install -O $(host_os) -V $(host_vendor) -d $(DESTDIR)$(libdir) -b $(DESTDIR)$(bindir) -i "$(INSTALL_DATA)" $(SHARED_READLINE)
- @echo install: you may need to run ldconfig
-
--uninstall:
-+install-libtool: installdirs $(SHLIB_STATUS)
-+ $(LTINSTALL) $(INSTALL_DATA) libhistory.la $(DESTDIR)$(libdir)
-+ $(LTINSTALL) $(INSTALL_DATA) libreadline.la $(DESTDIR)$(libdir)
-+
-+install-unsupported:
-+ @echo install: shared libraries not supported
-+
-+uninstall: uninstall-$(SHLIB_STATUS)
-+
-+uninstall-supported:
- $(SHELL) $(topdir)/support/shlib-install -O $(host_os) -V $(host_vendor) -d $(DESTDIR)$(libdir) -b $(DESTDIR)$(bindir) -U $(SHARED_HISTORY)
- $(SHELL) $(topdir)/support/shlib-install -O $(host_os) -V $(host_vendor) -d $(DESTDIR)$(libdir) -b $(DESTDIR)$(bindir) -U $(SHARED_READLINE)
- @echo uninstall: you may need to run ldconfig
-
-+uninstall-libtool:
-+ $(LTUNINSTALL) $(RM) $(DESTDIR)$(libdir)/libhistory.la
-+ $(LTUNINSTALL) $(RM) $(DESTDIR)$(libdir)/libreadline.la
-+
-+uninstall-unsupported:
-+ @echo uninstall: shared libraries not supported
-+
- clean mostlyclean: force
-- $(RM) $(SHARED_OBJ) $(SHARED_LIBS)
-+ $(LTCLEAN) $(RM) $(SHARED_OBJ) $(SHARED_LIBS) libreadline.la libhistory.la
-
- distclean maintainer-clean: clean
- $(RM) Makefile
-@@ -206,178 +270,178 @@
- .NOEXPORT:
-
- # Dependencies
--bind.so: $(topdir)/ansi_stdlib.h $(topdir)/posixstat.h
--bind.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
--bind.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
--bind.so: $(topdir)/rltypedefs.h
--bind.so: $(topdir)/tilde.h $(topdir)/history.h
--compat.so: $(topdir)/rlstdc.h
--callback.so: $(topdir)/rlconf.h
--callback.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h
--callback.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
--callback.so: $(topdir)/rltypedefs.h
--callback.so: $(topdir)/tilde.h
--complete.so: $(topdir)/ansi_stdlib.h posixdir.h $(topdir)/posixstat.h
--complete.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
--complete.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
--complete.so: $(topdir)/rltypedefs.h
--complete.so: $(topdir)/tilde.h
--display.so: $(topdir)/ansi_stdlib.h $(topdir)/posixstat.h
--display.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
--display.so: $(topdir)/tcap.h
--display.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
--display.so: $(topdir)/rltypedefs.h
--display.so: $(topdir)/tilde.h $(topdir)/history.h
--funmap.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
--funmap.so: $(topdir)/rltypedefs.h
--funmap.so: $(topdir)/rlconf.h $(topdir)/ansi_stdlib.h
--funmap.so: ${BUILD_DIR}/config.h $(topdir)/tilde.h
--histexpand.so: $(topdir)/ansi_stdlib.h
--histexpand.so: $(topdir)/history.h $(topdir)/histlib.h $(topdir)/rltypedefs.h
--histexpand.so: ${BUILD_DIR}/config.h
--histfile.so: $(topdir)/ansi_stdlib.h
--histfile.so: $(topdir)/history.h $(topdir)/histlib.h $(topdir)/rltypedefs.h
--histfile.so: ${BUILD_DIR}/config.h
--history.so: $(topdir)/ansi_stdlib.h
--history.so: $(topdir)/history.h $(topdir)/histlib.h $(topdir)/rltypedefs.h
--history.so: ${BUILD_DIR}/config.h
--histsearch.so: $(topdir)/ansi_stdlib.h
--histsearch.so: $(topdir)/history.h $(topdir)/histlib.h $(topdir)/rltypedefs.h
--histsearch.so: ${BUILD_DIR}/config.h
--input.so: $(topdir)/ansi_stdlib.h
--input.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
--input.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
--input.so: $(topdir)/rltypedefs.h
--input.so: $(topdir)/tilde.h
--isearch.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
--isearch.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
--isearch.so: $(topdir)/rltypedefs.h
--isearch.so: $(topdir)/ansi_stdlib.h $(topdir)/history.h $(topdir)/tilde.h
--keymaps.so: emacs_keymap.c vi_keymap.c
--keymaps.so: $(topdir)/keymaps.h $(topdir)/chardefs.h $(topdir)/rlconf.h
--keymaps.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
--keymaps.so: $(topdir)/rltypedefs.h
--keymaps.so: ${BUILD_DIR}/config.h $(topdir)/ansi_stdlib.h $(topdir)/tilde.h
--kill.so: $(topdir)/ansi_stdlib.h
--kill.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
--kill.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
--kill.so: $(topdir)/tilde.h $(topdir)/history.h $(topdir)/rltypedefs.h
--macro.so: $(topdir)/ansi_stdlib.h
--macro.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
--macro.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
--macro.so: $(topdir)/tilde.h $(topdir)/history.h $(topdir)/rltypedefs.h
--mbutil.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
--mbutil.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/rltypedefs.h
--mbutil.so: $(topdir)/chardefs.h $(topdir)/rlstdc.h
--misc.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
--misc.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
--misc.so: $(topdir)/rltypedefs.h
--misc.so: $(topdir)/history.h $(topdir)/tilde.h $(topdir)/ansi_stdlib.h
--nls.so: $(topdir)/ansi_stdlib.h
--nls.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
-+bind.$(SO): $(topdir)/ansi_stdlib.h $(topdir)/posixstat.h
-+bind.$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
-+bind.$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
-+bind.$(SO): $(topdir)/rltypedefs.h
-+bind.$(SO): $(topdir)/tilde.h $(topdir)/history.h
-+compat.$(SO): $(topdir)/rlstdc.h
-+callback.$(SO): $(topdir)/rlconf.h
-+callback.$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h
-+callback.$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
-+callback.$(SO): $(topdir)/rltypedefs.h
-+callback.$(SO): $(topdir)/tilde.h
-+complete.$(SO): $(topdir)/ansi_stdlib.h posixdir.h $(topdir)/posixstat.h
-+complete.$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
-+complete.$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
-+complete.$(SO): $(topdir)/rltypedefs.h
-+complete.$(SO): $(topdir)/tilde.h
-+display.$(SO): $(topdir)/ansi_stdlib.h $(topdir)/posixstat.h
-+display.$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
-+display.$(SO): $(topdir)/tcap.h
-+display.$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
-+display.$(SO): $(topdir)/rltypedefs.h
-+display.$(SO): $(topdir)/tilde.h $(topdir)/history.h
-+funmap.$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
-+funmap.$(SO): $(topdir)/rltypedefs.h
-+funmap.$(SO): $(topdir)/rlconf.h $(topdir)/ansi_stdlib.h
-+funmap.$(SO): ${BUILD_DIR}/config.h $(topdir)/tilde.h
-+histexpand.$(SO): $(topdir)/ansi_stdlib.h
-+histexpand.$(SO): $(topdir)/history.h $(topdir)/histlib.h $(topdir)/rltypedefs.h
-+histexpand.$(SO): ${BUILD_DIR}/config.h
-+histfile.$(SO): $(topdir)/ansi_stdlib.h
-+histfile.$(SO): $(topdir)/history.h $(topdir)/histlib.h $(topdir)/rltypedefs.h
-+histfile.$(SO): ${BUILD_DIR}/config.h
-+history.$(SO): $(topdir)/ansi_stdlib.h
-+history.$(SO): $(topdir)/history.h $(topdir)/histlib.h $(topdir)/rltypedefs.h
-+history.$(SO): ${BUILD_DIR}/config.h
-+histsearch.$(SO): $(topdir)/ansi_stdlib.h
-+histsearch.$(SO): $(topdir)/history.h $(topdir)/histlib.h $(topdir)/rltypedefs.h
-+histsearch.$(SO): ${BUILD_DIR}/config.h
-+input.$(SO): $(topdir)/ansi_stdlib.h
-+input.$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
-+input.$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
-+input.$(SO): $(topdir)/rltypedefs.h
-+input.$(SO): $(topdir)/tilde.h
-+isearch.$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
-+isearch.$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
-+isearch.$(SO): $(topdir)/rltypedefs.h
-+isearch.$(SO): $(topdir)/ansi_stdlib.h $(topdir)/history.h $(topdir)/tilde.h
-+keymaps.$(SO): emacs_keymap.c vi_keymap.c
-+keymaps.$(SO): $(topdir)/keymaps.h $(topdir)/chardefs.h $(topdir)/rlconf.h
-+keymaps.$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
-+keymaps.$(SO): $(topdir)/rltypedefs.h
-+keymaps.$(SO): ${BUILD_DIR}/config.h $(topdir)/ansi_stdlib.h $(topdir)/tilde.h
-+kill.$(SO): $(topdir)/ansi_stdlib.h
-+kill.$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
-+kill.$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
-+kill.$(SO): $(topdir)/tilde.h $(topdir)/history.h $(topdir)/rltypedefs.h
-+macro.$(SO): $(topdir)/ansi_stdlib.h
-+macro.$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
-+macro.$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
-+macro.$(SO): $(topdir)/tilde.h $(topdir)/history.h $(topdir)/rltypedefs.h
-+mbutil.$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
-+mbutil.$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/rltypedefs.h
-+mbutil.$(SO): $(topdir)/chardefs.h $(topdir)/rlstdc.h
-+misc.$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
-+misc.$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
-+misc.$(SO): $(topdir)/rltypedefs.h
-+misc.$(SO): $(topdir)/history.h $(topdir)/tilde.h $(topdir)/ansi_stdlib.h
-+nls.$(SO): $(topdir)/ansi_stdlib.h
-+nls.$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
- nls.o: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
- nls.o: $(topdir)/rltypedefs.h
- nls.o: $(topdir)/tilde.h $(topdir)/history.h $(topdir)/rlstdc.h
--parens.so: $(topdir)/rlconf.h ${BUILD_DIR}/config.h
--parens.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
--parens.so: $(topdir)/rltypedefs.h
--parens.so: $(topdir)/tilde.h
--rltty.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
--rltty.so: $(topdir)/rltty.h $(topdir)/tilde.h
--rltty.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
--rltty.so: $(topdir)/rltypedefs.h
--search.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
--search.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
--search.so: $(topdir)/ansi_stdlib.h $(topdir)/history.h $(topdir)/tilde.h
--search.so: $(topdir)/rltypedefs.h
--signals.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
--signals.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
--signals.so: $(topdir)/history.h $(topdir)/tilde.h
--signals.so: $(topdir)/rltypedefs.h
--terminal.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
--terminal.so: $(topdir)/tcap.h
--terminal.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
--terminal.so: $(topdir)/tilde.h $(topdir)/history.h
--terminal.so: $(topdir)/rltypedefs.h
--text.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
--text.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
--text.so: $(topdir)/rltypedefs.h
--text.so: $(topdir)/history.h $(topdir)/tilde.h $(topdir)/ansi_stdlib.h
--tilde.so: $(topdir)/ansi_stdlib.h ${BUILD_DIR}/config.h $(topdir)/tilde.h
--undo.so: $(topdir)/ansi_stdlib.h
--undo.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
--undo.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
--undo.so: $(topdir)/rltypedefs.h
--undo.so: $(topdir)/tilde.h $(topdir)/history.h
--util.so: $(topdir)/posixjmp.h $(topdir)/ansi_stdlib.h
--util.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
--util.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
--util.so: $(topdir)/rltypedefs.h $(topdir)/tilde.h
--vi_mode.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
--vi_mode.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
--vi_mode.so: $(topdir)/history.h $(topdir)/ansi_stdlib.h $(topdir)/tilde.h
--vi_mode.so: $(topdir)/rltypedefs.h
--xfree.so: ${BUILD_DIR}/config.h
--xfree.so: $(topdir)/ansi_stdlib.h
--xmalloc.so: ${BUILD_DIR}/config.h
--xmalloc.so: $(topdir)/ansi_stdlib.h
--
--bind.so: $(topdir)/rlshell.h
--histfile.so: $(topdir)/rlshell.h
--nls.so: $(topdir)/rlshell.h
--readline.so: $(topdir)/rlshell.h
--shell.so: $(topdir)/rlshell.h
--terminal.so: $(topdir)/rlshell.h
--histexpand.so: $(topdir)/rlshell.h
--
--bind.so: $(topdir)/rlprivate.h
--callback.so: $(topdir)/rlprivate.h
--complete.so: $(topdir)/rlprivate.h
--display.so: $(topdir)/rlprivate.h
--input.so: $(topdir)/rlprivate.h
--isearch.so: $(topdir)/rlprivate.h
--kill.so: $(topdir)/rlprivate.h
--macro.so: $(topdir)/rlprivate.h
--mbutil.so: $(topdir)/rlprivate.h
--misc.so: $(topdir)/rlprivate.h
--nls.so: $(topdir)/rlprivate.h
--parens.so: $(topdir)/rlprivate.h
--readline.so: $(topdir)/rlprivate.h
--rltty.so: $(topdir)/rlprivate.h
--search.so: $(topdir)/rlprivate.h
--signals.so: $(topdir)/rlprivate.h
--terminal.so: $(topdir)/rlprivate.h
--text.so: $(topdir)/rlprivate.h
--undo.so: $(topdir)/rlprivate.h
--util.so: $(topdir)/rlprivate.h
--vi_mode.so: $(topdir)/rlprivate.h
--
--bind.so: $(topdir)/xmalloc.h
--complete.so: $(topdir)/xmalloc.h
--display.so: $(topdir)/xmalloc.h
--funmap.so: $(topdir)/xmalloc.h
--histexpand.so: $(topdir)/xmalloc.h
--histfile.so: $(topdir)/xmalloc.h
--history.so: $(topdir)/xmalloc.h
--input.so: $(topdir)/xmalloc.h
--isearch.so: $(topdir)/xmalloc.h
--keymaps.so: $(topdir)/xmalloc.h
--kill.so: $(topdir)/xmalloc.h
--macro.so: $(topdir)/xmalloc.h
--mbutil.so: $(topdir)/xmalloc.h
--misc.so: $(topdir)/xmalloc.h
--readline.so: $(topdir)/xmalloc.h
--savestring.so: $(topdir)/xmalloc.h
--search.so: $(topdir)/xmalloc.h
--shell.so: $(topdir)/xmalloc.h
--terminal.so: $(topdir)/xmalloc.h
--text.so: $(topdir)/xmalloc.h
--tilde.so: $(topdir)/xmalloc.h
--undo.so: $(topdir)/xmalloc.h
--util.so: $(topdir)/xmalloc.h
--vi_mode.so: $(topdir)/xmalloc.h
--xfree.so: $(topdir)/xmalloc.h
--xmalloc.so: $(topdir)/xmalloc.h
-+parens.$(SO): $(topdir)/rlconf.h ${BUILD_DIR}/config.h
-+parens.$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
-+parens.$(SO): $(topdir)/rltypedefs.h
-+parens.$(SO): $(topdir)/tilde.h
-+rltty.$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
-+rltty.$(SO): $(topdir)/rltty.h $(topdir)/tilde.h
-+rltty.$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
-+rltty.$(SO): $(topdir)/rltypedefs.h
-+search.$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
-+search.$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
-+search.$(SO): $(topdir)/ansi_stdlib.h $(topdir)/history.h $(topdir)/tilde.h
-+search.$(SO): $(topdir)/rltypedefs.h
-+signals.$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
-+signals.$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
-+signals.$(SO): $(topdir)/history.h $(topdir)/tilde.h
-+signals.$(SO): $(topdir)/rltypedefs.h
-+terminal.$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
-+terminal.$(SO): $(topdir)/tcap.h
-+terminal.$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
-+terminal.$(SO): $(topdir)/tilde.h $(topdir)/history.h
-+terminal.$(SO): $(topdir)/rltypedefs.h
-+text.$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
-+text.$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
-+text.$(SO): $(topdir)/rltypedefs.h
-+text.$(SO): $(topdir)/history.h $(topdir)/tilde.h $(topdir)/ansi_stdlib.h
-+tilde.$(SO): $(topdir)/ansi_stdlib.h ${BUILD_DIR}/config.h $(topdir)/tilde.h
-+undo.$(SO): $(topdir)/ansi_stdlib.h
-+undo.$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
-+undo.$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
-+undo.$(SO): $(topdir)/rltypedefs.h
-+undo.$(SO): $(topdir)/tilde.h $(topdir)/history.h
-+util.$(SO): $(topdir)/posixjmp.h $(topdir)/ansi_stdlib.h
-+util.$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
-+util.$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
-+util.$(SO): $(topdir)/rltypedefs.h $(topdir)/tilde.h
-+vi_mode.$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
-+vi_mode.$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
-+vi_mode.$(SO): $(topdir)/history.h $(topdir)/ansi_stdlib.h $(topdir)/tilde.h
-+vi_mode.$(SO): $(topdir)/rltypedefs.h
-+xfree.$(SO): ${BUILD_DIR}/config.h
-+xfree.$(SO): $(topdir)/ansi_stdlib.h
-+xmalloc.$(SO): ${BUILD_DIR}/config.h
-+xmalloc.$(SO): $(topdir)/ansi_stdlib.h
-+
-+bind.$(SO): $(topdir)/rlshell.h
-+histfile.$(SO): $(topdir)/rlshell.h
-+nls.$(SO): $(topdir)/rlshell.h
-+readline.$(SO): $(topdir)/rlshell.h
-+shell.$(SO): $(topdir)/rlshell.h
-+terminal.$(SO): $(topdir)/rlshell.h
-+histexpand.$(SO): $(topdir)/rlshell.h
-+
-+bind.$(SO): $(topdir)/rlprivate.h
-+callback.$(SO): $(topdir)/rlprivate.h
-+complete.$(SO): $(topdir)/rlprivate.h
-+display.$(SO): $(topdir)/rlprivate.h
-+input.$(SO): $(topdir)/rlprivate.h
-+isearch.$(SO): $(topdir)/rlprivate.h
-+kill.$(SO): $(topdir)/rlprivate.h
-+macro.$(SO): $(topdir)/rlprivate.h
-+mbutil.$(SO): $(topdir)/rlprivate.h
-+misc.$(SO): $(topdir)/rlprivate.h
-+nls.$(SO): $(topdir)/rlprivate.h
-+parens.$(SO): $(topdir)/rlprivate.h
-+readline.$(SO): $(topdir)/rlprivate.h
-+rltty.$(SO): $(topdir)/rlprivate.h
-+search.$(SO): $(topdir)/rlprivate.h
-+signals.$(SO): $(topdir)/rlprivate.h
-+terminal.$(SO): $(topdir)/rlprivate.h
-+text.$(SO): $(topdir)/rlprivate.h
-+undo.$(SO): $(topdir)/rlprivate.h
-+util.$(SO): $(topdir)/rlprivate.h
-+vi_mode.$(SO): $(topdir)/rlprivate.h
-+
-+bind.$(SO): $(topdir)/xmalloc.h
-+complete.$(SO): $(topdir)/xmalloc.h
-+display.$(SO): $(topdir)/xmalloc.h
-+funmap.$(SO): $(topdir)/xmalloc.h
-+histexpand.$(SO): $(topdir)/xmalloc.h
-+histfile.$(SO): $(topdir)/xmalloc.h
-+history.$(SO): $(topdir)/xmalloc.h
-+input.$(SO): $(topdir)/xmalloc.h
-+isearch.$(SO): $(topdir)/xmalloc.h
-+keymaps.$(SO): $(topdir)/xmalloc.h
-+kill.$(SO): $(topdir)/xmalloc.h
-+macro.$(SO): $(topdir)/xmalloc.h
-+mbutil.$(SO): $(topdir)/xmalloc.h
-+misc.$(SO): $(topdir)/xmalloc.h
-+readline.$(SO): $(topdir)/xmalloc.h
-+savestring.$(SO): $(topdir)/xmalloc.h
-+search.$(SO): $(topdir)/xmalloc.h
-+shell.$(SO): $(topdir)/xmalloc.h
-+terminal.$(SO): $(topdir)/xmalloc.h
-+text.$(SO): $(topdir)/xmalloc.h
-+tilde.$(SO): $(topdir)/xmalloc.h
-+undo.$(SO): $(topdir)/xmalloc.h
-+util.$(SO): $(topdir)/xmalloc.h
-+vi_mode.$(SO): $(topdir)/xmalloc.h
-+xfree.$(SO): $(topdir)/xmalloc.h
-+xmalloc.$(SO): $(topdir)/xmalloc.h
-
- complete.o: $(topdir)/rlmbutil.h
- display.o: $(topdir)/rlmbutil.h
-@@ -391,72 +455,72 @@
- text.o: $(topdir)/rlmbutil.h
- vi_mode.o: $(topdir)/rlmbutil.h
-
--bind.so: $(topdir)/bind.c
--callback.so: $(topdir)/callback.c
--compat.so: $(topdir)/compat.c
--complete.so: $(topdir)/complete.c
--display.so: $(topdir)/display.c
--funmap.so: $(topdir)/funmap.c
--input.so: $(topdir)/input.c
--isearch.so: $(topdir)/isearch.c
--keymaps.so: $(topdir)/keymaps.c $(topdir)/emacs_keymap.c $(topdir)/vi_keymap.c
--kill.so: $(topdir)/kill.c
--macro.so: $(topdir)/macro.c
--mbutil.so: $(topdir)/mbutil.c
--misc.so: $(topdir)/mbutil.c
--nls.so: $(topdir)/nls.c
--parens.so: $(topdir)/parens.c
--readline.so: $(topdir)/readline.c
--rltty.so: $(topdir)/rltty.c
--savestring.so: $(topdir)/savestring.c
--search.so: $(topdir)/search.c
--shell.so: $(topdir)/shell.c
--signals.so: $(topdir)/signals.c
--terminal.so: $(topdir)/terminal.c
--text.so: $(topdir)/text.c
--tilde.so: $(topdir)/tilde.c
--undo.so: $(topdir)/undo.c
--util.so: $(topdir)/util.c
--vi_mode.so: $(topdir)/vi_mode.c
--xfree.so: $(topdir)/xfree.c
--xmalloc.so: $(topdir)/xmalloc.c
--
--histexpand.so: $(topdir)/histexpand.c
--histfile.so: $(topdir)/histfile.c
--history.so: $(topdir)/history.c
--histsearch.so: $(topdir)/histsearch.c
--
--bind.so: bind.c
--callback.so: callback.c
--comapt.so: compat.c
--complete.so: complete.c
--display.so: display.c
--funmap.so: funmap.c
--input.so: input.c
--isearch.so: isearch.c
--keymaps.so: keymaps.c emacs_keymap.c vi_keymap.c
--kill.so: kill.c
--macro.so: macro.c
--mbutil.so: mbutil.c
--misc.so: misc.c
--nls.so: nls.c
--parens.so: parens.c
--readline.so: readline.c
--rltty.so: rltty.c
--savestring.so: savestring.c
--search.so: search.c
--signals.so: signals.c
--shell.so: shell.c
--terminal.so: terminal.c
--text.so: text.c
--tilde.so: tilde.c
--undo.so: undo.c
--util.so: util.c
--vi_mode.so: vi_mode.c
--xfree.so: xfree.c
--xmalloc.so: xmalloc.c
--
--histexpand.so: histexpand.c
--histfile.so: histfile.c
--history.so: history.c
--histsearch.so: histsearch.c
-+bind.$(SO): $(topdir)/bind.c
-+callback.$(SO): $(topdir)/callback.c
-+compat.$(SO): $(topdir)/compat.c
-+complete.$(SO): $(topdir)/complete.c
-+display.$(SO): $(topdir)/display.c
-+funmap.$(SO): $(topdir)/funmap.c
-+input.$(SO): $(topdir)/input.c
-+isearch.$(SO): $(topdir)/isearch.c
-+keymaps.$(SO): $(topdir)/keymaps.c $(topdir)/emacs_keymap.c $(topdir)/vi_keymap.c
-+kill.$(SO): $(topdir)/kill.c
-+macro.$(SO): $(topdir)/macro.c
-+mbutil.$(SO): $(topdir)/mbutil.c
-+misc.$(SO): $(topdir)/mbutil.c
-+nls.$(SO): $(topdir)/nls.c
-+parens.$(SO): $(topdir)/parens.c
-+readline.$(SO): $(topdir)/readline.c
-+rltty.$(SO): $(topdir)/rltty.c
-+savestring.$(SO): $(topdir)/savestring.c
-+search.$(SO): $(topdir)/search.c
-+shell.$(SO): $(topdir)/shell.c
-+signals.$(SO): $(topdir)/signals.c
-+terminal.$(SO): $(topdir)/terminal.c
-+text.$(SO): $(topdir)/text.c
-+tilde.$(SO): $(topdir)/tilde.c
-+undo.$(SO): $(topdir)/undo.c
-+util.$(SO): $(topdir)/util.c
-+vi_mode.$(SO): $(topdir)/vi_mode.c
-+xfree.$(SO): $(topdir)/xfree.c
-+xmalloc.$(SO): $(topdir)/xmalloc.c
-+
-+histexpand.$(SO): $(topdir)/histexpand.c
-+histfile.$(SO): $(topdir)/histfile.c
-+history.$(SO): $(topdir)/history.c
-+histsearch.$(SO): $(topdir)/histsearch.c
-+
-+bind.$(SO): bind.c
-+callback.$(SO): callback.c
-+comapt.$(SO): compat.c
-+complete.$(SO): complete.c
-+display.$(SO): display.c
-+funmap.$(SO): funmap.c
-+input.$(SO): input.c
-+isearch.$(SO): isearch.c
-+keymaps.$(SO): keymaps.c emacs_keymap.c vi_keymap.c
-+kill.$(SO): kill.c
-+macro.$(SO): macro.c
-+mbutil.$(SO): mbutil.c
-+misc.$(SO): misc.c
-+nls.$(SO): nls.c
-+parens.$(SO): parens.c
-+readline.$(SO): readline.c
-+rltty.$(SO): rltty.c
-+savestring.$(SO): savestring.c
-+search.$(SO): search.c
-+signals.$(SO): signals.c
-+shell.$(SO): shell.c
-+terminal.$(SO): terminal.c
-+text.$(SO): text.c
-+tilde.$(SO): tilde.c
-+undo.$(SO): undo.c
-+util.$(SO): util.c
-+vi_mode.$(SO): vi_mode.c
-+xfree.$(SO): xfree.c
-+xmalloc.$(SO): xmalloc.c
-+
-+histexpand.$(SO): histexpand.c
-+histfile.$(SO): histfile.c
-+history.$(SO): history.c
-+histsearch.$(SO): histsearch.c
---- examples/rlfe/Makefile.in.orig 2014-04-15 11:49:12 +0200
-+++ examples/rlfe/Makefile.in 2014-04-15 11:49:27 +0200
-@@ -49,7 +49,7 @@
- all: rlfe
-
- rlfe: $(OFILES)
-- $(CC) $(LDFLAGS) -o $@ $(OFILES) $(LIBS)
-+ $(LTLINK) $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OFILES) $(LIBS)
-
- rlfe-$(VERSION).tar.gz:
- tar czf $@ $(CFILES) $(HFILES) $(EXTRA_DIST)
diff --git a/sys-libs/readline/files/readline-6.3-read-eof.patch b/sys-libs/readline/files/readline-6.3-read-eof.patch
new file mode 100644
index 0000000000..f74aad63be
--- /dev/null
+++ b/sys-libs/readline/files/readline-6.3-read-eof.patch
@@ -0,0 +1,54 @@
+http://lists.gnu.org/archive/html/bug-bash/2014-12/msg00152.html
+
+*** ../bash-4.3-patched/lib/readline/readline.c 2014-10-01 13:08:28.000000000 -0400
+--- lib/readline/readline.c 2014-12-20 22:37:28.000000000 -0500
+***************
+*** 580,592 ****
+ }
+
+! /* EOF typed to a non-blank line is a <NL>. If we want to change this,
+! to force any existing line to be ignored when read(2) reads EOF,
+! for example, this is the place to change. */
+ if (c == EOF && rl_end)
+! c = NEWLINE;
+
+ /* The character _rl_eof_char typed to blank line, and not as the
+! previous character is interpreted as EOF. */
+! if (((c == _rl_eof_char && lastc != c) || c == EOF) && !rl_end)
+ {
+ #if defined (READLINE_CALLBACKS)
+--- 587,620 ----
+ }
+
+! /* EOF typed to a non-blank line is ^D the first time, EOF the second
+! time in a row. This won't return any partial line read from the tty.
+! If we want to change this, to force any existing line to be returned
+! when read(2) reads EOF, for example, this is the place to change. */
+ if (c == EOF && rl_end)
+! {
+! if (RL_SIG_RECEIVED ())
+! {
+! RL_CHECK_SIGNALS ();
+! if (rl_signal_event_hook)
+! (*rl_signal_event_hook) (); /* XXX */
+! }
+!
+! /* XXX - reading two consecutive EOFs returns EOF */
+! if (RL_ISSTATE (RL_STATE_TERMPREPPED))
+! {
+! if (lastc == _rl_eof_char || lastc == EOF)
+! rl_end = 0;
+! else
+! c = _rl_eof_char;
+! }
+! else
+! c = NEWLINE;
+! }
+
+ /* The character _rl_eof_char typed to blank line, and not as the
+! previous character is interpreted as EOF. This doesn't work when
+! READLINE_CALLBACKS is defined, so hitting a series of ^Ds will
+! erase all the chars on the line and then return EOF. */
+! if (((c == _rl_eof_char && lastc != c) || c == EOF) && rl_end == 0)
+ {
+ #if defined (READLINE_CALLBACKS)
diff --git a/sys-libs/readline/readline-5.2_p14.ebuild b/sys-libs/readline/readline-5.2_p14.ebuild
deleted file mode 100644
index b3695ca2d6..0000000000
--- a/sys-libs/readline/readline-5.2_p14.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/readline-5.2_p14.ebuild,v 1.2 2010/01/05 00:54:25 vapier Exp $
-
-# This version is just for the ABI .5 library
-
-inherit eutils multilib flag-o-matic
-
-# Official patches
-# See ftp://ftp.cwru.edu/pub/bash/readline-5.1-patches/
-PLEVEL=${PV##*_p}
-MY_PV=${PV/_p*}
-MY_P=${PN}-${MY_PV}
-[[ ${PV} != *_p* ]] && PLEVEL=0
-patches() {
- [[ ${PLEVEL} -eq 0 ]] && return 1
- local opt=$1
- eval set -- {1..${PLEVEL}}
- set -- $(printf "${PN}${MY_PV/\.}-%03d " "$@")
- if [[ ${opt} == -s ]] ; then
- echo "${@/#/${DISTDIR}/}"
- else
- local u
- for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${PN} ; do
- printf "${u}/${PN}-${MY_PV}-patches/%s " "$@"
- done
- fi
-}
-
-DESCRIPTION="Another cute console display library"
-HOMEPAGE="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html"
-SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz $(patches)"
-
-LICENSE="GPL-2"
-SLOT="${PV:0:1}"
-KEYWORDS="~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE=""
-
-RDEPEND=">=sys-libs/ncurses-5.2-r2"
-DEPEND="${RDEPEND}"
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- unpack ${MY_P}.tar.gz
- cd "${S}"
- [[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
- epatch "${FILESDIR}"/${PN}-5.0-no_rpath.patch
-
- # missing patch for 'support/shlib-install' in p12 (netbsd, aix5, interix).
- epatch "${FILESDIR}"/${PN}-5.2_p12-shlib-install.patch
- epatch "${FILESDIR}"/${PN}-5.2-interix.patch
- epatch "${FILESDIR}"/${PN}-5.2-ia64hpux.patch
- epatch "${FILESDIR}"/${PN}-5.2-aixdll.patch
- epatch "${FILESDIR}"/${PN}-5.2-mint.patch
- epatch "${FILESDIR}"/${PN}-5.2-solaris-fPIC.patch
-
- # force ncurses linking #71420
- sed -i -e 's:^SHLIB_LIBS=:SHLIB_LIBS=-lncurses:' support/shobj-conf || die "sed"
-}
-
-src_compile() {
- append-flags -D_GNU_SOURCE
-
- econf \
- --with-curses \
- --disable-static \
- --libdir="${EPREFIX}"/usr/$(get_libdir) \
- || die
- emake -C shlib || die
-}
-
-src_install() {
- emake -C shlib DESTDIR="${D}" install || die
- rm -f "${ED}"/usr/lib*/*$(get_libname)
-}
diff --git a/sys-libs/readline/readline-6.2_p1-r1.ebuild b/sys-libs/readline/readline-6.2_p1-r1.ebuild
deleted file mode 100644
index e6305e4847..0000000000
--- a/sys-libs/readline/readline-6.2_p1-r1.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/readline-6.2_p1-r1.ebuild,v 1.4 2012/04/30 01:36:43 vapier Exp $
-
-inherit eutils multilib toolchain-funcs flag-o-matic libtool
-
-# Official patches
-# See ftp://ftp.cwru.edu/pub/bash/readline-6.0-patches/
-PLEVEL=${PV##*_p}
-MY_PV=${PV/_p*}
-MY_PV=${MY_PV/_/-}
-MY_P=${PN}-${MY_PV}
-[[ ${PV} != *_p* ]] && PLEVEL=0
-patches() {
- [[ ${PLEVEL} -eq 0 ]] && return 1
- local opt=$1
- eval set -- {1..${PLEVEL}}
- set -- $(printf "${PN}${MY_PV/\.}-%03d " "$@")
- if [[ ${opt} == -s ]] ; then
- echo "${@/#/${DISTDIR}/}"
- else
- local u
- for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${PN} ; do
- printf "${u}/${PN}-${MY_PV}-patches/%s " "$@"
- done
- fi
-}
-
-DESCRIPTION="Another cute console display library"
-HOMEPAGE="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html"
-HOSTLTV="0.1.0"
-HOSTLT="host-libtool-${HOSTLTV}"
-HOSTLT_URI="http://github.com/haubi/host-libtool/releases/download/v${HOSTLTV}/${HOSTLT}.tar.gz"
-SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz $(patches) ${HOSTLT_URI}"
-HOSTLT_S=${WORKDIR}/${HOSTLT}
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="static-libs"
-
-RDEPEND=">=sys-libs/ncurses-5.2-r2"
-DEPEND="${RDEPEND}"
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- unpack ${HOSTLT}.tar.gz
- S="${HOSTLT_S}" elibtoolize
-
- unpack ${MY_P}.tar.gz
-
- cd "${S}"
- [[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
-
- epatch "${FILESDIR}"/${PN}-5.0-no_rpath.patch
- epatch "${FILESDIR}"/${PN}-5.2-no-ignore-shlib-errors.patch #216952
-
- epatch "${FILESDIR}"/${PN}-5.1-rlfe-extern.patch
- epatch "${FILESDIR}"/${PN}-5.2-rlfe-aix-eff_uid.patch
- epatch "${FILESDIR}"/${PN}-5.2-rlfe-hpux.patch
- epatch "${FILESDIR}"/${PN}-6.0-rlfe-solaris.patch
- epatch "${FILESDIR}"/${PN}-5.2-interix.patch
- epatch "${FILESDIR}"/${PN}-5.2-ia64hpux.patch
- epatch "${FILESDIR}"/${PN}-6.0-mint.patch
- epatch "${FILESDIR}"/${PN}-6.1-darwin-shlib-versioning.patch
- epatch "${FILESDIR}"/${PN}-6.2-libtool.patch
-
- # force ncurses linking #71420
- sed -i -e 's:^SHLIB_LIBS=:SHLIB_LIBS=-lncurses:' support/shobj-conf || die "sed"
-
- # fix building under Gentoo/FreeBSD; upstream FreeBSD deprecated
- # objformat for years, so we don't want to rely on that.
- sed -i -e '/objformat/s:if .*; then:if true; then:' support/shobj-conf || die
-
- # support OSX Lion, Mountain Lion and Mavericks
- sed -i -e 's/darwin10\*/darwin1\[0123\]\*/g' support/shobj-conf || die
-
- ln -s ../.. examples/rlfe/readline # for local readline headers
-}
-
-src_compile() {
- cd "${HOSTLT_S}" || die
- econf $(use_enable static-libs static)
- export PATH=${HOSTLT_S}:${PATH}
-
- cd "${S}"
- # fix implicit decls with widechar funcs
- append-cppflags -D_GNU_SOURCE
- # http://lists.gnu.org/archive/html/bug-readline/2010-07/msg00013.html
- append-cppflags -Dxrealloc=_rl_realloc -Dxmalloc=_rl_malloc -Dxfree=_rl_free
-
- # This is for rlfe, but we need to make sure LDFLAGS doesn't change
- # so we can re-use the config cache file between the two.
- export LDFLAGS="-L${S}/shlib ${LDFLAGS}" # search local dirs first
- econf \
- --cache-file="${S}"/config.cache \
- --with-curses \
- --disable-shared # use libtool instead
- emake shared || die
-
- if ! tc-is-cross-compiler ; then
- # code is full of AC_TRY_RUN()
- cd examples/rlfe
- econf --cache-file="${S}"/config.cache
- emake LTLINK='libtool --mode=link --tag=CC' || die
- fi
-}
-
-src_install() {
- export PATH=${HOSTLT_S}:${PATH}
-
- emake DESTDIR="${D}" install-shared || die
-
- if ! tc-is-cross-compiler; then
- libtool --mode=install install examples/rlfe/rlfe "${ED%/}${DESTTREE}"/bin || die
- fi
-
- # must come after installing rlfe, bug #455512
- gen_usr_ldscript -a readline history #4411
-
- dodoc CHANGELOG CHANGES README USAGE NEWS
- docinto ps
- dodoc doc/*.ps
- dohtml -r doc
-}
-
-pkg_preinst() {
- preserve_old_lib /$(get_libdir)/lib{history,readline}$(get_libname 4) #29865
- preserve_old_lib /$(get_libdir)/lib{history,readline}$(get_libname 5) #29865
-}
-
-pkg_postinst() {
- preserve_old_lib_notify /$(get_libdir)/lib{history,readline}$(get_libname 4)
- preserve_old_lib_notify /$(get_libdir)/lib{history,readline}$(get_libname 5)
-}
diff --git a/sys-libs/readline/readline-6.3_p8-r1.ebuild b/sys-libs/readline/readline-6.3_p8-r1.ebuild
deleted file mode 100644
index 5bd4fad69e..0000000000
--- a/sys-libs/readline/readline-6.3_p8-r1.ebuild
+++ /dev/null
@@ -1,196 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/readline-6.3_p8-r1.ebuild,v 1.2 2014/12/29 07:42:08 polynomial-c Exp $
-
-EAPI=4
-
-inherit eutils multilib toolchain-funcs flag-o-matic multilib-minimal libtool
-
-# Official patches
-# See ftp://ftp.cwru.edu/pub/bash/readline-6.3-patches/
-PLEVEL=${PV##*_p}
-MY_PV=${PV/_p*}
-MY_PV=${MY_PV/_/-}
-MY_P=${PN}-${MY_PV}
-[[ ${PV} != *_p* ]] && PLEVEL=0
-patches() {
- [[ ${PLEVEL} -eq 0 ]] && return 1
- local opt=$1
- eval set -- {1..${PLEVEL}}
- set -- $(printf "${PN}${MY_PV/\.}-%03d " "$@")
- if [[ ${opt} == -s ]] ; then
- echo "${@/#/${DISTDIR}/}"
- else
- local u
- for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${PN} ; do
- printf "${u}/${PN}-${MY_PV}-patches/%s " "$@"
- done
- fi
-}
-
-DESCRIPTION="Another cute console display library"
-HOMEPAGE="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html"
-HOSTLTV="0.1.0"
-HOSTLT="host-libtool-${HOSTLTV}"
-HOSTLT_URI="http://github.com/haubi/host-libtool/releases/download/v${HOSTLTV}/${HOSTLT}.tar.gz"
-SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz $(patches) ${HOSTLT_URI}"
-HOSTLT_S=${WORKDIR}/${HOSTLT}
-
-LICENSE="GPL-3"
-SLOT="0"
-
-# see bug 530890 before installing on OS X
-KEYWORDS="~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="static-libs"
-
-RDEPEND=">=sys-libs/ncurses-5.9-r3[${MULTILIB_USEDEP}]
- abi_x86_32? (
- !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
- !<=app-emulation/emul-linux-x86-baselibs-20131008-r7
- )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- unpack ${HOSTLT}.tar.gz
- S="${HOSTLT_S}" elibtoolize
- unpack ${MY_P}.tar.gz
-}
-
-src_prepare() {
- [[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
-
- epatch "${FILESDIR}"/${PN}-5.0-no_rpath.patch
- epatch "${FILESDIR}"/${PN}-5.1-rlfe-extern.patch
- epatch "${FILESDIR}"/${PN}-5.2-rlfe-aix-eff_uid.patch
- epatch "${FILESDIR}"/${PN}-5.2-rlfe-hpux.patch
- epatch "${FILESDIR}"/${PN}-5.2-ia64hpux.patch
- epatch "${FILESDIR}"/${PN}-6.0-mint.patch
- epatch "${FILESDIR}"/${PN}-6.0-rlfe-solaris.patch
- epatch "${FILESDIR}"/${PN}-6.1-aix-soname.patch
- epatch "${FILESDIR}"/${PN}-6.1-aix-expfull.patch
- epatch "${FILESDIR}"/${PN}-6.2-rlfe-tgoto.patch #385091
- epatch "${FILESDIR}"/${PN}-6.3-libtool.patch
- epatch "${FILESDIR}"/${PN}-6.3-interix.patch
- epatch "${FILESDIR}"/${PN}-6.3-darwin-shlib-versioning.patch
- epatch "${FILESDIR}"/${PN}-6.3-fix-long-prompt-vi-search.patch
-
- # Force ncurses linking. #71420
- # Use pkg-config to get the right values. #457558
- local ncurses_libs=$($(tc-getPKG_CONFIG) ncurses --libs)
- sed -i \
- -e "/^SHLIB_LIBS=/s:=.*:='${ncurses_libs}':" \
- support/shobj-conf || die
- sed -i \
- -e "/^[[:space:]]*LIBS=.-lncurses/s:-lncurses:${ncurses_libs}:" \
- examples/rlfe/configure || die
-
- # fix building under Gentoo/FreeBSD; upstream FreeBSD deprecated
- # objformat for years, so we don't want to rely on that.
- sed -i -e '/objformat/s:if .*; then:if true; then:' support/shobj-conf || die
-
- # support more recent OS X versions
- sed -i -e 's/darwin10\*/darwin1\[01234\]\*/g' support/shobj-conf || die
-
- ln -s ../.. examples/rlfe/readline # for local readline headers
-}
-
-src_configure() {
- cd "${HOSTLT_S}" || die
- econf $(use_enable static-libs static)
- export PATH="${HOSTLT_S}:${PATH}"
- cd "${S}"
-
- # fix implicit decls with widechar funcs
- append-cppflags -D_GNU_SOURCE
- # http://lists.gnu.org/archive/html/bug-readline/2010-07/msg00013.html
- append-cppflags -Dxrealloc=_rl_realloc -Dxmalloc=_rl_malloc -Dxfree=_rl_free
-
- # Make sure configure picks a better ar than `ar`. #484866
- export ac_cv_prog_AR=$(tc-getAR)
-
- # Force the test since we used sed above to force it.
- export bash_cv_termcap_lib=ncurses
-
- # Control cross-compiling cases when we know the right answer.
- # In cases where the C library doesn't support wide characters, readline
- # itself won't work correctly, so forcing the answer below should be OK.
- if tc-is-cross-compiler ; then
- export bash_cv_func_sigsetjmp='present'
- export bash_cv_func_ctype_nonascii='yes'
- export bash_cv_wcwidth_broken='no' #503312
- fi
-
- # This is for rlfe, but we need to make sure LDFLAGS doesn't change
- # so we can re-use the config cache file between the two.
- append-ldflags -L.
- export LDFLAGS="-L${S}/shlib ${LDFLAGS}" # search local dirs first
-
- multilib-minimal_src_configure
-}
-
-multilib_src_configure() {
- ECONF_SOURCE=${S} \
- econf \
- --cache-file="${BUILD_DIR}"/config.cache \
- --docdir="${EPREFIX}"/usr/share/doc/${PF} \
- --with-curses \
- --disable-shared # use libtool instead
-
- if multilib_is_native_abi && ! tc-is-cross-compiler ; then
- # code is full of AC_TRY_RUN()
- mkdir -p examples/rlfe || die
- cd examples/rlfe || die
- ECONF_SOURCE=${S}/examples/rlfe \
- econf --cache-file="${BUILD_DIR}"/config.cache
- fi
-}
-
-multilib_src_compile() {
- emake shared || die
-
- if multilib_is_native_abi && ! tc-is-cross-compiler ; then
- # code is full of AC_TRY_RUN()
- cd examples/rlfe || die
- local l
- for l in readline history ; do
- ln -s ../../shlib/lib${l}$(get_libname)* lib${l}$(get_libname)
- ln -sf ../../lib${l}.a lib${l}.a
- done
- emake LTLINK='libtool --mode=link --tag=CC' || die
- fi
-}
-
-multilib_src_install() {
- export PATH="${HOSTLT_S}:${PATH}"
- emake DESTDIR="${D}" install-shared || die
-
- if multilib_is_native_abi ; then
- if ! tc-is-cross-compiler; then
- dobin examples/rlfe/rlfe
- fi
-
- # must come after installing rlfe, bug #455512
- gen_usr_ldscript -a readline history #4411
- fi
-}
-
-multilib_src_install_all() {
- einstalldocs
- dodoc USAGE
- dohtml -r doc/.
- docinto ps
- dodoc doc/*.ps
-}
-
-pkg_preinst() {
- preserve_old_lib /$(get_libdir)/lib{history,readline}$(get_libname 4) #29865
- preserve_old_lib /$(get_libdir)/lib{history,readline}$(get_libname 5) #29865
-}
-
-pkg_postinst() {
- preserve_old_lib_notify /$(get_libdir)/lib{history,readline}$(get_libname 4)
- preserve_old_lib_notify /$(get_libdir)/lib{history,readline}$(get_libname 5)
-}
diff --git a/sys-libs/readline/readline-6.3_p8-r01.1.ebuild b/sys-libs/readline/readline-6.3_p8-r3.ebuild
similarity index 70%
rename from sys-libs/readline/readline-6.3_p8-r01.1.ebuild
rename to sys-libs/readline/readline-6.3_p8-r3.ebuild
index 727da907e1..7aca649098 100644
--- a/sys-libs/readline/readline-6.3_p8-r01.1.ebuild
+++ b/sys-libs/readline/readline-6.3_p8-r3.ebuild
@@ -1,10 +1,9 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/readline-6.3_p8-r1.ebuild,v 1.2 2014/12/29 07:42:08 polynomial-c Exp $
-EAPI=4
+EAPI=5
-inherit eutils multilib toolchain-funcs flag-o-matic multilib-minimal libtool
+inherit eutils multilib toolchain-funcs flag-o-matic multilib-minimal libtool ltprune
# Official patches
# See ftp://ftp.cwru.edu/pub/bash/readline-6.3-patches/
@@ -32,18 +31,16 @@ DESCRIPTION="Another cute console display library"
HOMEPAGE="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html"
HOSTLTV="0.1.0"
HOSTLT="host-libtool-${HOSTLTV}"
-HOSTLT_URI="http://github.com/haubi/host-libtool/releases/download/v${HOSTLTV}/${HOSTLT}.tar.gz"
+HOSTLT_URI="https://github.com/haubi/host-libtool/releases/download/v${HOSTLTV}/${HOSTLT}.tar.gz"
SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz $(patches) ${HOSTLT_URI}"
HOSTLT_S=${WORKDIR}/${HOSTLT}
LICENSE="GPL-3"
SLOT="0"
-
-# see bug 530890 before installing on OS X
KEYWORDS="~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="static-libs"
+IUSE="static-libs utils"
-RDEPEND=">=sys-libs/ncurses-5.9-r3[${MULTILIB_USEDEP}]
+RDEPEND=">=sys-libs/ncurses-5.9-r3:0=[${MULTILIB_USEDEP}]
abi_x86_32? (
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
!<=app-emulation/emul-linux-x86-baselibs-20131008-r7
@@ -53,6 +50,25 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${MY_P}
+PATCHES=(
+ "${FILESDIR}"/${PN}-5.0-no_rpath.patch
+ "${FILESDIR}"/${PN}-6.2-rlfe-tgoto.patch #385091
+ "${FILESDIR}"/${PN}-6.3-fix-long-prompt-vi-search.patch
+ "${FILESDIR}"/${PN}-6.3-read-eof.patch
+
+ "${FILESDIR}"/${PN}-5.2-rlfe-aix-eff_uid.patch
+ "${FILESDIR}"/${PN}-5.2-rlfe-hpux.patch
+ "${FILESDIR}"/${PN}-5.2-ia64hpux.patch
+ "${FILESDIR}"/${PN}-6.0-mint.patch
+ "${FILESDIR}"/${PN}-6.0-rlfe-solaris.patch
+ "${FILESDIR}"/${PN}-6.1-aix-soname.patch
+ "${FILESDIR}"/${PN}-6.1-aix-expfull.patch
+ "${FILESDIR}"/${PN}-6.3-interix.patch
+ "${FILESDIR}"/${PN}-6.3-darwin-shlib-versioning.patch
+
+ "${FILESDIR}"/${PN}-6.3-libtool.patch # this enables building via libtool
+)
+
src_unpack() {
unpack ${HOSTLT}.tar.gz
S="${HOSTLT_S}" elibtoolize
@@ -61,29 +77,16 @@ src_unpack() {
src_prepare() {
[[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
-
- epatch "${FILESDIR}"/${PN}-5.0-no_rpath.patch
- epatch "${FILESDIR}"/${PN}-5.1-rlfe-extern.patch
- epatch "${FILESDIR}"/${PN}-5.2-rlfe-aix-eff_uid.patch
- epatch "${FILESDIR}"/${PN}-5.2-rlfe-hpux.patch
- epatch "${FILESDIR}"/${PN}-5.2-ia64hpux.patch
- epatch "${FILESDIR}"/${PN}-6.0-mint.patch
- epatch "${FILESDIR}"/${PN}-6.0-rlfe-solaris.patch
- epatch "${FILESDIR}"/${PN}-6.1-aix-soname.patch
- epatch "${FILESDIR}"/${PN}-6.1-aix-expfull.patch
- epatch "${FILESDIR}"/${PN}-6.2-rlfe-tgoto.patch #385091
- epatch "${FILESDIR}"/${PN}-6.3-libtool.patch
- epatch "${FILESDIR}"/${PN}-6.3-interix.patch
- epatch "${FILESDIR}"/${PN}-6.3-darwin-shlib-versioning.patch
- epatch "${FILESDIR}"/${PN}-6.3-fix-long-prompt-vi-search.patch
+ epatch "${PATCHES[@]}"
# Force ncurses linking. #71420
- # Use pkg-config (may vary on ABI) to get the right values. #457558
+ # Use pkg-config to get the right values. #457558
+ local ncurses_libs=$($(tc-getPKG_CONFIG) ncurses --libs)
sed -i \
- -e '/^SHLIB_LIBS=/s:=.*:="${ncurses_libs}":' \
+ -e "/^SHLIB_LIBS=/s:=.*:='${ncurses_libs}':" \
support/shobj-conf || die
sed -i \
- -e '/^[[:space:]]*LIBS=.-lncurses/s:-lncurses:${ncurses_libs}:' \
+ -e "/^[[:space:]]*LIBS=.-lncurses/s:-lncurses:${ncurses_libs}:" \
examples/rlfe/configure || die
# fix building under Gentoo/FreeBSD; upstream FreeBSD deprecated
@@ -96,7 +99,7 @@ src_prepare() {
ln -s ../.. examples/rlfe/readline # for local readline headers
}
-multilib_src_configure() {
+src_configure() {
mkdir -p "${WORKDIR}/${HOSTLT}-${ABI}" || die
cd "${WORKDIR}/${HOSTLT}-${ABI}" || die
ECONF_SOURCE="${HOSTLT_S}" econf $(use_enable static-libs static)
@@ -107,7 +110,7 @@ multilib_src_configure() {
# fix implicit decls with widechar funcs
append-cppflags -D_GNU_SOURCE
- # http://lists.gnu.org/archive/html/bug-readline/2010-07/msg00013.html
+ # https://lists.gnu.org/archive/html/bug-readline/2010-07/msg00013.html
append-cppflags -Dxrealloc=_rl_realloc -Dxmalloc=_rl_malloc -Dxfree=_rl_free
# Make sure configure picks a better ar than `ar`. #484866
@@ -130,14 +133,18 @@ multilib_src_configure() {
append-ldflags -L.
export LDFLAGS="-L${BUILD_DIR}/shlib ${LDFLAGS}" # search local dirs first
+ multilib-minimal_src_configure
+}
+
+multilib_src_configure() {
ECONF_SOURCE=${S} \
econf \
--cache-file="${BUILD_DIR}"/config.cache \
- --docdir="${EPREFIX}"/usr/share/doc/${PF} \
+ --docdir='$(datarootdir)'/doc/${PF} \
--with-curses \
--disable-shared # use libtool instead
- if multilib_is_native_abi && ! tc-is-cross-compiler ; then
+ if use utils && multilib_is_native_abi && ! tc-is-cross-compiler ; then
# code is full of AC_TRY_RUN()
mkdir -p examples/rlfe || die
cd examples/rlfe || die
@@ -149,9 +156,9 @@ multilib_src_configure() {
multilib_src_compile() {
export PATH="${WORKDIR}/${HOSTLT}-${ABI}:${PATH}"
export ncurses_libs=$($(tc-getPKG_CONFIG) ncurses --libs)
- emake shared || die
+ emake shared
- if multilib_is_native_abi && ! tc-is-cross-compiler ; then
+ if use utils && multilib_is_native_abi && ! tc-is-cross-compiler ; then
# code is full of AC_TRY_RUN()
cd examples/rlfe || die
local l
@@ -159,22 +166,21 @@ multilib_src_compile() {
ln -s ../../shlib/lib${l}$(get_libname)* lib${l}$(get_libname)
ln -sf ../../lib${l}.a lib${l}.a
done
- emake LTLINK='libtool --mode=link --tag=CC' || die
+ emake LTLINK='libtool --mode=link --tag=CC'
fi
}
multilib_src_install() {
export PATH="${WORKDIR}/${HOSTLT}-${ABI}:${PATH}"
export ncurses_libs=$($(tc-getPKG_CONFIG) ncurses --libs)
- emake DESTDIR="${D}" install-shared || die
+ emake DESTDIR="${D}" install-shared
if multilib_is_native_abi ; then
- if ! tc-is-cross-compiler; then
+ gen_usr_ldscript -a readline history #4411
+
+ if use utils && ! tc-is-cross-compiler; then
dobin examples/rlfe/rlfe
fi
-
- # must come after installing rlfe, bug #455512
- gen_usr_ldscript -a readline history #4411
fi
}
@@ -184,14 +190,14 @@ multilib_src_install_all() {
dohtml -r doc/.
docinto ps
dodoc doc/*.ps
+
+ prune_libtool_files --all
}
pkg_preinst() {
preserve_old_lib /$(get_libdir)/lib{history,readline}$(get_libname 4) #29865
- preserve_old_lib /$(get_libdir)/lib{history,readline}$(get_libname 5) #29865
}
pkg_postinst() {
preserve_old_lib_notify /$(get_libdir)/lib{history,readline}$(get_libname 4)
- preserve_old_lib_notify /$(get_libdir)/lib{history,readline}$(get_libname 5)
}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/proj/prefix:master commit in: sys-libs/readline/, sys-libs/readline/files/
@ 2018-12-27 15:37 Fabian Groffen
0 siblings, 0 replies; 3+ messages in thread
From: Fabian Groffen @ 2018-12-27 15:37 UTC (permalink / raw
To: gentoo-commits
commit: 81b6cd73020f83450cdf666002a773d8c58b6f39
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 27 15:31:57 2018 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu Dec 27 15:31:57 2018 +0000
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=81b6cd73
sys-libs/readline: sync with gx86
Package-Manager: Portage-2.3.52.2-prefix, Repoman-2.3.12
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
sys-libs/readline/Manifest | 6 +
.../readline/files/readline-5.0-no_rpath.patch | 4 +-
.../readline/files/readline-5.2-ia64hpux.patch | 4 +-
.../files/readline-5.2-rlfe-aix-eff_uid.patch | 4 +-
.../readline/files/readline-5.2-rlfe-hpux.patch | 4 +-
.../readline/files/readline-6.0-rlfe-solaris.patch | 4 +-
.../readline/files/readline-6.1-aix-expfull.patch | 6 +-
.../readline/files/readline-6.1-aix-soname.patch | 6 +-
| 24 +
sys-libs/readline/files/readline-7.0-libtool.patch | 745 +++++++++++++++++++++
sys-libs/readline/files/readline-7.0-mingw.patch | 152 +++++
.../files/readline-7.0-missing-echo-proto.patch | 14 +
sys-libs/readline/readline-7.0_p5.ebuild | 215 ++++++
13 files changed, 1174 insertions(+), 14 deletions(-)
diff --git a/sys-libs/readline/Manifest b/sys-libs/readline/Manifest
index 277d1db2f9..8b437c12ad 100644
--- a/sys-libs/readline/Manifest
+++ b/sys-libs/readline/Manifest
@@ -1,5 +1,6 @@
DIST host-libtool-0.1.0.tar.gz 388867 BLAKE2B e8bfd1212f39d6262721c4a12535799f4e3428b83f3174bac373c15813462950218dd689380ab8caaf84186b60c29a1fafadfa1c2d0e5cb7f76f6d1699bdcabc SHA512 d8764d7814abf06556fb6eb19c12c2de1d1dc9f2f325deae55606ddfcf88963d65713d6fbd1fae0ab1a0668d90f84204e1cdcbd557944660ab01ecfe3a824ca5
DIST readline-6.3.tar.gz 2468560 BLAKE2B 24488ec141734c050ba985a93423692396f105619bae3ce5b109bc68a4f43862bcf3a6fb8d82fec1145d665cdb408765e179379bb35f008d09c441fa2e5739df SHA512 f70efaf46d570b85c7637172b0ee2eb9a4aa73ba38a62bb45075e665929d9701b96fba0aea6c767fd9a2a0d39dfe8e70ab06da08f8524aee76a7c502f370a401
+DIST readline-7.0.tar.gz 2910016 BLAKE2B 679b8aa7ce003017b729e6d8d4cb69d0f991578441a3e69005090079e61f6aa48b7ad4d0b1f34b6041528cf33254a1bf3ddb05b60db53a06e443d7922d49d0d4 SHA512 18243189d39bf0d4c8a76cddcce75243c1bae8824c686e9b6ba352667607e5b10c5feb79372a1093c1c388d821841670702e940df12eae94bcebdeed90047870
DIST readline63-001 1366 BLAKE2B 82af5be99597719329db3f1d6049e75a5654ccf6597cf557c71ad7ada0ac03be87381a7738931eb78716de65902ae87498f574b84150a69eae9cc308c4bfffdd SHA512 e70f89ca52a4eae7e1cddd70de6a7162252231ee029c89bb3fcb0f6c8c8b46c666be910c8b2eee72e96983ec2f1a23663694dc222f67228d82e8e4684f1504a2
DIST readline63-002 1297 BLAKE2B 5ace4a81381910ee48dee8cdbb2ca95a1bef2d1f8acca6d39a910c078c86de10a0fc29486939b336110ecb0281b3edb16e4b985f41e7ee161904728f289fff04 SHA512 4e23bd67433577e6e361d10a6c32768ea9e13b10e77493e565b870f56069b673fbcb0b860225f79fa9931845fc91d35c9a82c1385c23f8b757ebfd59f27851f4
DIST readline63-003 985 BLAKE2B cf2cda505b100d5f820d8bfc99eed6b50e65c92b6a495073352fc7385c6456478594e5c2dc293ce556b66853dff705050fb97982aa25fce452ae53d2cb272cf4 SHA512 6bfb84a5b980091b995e2b96bdf5680f97fe670e6cac1b8606d2d75a1ef922ff5bd4e73f029f7af98a115006b7ab7828146f2cd6986287543d8a29987c91dc12
@@ -8,3 +9,8 @@ DIST readline63-005 1664 BLAKE2B f98f62be8676aca81b91d919bc4eccfe40c382a8baab0e6
DIST readline63-006 1982 BLAKE2B ad6d16ff769eb8e367cf961ffe152c04778b046a04e4a62e0ce21d08fa16b0eca3d278dbdc274b082d24fa2ec959ffb62168ea7693b4de94b59a4526b1f0c4a2 SHA512 e9fbfa38d7b03ab2aff2e9e48918b85b4b67a729862ee47d1cc8e0aeb90c3224394a79f68829951e1377cae65742aa5385eae865f75e9c0b2e2abde42889431c
DIST readline63-007 1428 BLAKE2B 60e64c2dd36457e3992cfbfbbcc261337e515be360a37d71b9de236c62c781f10f0ec37e4e196b4634e5d547edebbf915370091ca42fff873b78cd80cfe3a7f2 SHA512 abee331894846b360203a521d9a66fa02c03214120d5cafbd1cb4d680bd7bbef14321ae845dd67f7b5e8c87322801fd96fc9a5fd0ae026b41d98dc24a8949854
DIST readline63-008 1452 BLAKE2B 4e41c45be1479fba9f74bf9cedb8d1f6237e650962d5b45ea1a61cc48a8323a0fa60d76f68c011b6e7c73a1078b5ff80f9966e983b994f814d471d0efd9efde6 SHA512 8e30bbca3aa5cea8c2ee511abe0ec8f131608d74fe5ab24d68bcf452267f0f97446ed6e7cd482360876ce6c027280e4f4450cae05eb18f56046240f4c224841c
+DIST readline70-001 1777 BLAKE2B ab217bd9d27f30351397db2b745cb33ac7e0ce18bbc00112bb87570da0f62ee0e8d182395c97e4ecc21af51e7e1e580ba48076de1095c556f0744475e4019821 SHA512 4402186905af8cd42c609d640c2e13b9ad61c7778e5a3fd2c2d9da301f0deab05b04d7836f31527262f44f406517823dbb18cb07f2c73931186c806b494699ec
+DIST readline70-002 2953 BLAKE2B 47d729b1babe904855fe5d4f780a5b2153a743def527479c3cb82759cdee5bb4260be722e1050be680f5c0dd6dec8ca25c4c1ff557415abae6b3fac2bd481f0b SHA512 13d1489578508d4d2c3a1618024198a709dbce74a6bbf0f6d7ec67d2419c55bfec9f0ca9de0ed93f129d21d5c3a94307ccdc49408455bbb301c5e3a772b03185
+DIST readline70-003 1294 BLAKE2B 9473e18b582fba69cea83e3f5b9fa278dd8b0544325439307d2b4053cbeca8d2f008104bee181ae5d9405d702e6d3bcf26379c4d46e269906474c8544367b780 SHA512 eaf962a1480eb3870519017b81ecc5cef171e4c41fcf8c17da61ccbfd0379ed6bca85c17b03e2207ae4d51509f33fd010294c75f4bd0433a52118015d4160385
+DIST readline70-004 1501 BLAKE2B cebce69a21bee3a4d6a908de09f371d65eab6af51a8dc0f58fc915b916957db420252ce07b06703c05d984f62e1e849b6975f5444b2af6ba35ff7c939acf9d99 SHA512 7be41558eab3b88a3657f8589ecfaff0b8ee7f59083d385f50e8704fe830e05a50652a5feda19ff1f3cfd98bff4bb8e25e1637ec4dac8a618db9c8220a3d954e
+DIST readline70-005 1641 BLAKE2B f720508f698b113c6328018f7e6e8775c7c79afc464047405a5c3dae017d611535017dfc2759c11483bb536fab1e9bf72c7a9d3c769b7aea3bd2cee9686bd522 SHA512 eeb27f4f9195cb905d5891f26480d58f59c885dde3457f7a30ff57760ac772e2333ee8aeae979214949f3b52030285b10db013e307ee7311abab677a4427e878
diff --git a/sys-libs/readline/files/readline-5.0-no_rpath.patch b/sys-libs/readline/files/readline-5.0-no_rpath.patch
index 624b2d7dea..befad63e42 100644
--- a/sys-libs/readline/files/readline-5.0-no_rpath.patch
+++ b/sys-libs/readline/files/readline-5.0-no_rpath.patch
@@ -1,7 +1,7 @@
ripped from Fedora
---- support/shobj-conf
-+++ support/shobj-conf
+--- a/support/shobj-conf
++++ b/support/shobj-conf
@@ -102,7 +102,7 @@
SHOBJ_LD='${CC}'
SHOBJ_LDFLAGS='-shared -Wl,-soname,$@'
diff --git a/sys-libs/readline/files/readline-5.2-ia64hpux.patch b/sys-libs/readline/files/readline-5.2-ia64hpux.patch
index 6f0ed743ec..3c340e9f2b 100644
--- a/sys-libs/readline/files/readline-5.2-ia64hpux.patch
+++ b/sys-libs/readline/files/readline-5.2-ia64hpux.patch
@@ -1,5 +1,5 @@
---- support/shobj-conf.orig 2008-02-06 09:37:12 +0100
-+++ support/shobj-conf 2008-02-06 09:38:30 +0100
+--- a/support/shobj-conf 2008-02-06 09:37:12 +0100
++++ b/support/shobj-conf 2008-02-06 09:38:30 +0100
@@ -363,7 +363,10 @@
SHOBJ_LDFLAGS='-shared -fpic -Wl,-b -Wl,+s -Wl,+h,$@'
diff --git a/sys-libs/readline/files/readline-5.2-rlfe-aix-eff_uid.patch b/sys-libs/readline/files/readline-5.2-rlfe-aix-eff_uid.patch
index 96f45b2305..cc6e730718 100644
--- a/sys-libs/readline/files/readline-5.2-rlfe-aix-eff_uid.patch
+++ b/sys-libs/readline/files/readline-5.2-rlfe-aix-eff_uid.patch
@@ -4,8 +4,8 @@
on pure luck that it is defined in one of the includes, just use the
function that was made for this purpose of retrieving the value.
---- examples/rlfe/pty.c
-+++ examples/rlfe/pty.c
+--- a/examples/rlfe/pty.c
++++ b/examples/rlfe/pty.c
@@ -70,7 +70,7 @@
# undef HAVE_SVR4_PTYS
#endif
diff --git a/sys-libs/readline/files/readline-5.2-rlfe-hpux.patch b/sys-libs/readline/files/readline-5.2-rlfe-hpux.patch
index c491d39acd..2742b77217 100644
--- a/sys-libs/readline/files/readline-5.2-rlfe-hpux.patch
+++ b/sys-libs/readline/files/readline-5.2-rlfe-hpux.patch
@@ -1,5 +1,5 @@
---- examples/rlfe/os.h.orig 2007-11-20 10:33:49 +0100
-+++ examples/rlfe/os.h 2007-11-20 10:36:25 +0100
+--- a/examples/rlfe/os.h 2007-11-20 10:33:49 +0100
++++ b/examples/rlfe/os.h 2007-11-20 10:36:25 +0100
@@ -426,7 +426,7 @@
#define SIGCHLD SIGCLD
#endif
diff --git a/sys-libs/readline/files/readline-6.0-rlfe-solaris.patch b/sys-libs/readline/files/readline-6.0-rlfe-solaris.patch
index 63fc2f32c2..cff94ebe15 100644
--- a/sys-libs/readline/files/readline-6.0-rlfe-solaris.patch
+++ b/sys-libs/readline/files/readline-6.0-rlfe-solaris.patch
@@ -1,8 +1,8 @@
<grobian@gentoo.org>:
* Panic is just used, but never defined or included (at least not on Solaris)
---- examples/rlfe/pty.c
-+++ examples/rlfe/pty.c
+--- a/examples/rlfe/pty.c
++++ b/examples/rlfe/pty.c
@@ -54,6 +54,11 @@
# include <sys/sysmacros.h>
#endif /* sgi */
diff --git a/sys-libs/readline/files/readline-6.1-aix-expfull.patch b/sys-libs/readline/files/readline-6.1-aix-expfull.patch
index b671cfe4cb..eada6fa6a7 100644
--- a/sys-libs/readline/files/readline-6.1-aix-expfull.patch
+++ b/sys-libs/readline/files/readline-6.1-aix-expfull.patch
@@ -1,9 +1,11 @@
+Michael Haubenwallner:
+
On AIX, -bexpall does not export symbols starting with '_', and we get
ld: 0711-317 ERROR: Undefined symbol: _rl_echoing_p
With -bexpfull, all symbols are exported.
---- support/shobj-conf.orig 2010-01-25 13:02:55 +0100
-+++ support/shobj-conf 2010-01-25 13:03:36 +0100
+--- a/support/shobj-conf 2010-01-25 13:02:55 +0100
++++ b/support/shobj-conf 2010-01-25 13:03:36 +0100
@@ -265,7 +265,7 @@
aix4.[2-9]*-*gcc*|aix[5-9].*-*gcc*) # lightly tested by jik@cisco.com
SHOBJ_CFLAGS=-fpic
diff --git a/sys-libs/readline/files/readline-6.1-aix-soname.patch b/sys-libs/readline/files/readline-6.1-aix-soname.patch
index 0c108e5798..82fb050978 100644
--- a/sys-libs/readline/files/readline-6.1-aix-soname.patch
+++ b/sys-libs/readline/files/readline-6.1-aix-soname.patch
@@ -1,10 +1,12 @@
+Michael Haubenwallner:
+
With a little help from my friend, the native-cctools wrapping ld to support
'-soname' flag on AIX, we can provide full soname support there (#213277).
However, this patch is not for upstream, as they cannot rely on that ld wrapper:
They would have to do the aix-soname magic themself instead.
---- support/shobj-conf.orig 2011-02-08 11:53:20 +0100
-+++ support/shobj-conf 2011-02-08 11:57:14 +0100
+--- a/support/shobj-conf 2011-02-08 11:53:20 +0100
++++ b/support/shobj-conf 2011-02-08 11:57:14 +0100
@@ -269,7 +269,7 @@
SHOBJ_LDFLAGS='-bdynamic -bnoentry -bexpfull'
SHOBJ_XLDFLAGS='-G'
--git a/sys-libs/readline/files/readline-7.0-headers.patch b/sys-libs/readline/files/readline-7.0-headers.patch
new file mode 100644
index 0000000000..892ec21f51
--- /dev/null
+++ b/sys-libs/readline/files/readline-7.0-headers.patch
@@ -0,0 +1,24 @@
+From 4bc0aa68aff12a59628dd3c99a53360a9aa1ce93 Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Thu, 11 Aug 2016 17:49:27 +0800
+Subject: [PATCH] include ctype.h for isdigit usage
+
+---
+ lib/readline/histexpand.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/lib/readline/histexpand.c b/lib/readline/histexpand.c
+index 46a99aa62e30..13248db83048 100644
+--- a/histexpand.c
++++ b/histexpand.c
+@@ -26,6 +26,7 @@
+ #endif
+
+ #include <stdio.h>
++#include <ctype.h>
+
+ #if defined (HAVE_STDLIB_H)
+ # include <stdlib.h>
+--
+2.9.0
+
diff --git a/sys-libs/readline/files/readline-7.0-libtool.patch b/sys-libs/readline/files/readline-7.0-libtool.patch
new file mode 100644
index 0000000000..5b436b4bdb
--- /dev/null
+++ b/sys-libs/readline/files/readline-7.0-libtool.patch
@@ -0,0 +1,745 @@
+diff -ru readline-7.0.orig/examples/rlfe/Makefile.in readline-7.0/examples/rlfe/Makefile.in
+--- readline-7.0.orig/examples/rlfe/Makefile.in 2009-02-22 23:27:18.000000000 +0000
++++ readline-7.0/examples/rlfe/Makefile.in 2018-12-27 16:24:26.200061860 +0000
+@@ -49,7 +49,7 @@
+ all: rlfe
+
+ rlfe: $(OFILES)
+- $(CC) $(LDFLAGS) -o $@ $(OFILES) $(LIBS)
++ $(LTLINK) $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OFILES) $(LIBS)
+
+ rlfe-$(VERSION).tar.gz:
+ tar czf $@ $(CFILES) $(HFILES) $(EXTRA_DIST)
+diff -ru readline-7.0.orig/shlib/Makefile.in readline-7.0/shlib/Makefile.in
+--- readline-7.0.orig/shlib/Makefile.in 2015-07-13 00:41:58.000000000 +0000
++++ readline-7.0/shlib/Makefile.in 2018-12-27 16:25:28.204577868 +0000
+@@ -78,14 +78,14 @@
+ # changes to bash-maintainers@gnu.org.
+ #
+ SHOBJ_CC = @SHOBJ_CC@
+-SHOBJ_CFLAGS = @SHOBJ_CFLAGS@
+-SHOBJ_LD = @SHOBJ_LD@
++SHOBJ_CFLAGS_shared = @SHOBJ_CFLAGS@
++SHOBJ_LD_shared = @SHOBJ_LD@
+
+-SHOBJ_LDFLAGS = @SHOBJ_LDFLAGS@
+-SHOBJ_XLDFLAGS = @SHOBJ_XLDFLAGS@
++SHOBJ_LDFLAGS_shared = @SHOBJ_LDFLAGS@
++SHOBJ_XLDFLAGS_shared = @SHOBJ_XLDFLAGS@
+ SHOBJ_LIBS = @SHOBJ_LIBS@
+
+-SHLIB_XLDFLAGS = @LDFLAGS@ @SHLIB_XLDFLAGS@
++SHLIB_XLDFLAGS_shared = @SHLIB_XLDFLAGS@
+ SHLIB_LIBS = @SHLIB_LIBS@
+
+ SHLIB_DOT = @SHLIB_DOT@
+@@ -95,7 +95,7 @@
+ SHLIB_LIBVERSION = @SHLIB_LIBVERSION@
+ SHLIB_DLLVERSION = @SHLIB_DLLVERSION@
+
+-SHLIB_STATUS = @SHLIB_STATUS@
++SHLIB_STATUS_shared = @SHLIB_STATUS@
+
+ TERMCAP_LIB = @TERMCAP_LIB@
+
+@@ -109,13 +109,52 @@
+
+ CCFLAGS = $(DEFS) $(LOCAL_DEFS) $(INCLUDES) $(CPPFLAGS) $(LOCAL_CFLAGS) $(CFLAGS)
+
+-.SUFFIXES: .so
++SHARED_TARGET = @SHARED_TARGET@ # using libtool when empty
++
++SHLIB_STATUS_ = libtool
++SHLIB_STATUS = $(SHLIB_STATUS_$(SHARED_TARGET))
++
++SO_shared = so
++SO_ = lo # use libtool when SHARED_TARGET is empty
++SO = $(SO_$(SHARED_TARGET))
++
++LIBTOOL_ = libtool
++LIBTOOL = $(LIBTOOL_$(SHARED_TARGET))
++
++LTTAG_CC_ = --tag=CC
++LTCLEAN_ = $(LIBTOOL) --mode=clean
++LTCOMPILE_ = $(LIBTOOL) --mode=compile
++LTINSTALL_ = $(LIBTOOL) --mode=install
++LTLINK_ = $(LIBTOOL) --mode=link
++LTUNINSTALL_ = $(LIBTOOL) --mode=uninstall
++
++SHOBJ_CFLAGS_ =
++SHOBJ_LD_ = $(SHOBJ_CC)
++SHOBJ_LDFLAGS_ = -shared -version-info `echo $(SHLIB_MAJOR)$(SHLIB_MINOR) | sed -e 's/\./:/g'`
++SHLIB_XLDFLAGS_ = -no-undefined -rpath $(libdir)
++
++LTTAG_CC = $(LTTAG_CC_$(SHARED_TARGET))
++LTCLEAN = $(LTCLEAN_$(SHARED_TARGET))
++LTCOMPILE = $(LTCOMPILE_$(SHARED_TARGET))
++LTINSTALL = $(LTINSTALL_$(SHARED_TARGET))
++LTLINK = $(LTLINK_$(SHARED_TARGET))
++LTUNINSTALL = $(LTUNINSTALL_$(SHARED_TARGET))
++
++SHOBJ_CFLAGS = $(SHOBJ_CFLAGS_$(SHARED_TARGET))
++SHOBJ_LD = $(SHOBJ_LD_$(SHARED_TARGET))
++SHOBJ_LDFLAGS = $(SHOBJ_LDFLAGS_$(SHARED_TARGET))
++SHLIB_XLDFLAGS = $(LDFLAGS) $(SHLIB_XLDFLAGS_$(SHARED_TARGET))
++
++.SUFFIXES: .so .lo
+
+ .c.so:
+ ${RM} $@
+ $(SHOBJ_CC) -c $(CCFLAGS) $(SHOBJ_CFLAGS) -o $*.o $<
+ $(MV) $*.o $@
+
++.c.lo:
++ $(LTCOMPILE) $(LTTAG_CC) $(SHOBJ_CC) -c $(CCFLAGS) $(SHOBJ_CFLAGS) -o $*.lo $<
++
+ # The name of the main library target.
+
+ SHARED_READLINE = $(SHLIB_LIBPREF)readline$(SHLIB_DOT)$(SHLIB_LIBVERSION)
+@@ -147,16 +186,16 @@
+ $(topdir)/rltypedefs.h $(topdir)/rlmbutil.h \
+ $(topdir)/colors.h $(topdir)/parse-colors.h
+
+-SHARED_HISTOBJ = history.so histexpand.so histfile.so histsearch.so shell.so \
+- mbutil.so
+-SHARED_TILDEOBJ = tilde.so
+-SHARED_COLORSOBJ = colors.so parse-colors.so
+-SHARED_OBJ = readline.so vi_mode.so funmap.so keymaps.so parens.so search.so \
+- rltty.so complete.so bind.so isearch.so display.so signals.so \
+- util.so kill.so undo.so macro.so input.so callback.so terminal.so \
+- text.so nls.so misc.so \
++SHARED_HISTOBJ = history.$(SO) histexpand.$(SO) histfile.$(SO) histsearch.$(SO) shell.$(SO) \
++ mbutil.$(SO)
++SHARED_TILDEOBJ = tilde.$(SO)
++SHARED_COLORSOBJ = colors.$(SO) parse-colors.$(SO)
++SHARED_OBJ = readline.$(SO) vi_mode.$(SO) funmap.$(SO) keymaps.$(SO) parens.$(SO) search.$(SO) \
++ rltty.$(SO) complete.$(SO) bind.$(SO) isearch.$(SO) display.$(SO) signals.$(SO) \
++ util.$(SO) kill.$(SO) undo.$(SO) macro.$(SO) input.$(SO) callback.$(SO) terminal.$(SO) \
++ text.$(SO) nls.$(SO) misc.$(SO) \
+ $(SHARED_HISTOBJ) $(SHARED_TILDEOBJ) $(SHARED_COLORSOBJ) \
+- xmalloc.so xfree.so compat.so
++ xmalloc.$(SO) xfree.$(SO) compat.$(SO)
+
+ ##########################################################################
+
+@@ -164,6 +203,8 @@
+
+ supported: $(SHARED_LIBS)
+
++libtool: libreadline.la libhistory.la
++
+ unsupported:
+ @echo "Your system and compiler (${host_os}-${CC}) are not supported by the"
+ @echo "${topdir}/support/shobj-conf script."
+@@ -172,13 +213,15 @@
+ @echo "Please send the changes you made to bash-maintainers@gnu.org"
+ @echo "for inclusion in future bash and readline releases."
+
++libreadline.la \
+ $(SHARED_READLINE): $(SHARED_OBJ)
+- $(RM) $@
+- $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_OBJ) $(SHLIB_LIBS)
++ $(LTCLEAN) $(RM) $@
++ $(LTLINK) $(LTTAG_CC) $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_OBJ) $(SHLIB_LIBS)
+
+-$(SHARED_HISTORY): $(SHARED_HISTOBJ) xmalloc.so xfree.so
+- $(RM) $@
+- $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_HISTOBJ) xmalloc.so xfree.so $(SHLIB_LIBS)
++libhistory.la \
++$(SHARED_HISTORY): $(SHARED_HISTOBJ) xmalloc.$(SO) xfree.$(SO)
++ $(LTCLEAN) $(RM) $@
++ $(LTLINK) $(LTTAG_CC) $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_HISTOBJ) xmalloc.$(SO) xfree.$(SO) $(SHLIB_LIBS)
+
+ # Since tilde.c is shared between readline and bash, make sure we compile
+ # it with the right flags when it's built as part of readline
+@@ -187,6 +230,9 @@
+ $(SHOBJ_CC) -c $(CCFLAGS) $(SHOBJ_CFLAGS) -DREADLINE_LIBRARY -c -o tilde.o $(topdir)/tilde.c
+ $(MV) tilde.o $@
+
++tilde.lo: tilde.c
++ $(LTCOMPILE) $(LTTAG_CC) $(SHOBJ_CC) -c $(CCFLAGS) $(SHOBJ_CFLAGS) -DREADLINE_LIBRARY -c -o tilde.lo $(topdir)/tilde.c
++
+ installdirs: $(topdir)/support/mkdirs
+ -$(SHELL) $(topdir)/support/mkdirs $(DESTDIR)$(libdir)
+ -$(SHELL) $(topdir)/support/mkdirs $(DESTDIR)$(bindir)
+@@ -196,6 +242,10 @@
+ $(SHELL) $(topdir)/support/shlib-install -O $(host_os) -V $(host_vendor) -d $(DESTDIR)$(libdir) -b $(DESTDIR)$(bindir) -i "$(INSTALL_DATA)" $(SHARED_READLINE)
+ @echo install: you may need to run ldconfig
+
++install-libtool: installdirs $(SHLIB_STATUS)
++ $(LTINSTALL) $(INSTALL_DATA) libhistory.la $(DESTDIR)$(libdir)
++ $(LTINSTALL) $(INSTALL_DATA) libreadline.la $(DESTDIR)$(libdir)
++
+ install-unsupported:
+ @echo install: shared libraries not supported
+
+@@ -206,13 +256,17 @@
+ $(SHELL) $(topdir)/support/shlib-install -O $(host_os) -V $(host_vendor) -d $(DESTDIR)$(libdir) -b $(DESTDIR)$(bindir) -U $(SHARED_READLINE)
+ @echo uninstall: you may need to run ldconfig
+
++uninstall-libtool:
++ $(LTUNINSTALL) $(RM) $(DESTDIR)$(libdir)/libhistory.la
++ $(LTUNINSTALL) $(RM) $(DESTDIR)$(libdir)/libreadline.la
++
+ uninstall-unsupported:
+ @echo uninstall: shared libraries not supported
+
+ uninstall: uninstall-$(SHLIB_STATUS)
+
+ clean mostlyclean: force
+- $(RM) $(SHARED_OBJ) $(SHARED_LIBS)
++ $(LTCLEAN) $(RM) $(SHARED_OBJ) $(SHARED_LIBS) libreadline.la libhistory.la
+
+ distclean maintainer-clean: clean
+ $(RM) Makefile
+@@ -224,278 +278,278 @@
+ .NOEXPORT:
+
+ # Dependencies
+-bind.so: $(topdir)/ansi_stdlib.h $(topdir)/posixstat.h
+-bind.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
+-bind.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
+-bind.so: $(topdir)/rltypedefs.h
+-bind.so: $(topdir)/tilde.h $(topdir)/history.h
+-compat.so: ${BUILD_DIR}/config.h
+-compat.so: $(topdir)/rlstdc.h $(topdir)/rltypedefs.h
+-callback.so: $(topdir)/rlconf.h
+-callback.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h
+-callback.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
+-callback.so: $(topdir)/rltypedefs.h
+-callback.so: $(topdir)/tilde.h
+-complete.so: $(topdir)/ansi_stdlib.h $(topdir)/posixdir.h $(topdir)/posixstat.h
+-complete.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
+-complete.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
+-complete.so: $(topdir)/rltypedefs.h
+-complete.so: $(topdir)/tilde.h
+-display.so: $(topdir)/ansi_stdlib.h $(topdir)/posixstat.h
+-display.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
+-display.so: $(topdir)/tcap.h
+-display.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
+-display.so: $(topdir)/rltypedefs.h
+-display.so: $(topdir)/tilde.h $(topdir)/history.h
+-funmap.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
+-funmap.so: $(topdir)/rltypedefs.h
+-funmap.so: $(topdir)/rlconf.h $(topdir)/ansi_stdlib.h
+-funmap.so: ${BUILD_DIR}/config.h $(topdir)/tilde.h
+-histexpand.so: $(topdir)/ansi_stdlib.h
+-histexpand.so: $(topdir)/history.h $(topdir)/histlib.h $(topdir)/rltypedefs.h
+-histexpand.so: ${BUILD_DIR}/config.h
+-histfile.so: $(topdir)/ansi_stdlib.h
+-histfile.so: $(topdir)/history.h $(topdir)/histlib.h $(topdir)/rltypedefs.h
+-histfile.so: ${BUILD_DIR}/config.h
+-history.so: $(topdir)/ansi_stdlib.h
+-history.so: $(topdir)/history.h $(topdir)/histlib.h $(topdir)/rltypedefs.h
+-history.so: ${BUILD_DIR}/config.h
+-histsearch.so: $(topdir)/ansi_stdlib.h
+-histsearch.so: $(topdir)/history.h $(topdir)/histlib.h $(topdir)/rltypedefs.h
+-histsearch.so: ${BUILD_DIR}/config.h
+-input.so: $(topdir)/ansi_stdlib.h
+-input.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
+-input.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
+-input.so: $(topdir)/rltypedefs.h
+-input.so: $(topdir)/tilde.h
+-isearch.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
+-isearch.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
+-isearch.so: $(topdir)/rltypedefs.h
+-isearch.so: $(topdir)/ansi_stdlib.h $(topdir)/history.h $(topdir)/tilde.h
+-keymaps.so: $(topdir)/keymaps.h $(topdir)/chardefs.h $(topdir)/rlconf.h
+-keymaps.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
+-keymaps.so: $(topdir)/rltypedefs.h
+-keymaps.so: ${BUILD_DIR}/config.h $(topdir)/ansi_stdlib.h $(topdir)/tilde.h
+-kill.so: $(topdir)/ansi_stdlib.h
+-kill.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
+-kill.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
+-kill.so: $(topdir)/tilde.h $(topdir)/history.h $(topdir)/rltypedefs.h
+-macro.so: $(topdir)/ansi_stdlib.h
+-macro.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
+-macro.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
+-macro.so: $(topdir)/tilde.h $(topdir)/history.h $(topdir)/rltypedefs.h
+-mbutil.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
+-mbutil.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/rltypedefs.h
+-mbutil.so: $(topdir)/chardefs.h $(topdir)/rlstdc.h
+-misc.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
+-misc.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
+-misc.so: $(topdir)/rltypedefs.h
+-misc.so: $(topdir)/history.h $(topdir)/tilde.h $(topdir)/ansi_stdlib.h
+-nls.so: $(topdir)/ansi_stdlib.h
+-nls.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
++bind$(SO): $(topdir)/ansi_stdlib.h $(topdir)/posixstat.h
++bind$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
++bind$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
++bind$(SO): $(topdir)/rltypedefs.h
++bind$(SO): $(topdir)/tilde.h $(topdir)/history.h
++compat$(SO): ${BUILD_DIR}/config.h
++compat$(SO): $(topdir)/rlstdc.h $(topdir)/rltypedefs.h
++callback$(SO): $(topdir)/rlconf.h
++callback$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h
++callback$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
++callback$(SO): $(topdir)/rltypedefs.h
++callback$(SO): $(topdir)/tilde.h
++complete$(SO): $(topdir)/ansi_stdlib.h $(topdir)/posixdir.h $(topdir)/posixstat.h
++complete$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
++complete$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
++complete$(SO): $(topdir)/rltypedefs.h
++complete$(SO): $(topdir)/tilde.h
++display$(SO): $(topdir)/ansi_stdlib.h $(topdir)/posixstat.h
++display$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
++display$(SO): $(topdir)/tcap.h
++display$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
++display$(SO): $(topdir)/rltypedefs.h
++display$(SO): $(topdir)/tilde.h $(topdir)/history.h
++funmap$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
++funmap$(SO): $(topdir)/rltypedefs.h
++funmap$(SO): $(topdir)/rlconf.h $(topdir)/ansi_stdlib.h
++funmap$(SO): ${BUILD_DIR}/config.h $(topdir)/tilde.h
++histexpand$(SO): $(topdir)/ansi_stdlib.h
++histexpand$(SO): $(topdir)/history.h $(topdir)/histlib.h $(topdir)/rltypedefs.h
++histexpand$(SO): ${BUILD_DIR}/config.h
++histfile$(SO): $(topdir)/ansi_stdlib.h
++histfile$(SO): $(topdir)/history.h $(topdir)/histlib.h $(topdir)/rltypedefs.h
++histfile$(SO): ${BUILD_DIR}/config.h
++history$(SO): $(topdir)/ansi_stdlib.h
++history$(SO): $(topdir)/history.h $(topdir)/histlib.h $(topdir)/rltypedefs.h
++history$(SO): ${BUILD_DIR}/config.h
++histsearch$(SO): $(topdir)/ansi_stdlib.h
++histsearch$(SO): $(topdir)/history.h $(topdir)/histlib.h $(topdir)/rltypedefs.h
++histsearch$(SO): ${BUILD_DIR}/config.h
++input$(SO): $(topdir)/ansi_stdlib.h
++input$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
++input$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
++input$(SO): $(topdir)/rltypedefs.h
++input$(SO): $(topdir)/tilde.h
++isearch$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
++isearch$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
++isearch$(SO): $(topdir)/rltypedefs.h
++isearch$(SO): $(topdir)/ansi_stdlib.h $(topdir)/history.h $(topdir)/tilde.h
++keymaps$(SO): $(topdir)/keymaps.h $(topdir)/chardefs.h $(topdir)/rlconf.h
++keymaps$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
++keymaps$(SO): $(topdir)/rltypedefs.h
++keymaps$(SO): ${BUILD_DIR}/config.h $(topdir)/ansi_stdlib.h $(topdir)/tilde.h
++kill$(SO): $(topdir)/ansi_stdlib.h
++kill$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
++kill$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
++kill$(SO): $(topdir)/tilde.h $(topdir)/history.h $(topdir)/rltypedefs.h
++macro$(SO): $(topdir)/ansi_stdlib.h
++macro$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
++macro$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
++macro$(SO): $(topdir)/tilde.h $(topdir)/history.h $(topdir)/rltypedefs.h
++mbutil$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
++mbutil$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/rltypedefs.h
++mbutil$(SO): $(topdir)/chardefs.h $(topdir)/rlstdc.h
++misc$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
++misc$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
++misc$(SO): $(topdir)/rltypedefs.h
++misc$(SO): $(topdir)/history.h $(topdir)/tilde.h $(topdir)/ansi_stdlib.h
++nls$(SO): $(topdir)/ansi_stdlib.h
++nls$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
+ nls.o: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
+ nls.o: $(topdir)/rltypedefs.h
+ nls.o: $(topdir)/tilde.h $(topdir)/history.h $(topdir)/rlstdc.h
+-parens.so: $(topdir)/rlconf.h ${BUILD_DIR}/config.h
+-parens.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
+-parens.so: $(topdir)/rltypedefs.h
+-parens.so: $(topdir)/tilde.h
+-rltty.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
+-rltty.so: $(topdir)/rltty.h $(topdir)/tilde.h
+-rltty.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
+-rltty.so: $(topdir)/rltypedefs.h
+-savestring.so: ${BUILD_DIR}/config.h
+-search.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
+-search.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
+-search.so: $(topdir)/ansi_stdlib.h $(topdir)/history.h $(topdir)/tilde.h
+-search.so: $(topdir)/rltypedefs.h
+-signals.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
+-signals.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
+-signals.so: $(topdir)/history.h $(topdir)/tilde.h
+-signals.so: $(topdir)/rltypedefs.h
+-terminal.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
+-terminal.so: $(topdir)/tcap.h
+-terminal.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
+-terminal.so: $(topdir)/tilde.h $(topdir)/history.h
+-terminal.so: $(topdir)/rltypedefs.h
+-text.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
+-text.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
+-text.so: $(topdir)/rltypedefs.h
+-text.so: $(topdir)/history.h $(topdir)/tilde.h $(topdir)/ansi_stdlib.h
+-tilde.so: $(topdir)/ansi_stdlib.h ${BUILD_DIR}/config.h $(topdir)/tilde.h
+-undo.so: $(topdir)/ansi_stdlib.h
+-undo.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
+-undo.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
+-undo.so: $(topdir)/rltypedefs.h
+-undo.so: $(topdir)/tilde.h $(topdir)/history.h
+-util.so: $(topdir)/posixjmp.h $(topdir)/ansi_stdlib.h
+-util.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
+-util.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
+-util.so: $(topdir)/rltypedefs.h $(topdir)/tilde.h
+-vi_mode.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
+-vi_mode.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
+-vi_mode.so: $(topdir)/history.h $(topdir)/ansi_stdlib.h $(topdir)/tilde.h
+-vi_mode.so: $(topdir)/rltypedefs.h
+-xfree.so: ${BUILD_DIR}/config.h
+-xfree.so: $(topdir)/ansi_stdlib.h
+-xmalloc.so: ${BUILD_DIR}/config.h
+-xmalloc.so: $(topdir)/ansi_stdlib.h
+-
+-bind.so: $(topdir)/rlshell.h
+-histfile.so: $(topdir)/rlshell.h
+-nls.so: $(topdir)/rlshell.h
+-readline.so: $(topdir)/rlshell.h
+-shell.so: $(topdir)/rlshell.h
+-terminal.so: $(topdir)/rlshell.h
+-histexpand.so: $(topdir)/rlshell.h
+-
+-colors.so: $(BUILD_DIR)/config.h $(topdir)/colors.h
+-colors.so: $(topdir)/rlconf.h
+-colors.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/rltypedefs.h
+-colors.so: $(topdir)/chardefs.h $(topdir)/tilde.h $(topdir)/rlstdc.h
+-colors.so: $(topdir)/ansi_stdlib.h $(topdir)/posixstat.h
+-parse-colors.so: $(BUILD_DIR)/config.h $(topdir)/colors.h $(topdir)/parse-colors.h
+-parse-colors.so: $(topdir)/rldefs.h $(topdir)/rlconf.h
+-parse-colors.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/rltypedefs.h
+-parse-colors.so: $(topdir)/chardefs.h $(topdir)/tilde.h $(topdir)/rlstdc.h
+-
+-bind.so: $(topdir)/rlprivate.h
+-callback.so: $(topdir)/rlprivate.h
+-complete.so: $(topdir)/rlprivate.h
+-display.so: $(topdir)/rlprivate.h
+-input.so: $(topdir)/rlprivate.h
+-isearch.so: $(topdir)/rlprivate.h
+-kill.so: $(topdir)/rlprivate.h
+-macro.so: $(topdir)/rlprivate.h
+-mbutil.so: $(topdir)/rlprivate.h
+-misc.so: $(topdir)/rlprivate.h
+-nls.so: $(topdir)/rlprivate.h
+-parens.so: $(topdir)/rlprivate.h
+-readline.so: $(topdir)/rlprivate.h
+-rltty.so: $(topdir)/rlprivate.h
+-search.so: $(topdir)/rlprivate.h
+-signals.so: $(topdir)/rlprivate.h
+-terminal.so: $(topdir)/rlprivate.h
+-text.so: $(topdir)/rlprivate.h
+-undo.so: $(topdir)/rlprivate.h
+-util.so: $(topdir)/rlprivate.h
+-vi_mode.so: $(topdir)/rlprivate.h
+-colors.so: $(topdir)/rlprivate.h
+-parse-colors.so: $(topdir)/rlprivate.h
+-
+-bind.so: $(topdir)/xmalloc.h
+-callback.so: $(topdir)/xmalloc.h
+-complete.so: $(topdir)/xmalloc.h
+-display.so: $(topdir)/xmalloc.h
+-funmap.so: $(topdir)/xmalloc.h
+-histexpand.so: $(topdir)/xmalloc.h
+-histfile.so: $(topdir)/xmalloc.h
+-history.so: $(topdir)/xmalloc.h
+-input.so: $(topdir)/xmalloc.h
+-isearch.so: $(topdir)/xmalloc.h
+-keymaps.so: $(topdir)/xmalloc.h
+-kill.so: $(topdir)/xmalloc.h
+-macro.so: $(topdir)/xmalloc.h
+-mbutil.so: $(topdir)/xmalloc.h
+-misc.so: $(topdir)/xmalloc.h
+-readline.so: $(topdir)/xmalloc.h
+-savestring.so: $(topdir)/xmalloc.h
+-search.so: $(topdir)/xmalloc.h
+-shell.so: $(topdir)/xmalloc.h
+-terminal.so: $(topdir)/xmalloc.h
+-text.so: $(topdir)/xmalloc.h
+-tilde.so: $(topdir)/xmalloc.h
+-undo.so: $(topdir)/xmalloc.h
+-util.so: $(topdir)/xmalloc.h
+-vi_mode.so: $(topdir)/xmalloc.h
+-xfree.so: $(topdir)/xmalloc.h
+-xmalloc.so: $(topdir)/xmalloc.h
+-colors.so: $(topdir)/xmalloc.h
+-parse-colors.so: $(topdir)/xmalloc.h
+-
+-complete.so: $(topdir)/rlmbutil.h
+-display.so: $(topdir)/rlmbutil.h
+-histexpand.so: $(topdir)/rlmbutil.h
+-input.so: $(topdir)/rlmbutil.h
+-isearch.so: $(topdir)/rlmbutil.h
+-mbutil.so: $(topdir)/rlmbutil.h
+-misc.so: $(topdir)/rlmbutil.h
+-readline.so: $(topdir)/rlmbutil.h
+-search.so: $(topdir)/rlmbutil.h
+-text.so: $(topdir)/rlmbutil.h
+-vi_mode.so: $(topdir)/rlmbutil.h
+-colors.so: $(topdir)/rlmbutil.h
+-parse-colors.so: $(topdir)/rlmbutil.h
+-
+-bind.so: $(topdir)/bind.c
+-callback.so: $(topdir)/callback.c
+-compat.so: $(topdir)/compat.c
+-complete.so: $(topdir)/complete.c
+-display.so: $(topdir)/display.c
+-funmap.so: $(topdir)/funmap.c
+-input.so: $(topdir)/input.c
+-isearch.so: $(topdir)/isearch.c
+-keymaps.so: $(topdir)/keymaps.c $(topdir)/emacs_keymap.c $(topdir)/vi_keymap.c
+-kill.so: $(topdir)/kill.c
+-macro.so: $(topdir)/macro.c
+-mbutil.so: $(topdir)/mbutil.c
+-misc.so: $(topdir)/mbutil.c
+-nls.so: $(topdir)/nls.c
+-parens.so: $(topdir)/parens.c
+-readline.so: $(topdir)/readline.c
+-rltty.so: $(topdir)/rltty.c
+-savestring.so: $(topdir)/savestring.c
+-search.so: $(topdir)/search.c
+-shell.so: $(topdir)/shell.c
+-signals.so: $(topdir)/signals.c
+-terminal.so: $(topdir)/terminal.c
+-text.so: $(topdir)/text.c
+-tilde.so: $(topdir)/tilde.c
+-undo.so: $(topdir)/undo.c
+-util.so: $(topdir)/util.c
+-vi_mode.so: $(topdir)/vi_mode.c
+-xfree.so: $(topdir)/xfree.c
+-xmalloc.so: $(topdir)/xmalloc.c
+-
+-histexpand.so: $(topdir)/histexpand.c
+-histfile.so: $(topdir)/histfile.c
+-history.so: $(topdir)/history.c
+-histsearch.so: $(topdir)/histsearch.c
+-
+-bind.so: bind.c
+-callback.so: callback.c
+-comapt.so: compat.c
+-complete.so: complete.c
+-display.so: display.c
+-funmap.so: funmap.c
+-input.so: input.c
+-isearch.so: isearch.c
+-keymaps.so: keymaps.c emacs_keymap.c vi_keymap.c
+-kill.so: kill.c
+-macro.so: macro.c
+-mbutil.so: mbutil.c
+-misc.so: misc.c
+-nls.so: nls.c
+-parens.so: parens.c
+-readline.so: readline.c
+-rltty.so: rltty.c
+-savestring.so: savestring.c
+-search.so: search.c
+-signals.so: signals.c
+-shell.so: shell.c
+-terminal.so: terminal.c
+-text.so: text.c
+-tilde.so: tilde.c
+-undo.so: undo.c
+-util.so: util.c
+-vi_mode.so: vi_mode.c
+-xfree.so: xfree.c
+-xmalloc.so: xmalloc.c
+-
+-colors.so: colors.c
+-parse-colors.so: parse-colors.c
+-
+-histexpand.so: histexpand.c
+-histfile.so: histfile.c
+-history.so: history.c
+-histsearch.so: histsearch.c
++parens$(SO): $(topdir)/rlconf.h ${BUILD_DIR}/config.h
++parens$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
++parens$(SO): $(topdir)/rltypedefs.h
++parens$(SO): $(topdir)/tilde.h
++rltty$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
++rltty$(SO): $(topdir)/rltty.h $(topdir)/tilde.h
++rltty$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
++rltty$(SO): $(topdir)/rltypedefs.h
++savestring$(SO): ${BUILD_DIR}/config.h
++search$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
++search$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
++search$(SO): $(topdir)/ansi_stdlib.h $(topdir)/history.h $(topdir)/tilde.h
++search$(SO): $(topdir)/rltypedefs.h
++signals$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
++signals$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
++signals$(SO): $(topdir)/history.h $(topdir)/tilde.h
++signals$(SO): $(topdir)/rltypedefs.h
++terminal$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
++terminal$(SO): $(topdir)/tcap.h
++terminal$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
++terminal$(SO): $(topdir)/tilde.h $(topdir)/history.h
++terminal$(SO): $(topdir)/rltypedefs.h
++text$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
++text$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
++text$(SO): $(topdir)/rltypedefs.h
++text$(SO): $(topdir)/history.h $(topdir)/tilde.h $(topdir)/ansi_stdlib.h
++tilde$(SO): $(topdir)/ansi_stdlib.h ${BUILD_DIR}/config.h $(topdir)/tilde.h
++undo$(SO): $(topdir)/ansi_stdlib.h
++undo$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
++undo$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
++undo$(SO): $(topdir)/rltypedefs.h
++undo$(SO): $(topdir)/tilde.h $(topdir)/history.h
++util$(SO): $(topdir)/posixjmp.h $(topdir)/ansi_stdlib.h
++util$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
++util$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
++util$(SO): $(topdir)/rltypedefs.h $(topdir)/tilde.h
++vi_mode$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
++vi_mode$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
++vi_mode$(SO): $(topdir)/history.h $(topdir)/ansi_stdlib.h $(topdir)/tilde.h
++vi_mode$(SO): $(topdir)/rltypedefs.h
++xfree$(SO): ${BUILD_DIR}/config.h
++xfree$(SO): $(topdir)/ansi_stdlib.h
++xmalloc$(SO): ${BUILD_DIR}/config.h
++xmalloc$(SO): $(topdir)/ansi_stdlib.h
++
++bind$(SO): $(topdir)/rlshell.h
++histfile$(SO): $(topdir)/rlshell.h
++nls$(SO): $(topdir)/rlshell.h
++readline$(SO): $(topdir)/rlshell.h
++shell$(SO): $(topdir)/rlshell.h
++terminal$(SO): $(topdir)/rlshell.h
++histexpand$(SO): $(topdir)/rlshell.h
++
++colors$(SO): $(BUILD_DIR)/config.h $(topdir)/colors.h
++colors$(SO): $(topdir)/rlconf.h
++colors$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/rltypedefs.h
++colors$(SO): $(topdir)/chardefs.h $(topdir)/tilde.h $(topdir)/rlstdc.h
++colors$(SO): $(topdir)/ansi_stdlib.h $(topdir)/posixstat.h
++parse-colors$(SO): $(BUILD_DIR)/config.h $(topdir)/colors.h $(topdir)/parse-colors.h
++parse-colors$(SO): $(topdir)/rldefs.h $(topdir)/rlconf.h
++parse-colors$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/rltypedefs.h
++parse-colors$(SO): $(topdir)/chardefs.h $(topdir)/tilde.h $(topdir)/rlstdc.h
++
++bind$(SO): $(topdir)/rlprivate.h
++callback$(SO): $(topdir)/rlprivate.h
++complete$(SO): $(topdir)/rlprivate.h
++display$(SO): $(topdir)/rlprivate.h
++input$(SO): $(topdir)/rlprivate.h
++isearch$(SO): $(topdir)/rlprivate.h
++kill$(SO): $(topdir)/rlprivate.h
++macro$(SO): $(topdir)/rlprivate.h
++mbutil$(SO): $(topdir)/rlprivate.h
++misc$(SO): $(topdir)/rlprivate.h
++nls$(SO): $(topdir)/rlprivate.h
++parens$(SO): $(topdir)/rlprivate.h
++readline$(SO): $(topdir)/rlprivate.h
++rltty$(SO): $(topdir)/rlprivate.h
++search$(SO): $(topdir)/rlprivate.h
++signals$(SO): $(topdir)/rlprivate.h
++terminal$(SO): $(topdir)/rlprivate.h
++text$(SO): $(topdir)/rlprivate.h
++undo$(SO): $(topdir)/rlprivate.h
++util$(SO): $(topdir)/rlprivate.h
++vi_mode$(SO): $(topdir)/rlprivate.h
++colors$(SO): $(topdir)/rlprivate.h
++parse-colors$(SO): $(topdir)/rlprivate.h
++
++bind$(SO): $(topdir)/xmalloc.h
++callback$(SO): $(topdir)/xmalloc.h
++complete$(SO): $(topdir)/xmalloc.h
++display$(SO): $(topdir)/xmalloc.h
++funmap$(SO): $(topdir)/xmalloc.h
++histexpand$(SO): $(topdir)/xmalloc.h
++histfile$(SO): $(topdir)/xmalloc.h
++history$(SO): $(topdir)/xmalloc.h
++input$(SO): $(topdir)/xmalloc.h
++isearch$(SO): $(topdir)/xmalloc.h
++keymaps$(SO): $(topdir)/xmalloc.h
++kill$(SO): $(topdir)/xmalloc.h
++macro$(SO): $(topdir)/xmalloc.h
++mbutil$(SO): $(topdir)/xmalloc.h
++misc$(SO): $(topdir)/xmalloc.h
++readline$(SO): $(topdir)/xmalloc.h
++savestring$(SO): $(topdir)/xmalloc.h
++search$(SO): $(topdir)/xmalloc.h
++shell$(SO): $(topdir)/xmalloc.h
++terminal$(SO): $(topdir)/xmalloc.h
++text$(SO): $(topdir)/xmalloc.h
++tilde$(SO): $(topdir)/xmalloc.h
++undo$(SO): $(topdir)/xmalloc.h
++util$(SO): $(topdir)/xmalloc.h
++vi_mode$(SO): $(topdir)/xmalloc.h
++xfree$(SO): $(topdir)/xmalloc.h
++xmalloc$(SO): $(topdir)/xmalloc.h
++colors$(SO): $(topdir)/xmalloc.h
++parse-colors$(SO): $(topdir)/xmalloc.h
++
++complete$(SO): $(topdir)/rlmbutil.h
++display$(SO): $(topdir)/rlmbutil.h
++histexpand$(SO): $(topdir)/rlmbutil.h
++input$(SO): $(topdir)/rlmbutil.h
++isearch$(SO): $(topdir)/rlmbutil.h
++mbutil$(SO): $(topdir)/rlmbutil.h
++misc$(SO): $(topdir)/rlmbutil.h
++readline$(SO): $(topdir)/rlmbutil.h
++search$(SO): $(topdir)/rlmbutil.h
++text$(SO): $(topdir)/rlmbutil.h
++vi_mode$(SO): $(topdir)/rlmbutil.h
++colors$(SO): $(topdir)/rlmbutil.h
++parse-colors$(SO): $(topdir)/rlmbutil.h
++
++bind$(SO): $(topdir)/bind.c
++callback$(SO): $(topdir)/callback.c
++compat$(SO): $(topdir)/compat.c
++complete$(SO): $(topdir)/complete.c
++display$(SO): $(topdir)/display.c
++funmap$(SO): $(topdir)/funmap.c
++input$(SO): $(topdir)/input.c
++isearch$(SO): $(topdir)/isearch.c
++keymaps$(SO): $(topdir)/keymaps.c $(topdir)/emacs_keymap.c $(topdir)/vi_keymap.c
++kill$(SO): $(topdir)/kill.c
++macro$(SO): $(topdir)/macro.c
++mbutil$(SO): $(topdir)/mbutil.c
++misc$(SO): $(topdir)/mbutil.c
++nls$(SO): $(topdir)/nls.c
++parens$(SO): $(topdir)/parens.c
++readline$(SO): $(topdir)/readline.c
++rltty$(SO): $(topdir)/rltty.c
++savestring$(SO): $(topdir)/savestring.c
++search$(SO): $(topdir)/search.c
++shell$(SO): $(topdir)/shell.c
++signals$(SO): $(topdir)/signals.c
++terminal$(SO): $(topdir)/terminal.c
++text$(SO): $(topdir)/text.c
++tilde$(SO): $(topdir)/tilde.c
++undo$(SO): $(topdir)/undo.c
++util$(SO): $(topdir)/util.c
++vi_mode$(SO): $(topdir)/vi_mode.c
++xfree$(SO): $(topdir)/xfree.c
++xmalloc$(SO): $(topdir)/xmalloc.c
++
++histexpand$(SO): $(topdir)/histexpand.c
++histfile$(SO): $(topdir)/histfile.c
++history$(SO): $(topdir)/history.c
++histsearch$(SO): $(topdir)/histsearch.c
++
++bind$(SO): bind.c
++callback$(SO): callback.c
++comapt$(SO): compat.c
++complete$(SO): complete.c
++display$(SO): display.c
++funmap$(SO): funmap.c
++input$(SO): input.c
++isearch$(SO): isearch.c
++keymaps$(SO): keymaps.c emacs_keymap.c vi_keymap.c
++kill$(SO): kill.c
++macro$(SO): macro.c
++mbutil$(SO): mbutil.c
++misc$(SO): misc.c
++nls$(SO): nls.c
++parens$(SO): parens.c
++readline$(SO): readline.c
++rltty$(SO): rltty.c
++savestring$(SO): savestring.c
++search$(SO): search.c
++signals$(SO): signals.c
++shell$(SO): shell.c
++terminal$(SO): terminal.c
++text$(SO): text.c
++tilde$(SO): tilde.c
++undo$(SO): undo.c
++util$(SO): util.c
++vi_mode$(SO): vi_mode.c
++xfree$(SO): xfree.c
++xmalloc$(SO): xmalloc.c
++
++colors$(SO): colors.c
++parse-colors$(SO): parse-colors.c
++
++histexpand$(SO): histexpand.c
++histfile$(SO): histfile.c
++history$(SO): history.c
++histsearch$(SO): histsearch.c
diff --git a/sys-libs/readline/files/readline-7.0-mingw.patch b/sys-libs/readline/files/readline-7.0-mingw.patch
new file mode 100644
index 0000000000..f003038d2c
--- /dev/null
+++ b/sys-libs/readline/files/readline-7.0-mingw.patch
@@ -0,0 +1,152 @@
+--- a/colors.c
++++ b/colors.c
+@@ -37,6 +37,10 @@
+ #include "posixstat.h" // stat related macros (S_ISREG, ...)
+ #include <fcntl.h> // S_ISUID
+
++#ifndef S_ISDIR
++#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
++#endif
++
+ // strlen()
+ #if defined (HAVE_STRING_H)
+ # include <string.h>
+@@ -182,12 +186,17 @@ _rl_print_color_indicator (const char *f
+ if (S_ISREG (mode))
+ {
+ colored_filetype = C_FILE;
+-
++#ifdef S_ISUID
+ if ((mode & S_ISUID) != 0 && is_colored (C_SETUID))
+ colored_filetype = C_SETUID;
+- else if ((mode & S_ISGID) != 0 && is_colored (C_SETGID))
++ else
++#endif
++#ifdef S_ISGID
++ if ((mode & S_ISGID) != 0 && is_colored (C_SETGID))
+ colored_filetype = C_SETGID;
+- else if (is_colored (C_CAP) && 0) //f->has_capability)
++ else
++#endif
++ if (is_colored (C_CAP) && 0) //f->has_capability)
+ colored_filetype = C_CAP;
+ else if ((mode & S_IXUGO) != 0 && is_colored (C_EXEC))
+ colored_filetype = C_EXEC;
+@@ -211,12 +220,16 @@ _rl_print_color_indicator (const char *f
+ colored_filetype = C_STICKY;
+ #endif
+ }
++#if defined (S_ISLNK)
+ else if (S_ISLNK (mode))
+ colored_filetype = C_LINK;
++#endif
+ else if (S_ISFIFO (mode))
+ colored_filetype = C_FIFO;
++#if defined (S_ISSOCK)
+ else if (S_ISSOCK (mode))
+ colored_filetype = C_SOCK;
++#endif
+ else if (S_ISBLK (mode))
+ colored_filetype = C_BLK;
+ else if (S_ISCHR (mode))
+--- a/histfile.c
++++ b/histfile.c
+@@ -606,12 +606,14 @@ history_truncate_file (fname, lines)
+ history_lines_written_to_file = 0;
+ }
+
++#if defined (HAVE_CHOWN)
+ /* Make sure the new filename is owned by the same user as the old. If one
+ user is running this, it's a no-op. If the shell is running after sudo
+ with a shared history file, we don't want to leave the history file
+ owned by root. */
+ if (rv == 0 && exists)
+ r = chown (filename, finfo.st_uid, finfo.st_gid);
++#endif
+
+ xfree (filename);
+ FREE (tempname);
+@@ -753,12 +755,14 @@ mmap_error:
+ history_lines_written_to_file = 0;
+ }
+
++#if defined (HAVE_CHOWN)
+ /* Make sure the new filename is owned by the same user as the old. If one
+ user is running this, it's a no-op. If the shell is running after sudo
+ with a shared history file, we don't want to leave the history file
+ owned by root. */
+ if (rv == 0 && exists)
+ mode = chown (histname, finfo.st_uid, finfo.st_gid);
++#endif
+
+ FREE (histname);
+ FREE (tempname);
+--- a/input.c
++++ b/input.c
+@@ -71,6 +71,10 @@ extern int errno;
+ #include "rlshell.h"
+ #include "xmalloc.h"
+
++#if defined (__MINGW32__)
++#include <conio.h>
++#endif
++
+ /* What kind of non-blocking I/O do we have? */
+ #if !defined (O_NDELAY) && defined (O_NONBLOCK)
+ # define O_NDELAY O_NONBLOCK /* Posix style */
+--- a/posixstat.h
++++ b/posixstat.h
+@@ -78,30 +78,44 @@
+
+ #if defined (S_IFBLK) && !defined (S_ISBLK)
+ #define S_ISBLK(m) (((m)&S_IFMT) == S_IFBLK) /* block device */
++#elif !defined (S_IFBLK)
++#define S_ISBLK(m) 0
+ #endif
+
+ #if defined (S_IFCHR) && !defined (S_ISCHR)
+ #define S_ISCHR(m) (((m)&S_IFMT) == S_IFCHR) /* character device */
++#elif !defined (S_IFCHR)
++#define S_ISCHR(m) 0
+ #endif
+
+ #if defined (S_IFDIR) && !defined (S_ISDIR)
+ #define S_ISDIR(m) (((m)&S_IFMT) == S_IFDIR) /* directory */
++#elif !defined (S_IFDIR)
++#define S_ISDIR(m) 0
+ #endif
+
+ #if defined (S_IFREG) && !defined (S_ISREG)
+ #define S_ISREG(m) (((m)&S_IFMT) == S_IFREG) /* file */
++#elif !defined (S_IFREG)
++#define S_ISREG(m) 0
+ #endif
+
+ #if defined (S_IFIFO) && !defined (S_ISFIFO)
+ #define S_ISFIFO(m) (((m)&S_IFMT) == S_IFIFO) /* fifo - named pipe */
++#elif !defined (S_IFIFO)
++#define S_ISFIFO(m) 0
+ #endif
+
+ #if defined (S_IFLNK) && !defined (S_ISLNK)
+ #define S_ISLNK(m) (((m)&S_IFMT) == S_IFLNK) /* symbolic link */
++#elif !defined (S_IFLNK)
++#define S_ISLNK(m) 0
+ #endif
+
+ #if defined (S_IFSOCK) && !defined (S_ISSOCK)
+ #define S_ISSOCK(m) (((m)&S_IFMT) == S_IFSOCK) /* socket */
++#elif !defined (S_IFSOCK)
++#define S_ISSOCK(m) 0
+ #endif
+
+ /*
+@@ -137,6 +151,8 @@
+ /* These are non-standard, but are used in builtins.c$symbolic_umask() */
+ #define S_IRUGO (S_IRUSR | S_IRGRP | S_IROTH)
+ #define S_IWUGO (S_IWUSR | S_IWGRP | S_IWOTH)
++#if defined(S_IXUSR) && defined(S_IXOTH)
+ #define S_IXUGO (S_IXUSR | S_IXGRP | S_IXOTH)
++#endif
+
+ #endif /* _POSIXSTAT_H_ */
diff --git a/sys-libs/readline/files/readline-7.0-missing-echo-proto.patch b/sys-libs/readline/files/readline-7.0-missing-echo-proto.patch
new file mode 100644
index 0000000000..cad3c8ca2c
--- /dev/null
+++ b/sys-libs/readline/files/readline-7.0-missing-echo-proto.patch
@@ -0,0 +1,14 @@
+https://lists.gnu.org/archive/html/bug-readline/2016-11/msg00000.html
+
+fix from upstream
+
+--- a/readline.h
++++ b/readline.h
+@@ -413,6 +413,7 @@
+ extern void rl_tty_set_default_bindings PARAMS((Keymap));
+ extern void rl_tty_unset_default_bindings PARAMS((Keymap));
+
++extern int rl_tty_set_echoing PARAMS((int));
+ extern int rl_reset_terminal PARAMS((const char *));
+ extern void rl_resize_terminal PARAMS((void));
+ extern void rl_set_screen_size PARAMS((int, int));
diff --git a/sys-libs/readline/readline-7.0_p5.ebuild b/sys-libs/readline/readline-7.0_p5.ebuild
new file mode 100644
index 0000000000..2e3066f283
--- /dev/null
+++ b/sys-libs/readline/readline-7.0_p5.ebuild
@@ -0,0 +1,215 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic multilib-minimal toolchain-funcs libtool ltprune
+
+# Official patches
+# See ftp://ftp.cwru.edu/pub/bash/readline-7.0-patches/
+PLEVEL="${PV##*_p}"
+MY_PV="${PV/_p*}"
+MY_PV="${MY_PV/_/-}"
+MY_P="${PN}-${MY_PV}"
+[[ ${PV} != *_p* ]] && PLEVEL=0
+patches() {
+ [[ ${PLEVEL} -eq 0 ]] && return 1
+ local opt=$1
+ eval set -- {1..${PLEVEL}}
+ set -- $(printf "${PN}${MY_PV/\.}-%03d " "$@")
+ if [[ ${opt} == -s ]] ; then
+ echo "${@/#/${DISTDIR}/}"
+ else
+ local u
+ for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${PN} ; do
+ printf "${u}/${PN}-${MY_PV}-patches/%s " "$@"
+ done
+ fi
+}
+
+DESCRIPTION="Another cute console display library"
+HOMEPAGE="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html"
+
+case ${PV} in
+ *_alpha*|*_beta*|*_rc*)
+ SRC_URI+=" ftp://ftp.cwru.edu/pub/bash/${MY_P}.tar.gz"
+ ;;
+ *)
+ SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz $(patches)"
+ ;;
+esac
+
+HOSTLTV="0.1.0"
+HOSTLT="host-libtool-${HOSTLTV}"
+HOSTLT_URI="https://github.com/haubi/host-libtool/releases/download/v${HOSTLTV}/${HOSTLT}.tar.gz"
+SRC_URI+=" ${HOSTLT_URI}"
+HOSTLT_S=${WORKDIR}/${HOSTLT}
+
+LICENSE="GPL-3"
+SLOT="0/7" # subslot matches SONAME major
+KEYWORDS="~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="static-libs utils"
+
+RDEPEND=">=sys-libs/ncurses-5.9-r3:0=[static-libs?,${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-5.0-no_rpath.patch
+ "${FILESDIR}"/${PN}-6.2-rlfe-tgoto.patch #385091
+ "${FILESDIR}"/${PN}-7.0-headers.patch
+ "${FILESDIR}"/${PN}-7.0-missing-echo-proto.patch
+ "${FILESDIR}"/${PN}-7.0-mingw.patch
+
+ "${FILESDIR}"/${PN}-5.2-rlfe-aix-eff_uid.patch
+ "${FILESDIR}"/${PN}-5.2-rlfe-hpux.patch
+ "${FILESDIR}"/${PN}-5.2-ia64hpux.patch
+ "${FILESDIR}"/${PN}-6.0-mint.patch
+ "${FILESDIR}"/${PN}-6.0-rlfe-solaris.patch
+ "${FILESDIR}"/${PN}-6.1-aix-soname.patch
+ "${FILESDIR}"/${PN}-6.1-aix-expfull.patch
+ "${FILESDIR}"/${PN}-6.3-interix.patch
+ "${FILESDIR}"/${PN}-6.3-darwin-shlib-versioning.patch
+
+ "${FILESDIR}"/${PN}-7.0-libtool.patch # this enables building via libtool
+)
+
+# Needed because we don't want the patches being unpacked
+# (which emits annoying and useless error messages)
+src_unpack() {
+ unpack ${HOSTLT}.tar.gz
+ S="${HOSTLT_S}" elibtoolize
+ unpack ${MY_P}.tar.gz
+}
+
+src_prepare() {
+ [[ ${PLEVEL} -gt 0 ]] && eapply -p0 $(patches -s)
+ default
+
+ # Force ncurses linking. #71420
+ # Use pkg-config to get the right values. #457558
+ local ncurses_libs=$($(tc-getPKG_CONFIG) ncurses --libs)
+ sed -i \
+ -e "/^SHLIB_LIBS=/s:=.*:='${ncurses_libs}':" \
+ support/shobj-conf || die
+ sed -i \
+ -e "/^[[:space:]]*LIBS=.-lncurses/s:-lncurses:${ncurses_libs}:" \
+ examples/rlfe/configure || die
+
+ # fix building under Gentoo/FreeBSD; upstream FreeBSD deprecated
+ # objformat for years, so we don't want to rely on that.
+ sed -i -e '/objformat/s:if .*; then:if true; then:' support/shobj-conf || die
+
+ ln -s ../.. examples/rlfe/readline || die # for local readline headers
+}
+
+src_configure() {
+ mkdir -p "${WORKDIR}/${HOSTLT}-${ABI}" || die
+ cd "${WORKDIR}/${HOSTLT}-${ABI}" || die
+ ECONF_SOURCE="${HOSTLT_S}" econf $(use_enable static-libs static)
+ cd "${BUILD_DIR}"
+
+ export PATH="${WORKDIR}/${HOSTLT}-${ABI}:${PATH}"
+ export ncurses_libs=$($(tc-getPKG_CONFIG) ncurses --libs)
+
+ # fix implicit decls with widechar funcs
+ append-cppflags -D_GNU_SOURCE
+ # https://lists.gnu.org/archive/html/bug-readline/2010-07/msg00013.html
+ append-cppflags -Dxrealloc=_rl_realloc -Dxmalloc=_rl_malloc -Dxfree=_rl_free
+
+ # Make sure configure picks a better ar than `ar`. #484866
+ export ac_cv_prog_AR=$(tc-getAR)
+
+ # Force the test since we used sed above to force it.
+ export bash_cv_termcap_lib=ncurses
+
+ # Control cross-compiling cases when we know the right answer.
+ # In cases where the C library doesn't support wide characters, readline
+ # itself won't work correctly, so forcing the answer below should be OK.
+ if tc-is-cross-compiler ; then
+ use kernel_Winnt || export bash_cv_func_sigsetjmp='present'
+ export bash_cv_func_ctype_nonascii='yes'
+ export bash_cv_wcwidth_broken='no' #503312
+ fi
+
+ # This is for rlfe, but we need to make sure LDFLAGS doesn't change
+ # so we can re-use the config cache file between the two.
+ append-ldflags -L.
+ export LDFLAGS="-L${BUILD_DIR}/shlib ${LDFLAGS}" # search local dirs first
+
+ multilib-minimal_src_configure
+}
+
+multilib_src_configure() {
+ local myeconfargs=(
+ --cache-file="${BUILD_DIR}"/config.cache
+ --with-curses
++ --disable-shared # use libtool instead
+ )
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+
+ if use utils && multilib_is_native_abi && ! tc-is-cross-compiler ; then
+ # code is full of AC_TRY_RUN()
+ mkdir -p examples/rlfe || die
+ cd examples/rlfe || die
+ ECONF_SOURCE="${S}"/examples/rlfe \
+ econf --cache-file="${BUILD_DIR}"/config.cache
+ fi
+}
+
+multilib_src_compile() {
+ export PATH="${WORKDIR}/${HOSTLT}-${ABI}:${PATH}"
+ export ncurses_libs=$($(tc-getPKG_CONFIG) ncurses --libs)
+ emake shared
+
+ if use utils && multilib_is_native_abi && ! tc-is-cross-compiler ; then
+ # code is full of AC_TRY_RUN()
+ cd examples/rlfe || die
+ local l
+ for l in readline history ; do
+ ln -s ../../shlib/lib${l}$(get_libname)* lib${l}$(get_libname) || die
+ ln -s ../../lib${l}.a lib${l}.a || die
+ done
+ emake LTLINK='libtool --mode=link --tag=CC'
+ fi
+}
+
+multilib_src_install() {
+ export PATH="${WORKDIR}/${HOSTLT}-${ABI}:${PATH}"
+ export ncurses_libs=$($(tc-getPKG_CONFIG) ncurses --libs)
+ emake DESTDIR="${D}" install-shared
+
+ if multilib_is_native_abi ; then
+ gen_usr_ldscript -a readline history #4411
+
+ if use utils && ! tc-is-cross-compiler; then
+ dobin examples/rlfe/rlfe
+ fi
+ fi
+}
+
+multilib_src_install_all() {
+ HTML_DOCS="doc/history.html doc/readline.html doc/rluserman.html" einstalldocs
+ dodoc USAGE
+ docinto ps
+ dodoc doc/*.ps
+
+ prune_libtool_files --all
+}
+pkg_preinst() {
+ # bug #29865
+ # Reappeared in #595324 with paludis so keeping this for now...
+ preserve_old_lib \
+ /$(get_libdir)/lib{history,readline}$(get_libname 4) \
+ /$(get_libdir)/lib{history,readline}$(get_libname 5) \
+ /$(get_libdir)/lib{history,readline}$(get_libname 6)
+}
+
+pkg_postinst() {
+ preserve_old_lib_notify \
+ /$(get_libdir)/lib{history,readline}$(get_libname 4) \
+ /$(get_libdir)/lib{history,readline}$(get_libname 5) \
+ /$(get_libdir)/lib{history,readline}$(get_libname 6)
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/proj/prefix:master commit in: sys-libs/readline/, sys-libs/readline/files/
@ 2020-12-26 12:57 Fabian Groffen
0 siblings, 0 replies; 3+ messages in thread
From: Fabian Groffen @ 2020-12-26 12:57 UTC (permalink / raw
To: gentoo-commits
commit: 2aeeb30dab6abf608919351a3d63603e731f6b85
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 26 12:56:27 2020 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat Dec 26 12:56:27 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=2aeeb30d
sys-libs/readline: migrated to gx86
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
sys-libs/readline/Manifest | 6 -
.../readline/files/readline-5.0-no_rpath.patch | 13 --
sys-libs/readline/files/readline-6.0-mint.patch | 36 ----
.../readline/files/readline-6.0-rlfe-solaris.patch | 17 --
.../readline/files/readline-6.2-rlfe-tgoto.patch | 14 --
| 24 ---
.../readline-8.0-darwin-shlib-versioning.patch | 40 -----
| 17 --
sys-libs/readline/metadata.xml | 11 --
sys-libs/readline/readline-8.0_p4.ebuild | 181 --------------------
sys-libs/readline/readline-8.1.ebuild | 188 ---------------------
11 files changed, 547 deletions(-)
diff --git a/sys-libs/readline/Manifest b/sys-libs/readline/Manifest
deleted file mode 100644
index db9715837e..0000000000
--- a/sys-libs/readline/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-DIST readline-8.0.tar.gz 2975937 BLAKE2B 95e08b28cc46582f036379413810ca40c97d4d3bc59a9e03e04e57d531573abfbe955f6f1cb86e39c208bf6c3f4c618cff70a87bec596d0b9120909d6c5a2f69 SHA512 41759d27bc3a258fefd7f4ff3277fa6ab9c21abb7b160e1a75aa8eba547bd90b288514e76264bd94fb0172da8a4faa54aab2c07b68a0356918ecf7f1969e866f
-DIST readline-8.1.tar.gz 2993288 BLAKE2B f0feca1ea3517b2b613adacac8c997cce0e86aa2f410c82a40ce1a2e128067112b4c68dbf25b808291c28c47583345abac994ce10b8d117958afcb96ee5e7c69 SHA512 27790d0461da3093a7fee6e89a51dcab5dc61928ec42e9228ab36493b17220641d5e481ea3d8fee5ee0044c70bf960f55c7d3f1a704cf6b9c42e5c269b797e00
-DIST readline80-001 927 BLAKE2B 95e3ac33ff4adb65813274864c17781056a8ea065f9a76571b4a6bcb2ebab090c3a021fa2b621832c11b5995e48a8a26dd6e3a8f5864a8e8b520bfcf85d7c4ab SHA512 a148cda6ac97935d51ede1bbacf847d7d2cba8861cf3941d32e3da2f45f16dcc05b20845b63d4264692520db8329e1236cf2bc4fd8ccbe6e40921bbbdeb2cb1c
-DIST readline80-002 1401 BLAKE2B a2f511272f6d651208469998330059d6bae17bb8b704b64468685bb0368b76df1ca5b1dcd8e5cb0019e80932130c8a92fd1a305679bf79f0b801532a94c4b4ae SHA512 a941d142a59fe592cc45c1cf4d416e2fc0ab543dd6a0496fb8b2ec6f651cedd6fb9e0c105f14880700b69b2d6912653b3f66371e45cbe4adc0cc9554801afd3c
-DIST readline80-003 2158 BLAKE2B d8910aef1b796a59500b255df8db71ad1738dd164fd69827759eade74b6d9806ecd364839cfa904fc2f2d48352342155f670e5ec43aac0693f36820fb7139a4d SHA512 85235fca047b4ac87b846d998fffc67ae67ed365b068fd2743e84f11fd00086f85e622955192e07e3560965e32ff5f6d014e0146cde528fb0d0f7b5b829875ca
-DIST readline80-004 1275 BLAKE2B ac260bab163f17ccc783e0c2a21351b05e9e86ad973383d228d10ec749f265df8588c38946c9da15e987192b50f1bcb81141c2f4e171f65455f58521e864a534 SHA512 301ced2361e7583468f9932038936387a016c20d1c41966658a78c7f7c48c70308bf66b3228de0a3c6fc880427b6a90ee1ac4d2693daed432e5ae970671a7461
diff --git a/sys-libs/readline/files/readline-5.0-no_rpath.patch b/sys-libs/readline/files/readline-5.0-no_rpath.patch
deleted file mode 100644
index befad63e42..0000000000
--- a/sys-libs/readline/files/readline-5.0-no_rpath.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-ripped from Fedora
-
---- a/support/shobj-conf
-+++ b/support/shobj-conf
-@@ -102,7 +102,7 @@
- SHOBJ_LD='${CC}'
- SHOBJ_LDFLAGS='-shared -Wl,-soname,$@'
-
-- SHLIB_XLDFLAGS='-Wl,-rpath,$(libdir) -Wl,-soname,`basename $@ $(SHLIB_MINOR)`'
-+ SHLIB_XLDFLAGS='-Wl,-soname,`basename $@ $(SHLIB_MINOR)`'
- SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)$(SHLIB_MINOR)'
- ;;
-
diff --git a/sys-libs/readline/files/readline-6.0-mint.patch b/sys-libs/readline/files/readline-6.0-mint.patch
deleted file mode 100644
index d126ba5626..0000000000
--- a/sys-libs/readline/files/readline-6.0-mint.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-Patch by Alan Hourihane for FreeMiNT
-http://archives.gentoo.org/gentoo-alt/msg_c989ade3c4f92f866fe1c40ff2da0c4a.xml
-
-diff -ur readline-5.2/examples/rlfe/rlfe.c readline-5.2-mint/examples/rlfe/rlfe.c
---- readline-5.2/examples/rlfe/rlfe.c 2008-03-11 19:23:25.800436592 +0000
-+++ readline-5.2-mint/examples/rlfe/rlfe.c 2008-03-11 19:23:38.877438387 +0000
-@@ -541,6 +541,13 @@
- add_special_char(t.c_cc[VDISCARD]);
- #endif
-
-+#ifndef ECHOKE
-+#define ECHOKE 0
-+#endif
-+#ifndef ECHOPRT
-+#define ECHOPRT 0
-+#endif
-+
- t.c_lflag &= ~(ICANON | ISIG | ECHO | ECHOCTL | ECHOE | \
- ECHOK | ECHOKE | ECHONL | ECHOPRT );
- t.c_iflag &= ~ICRNL;
-Only in readline-5.2: readline-5.2-mint.patch
-diff -ur readline-5.2/support/shobj-conf readline-5.2-mint/support/shobj-conf
---- readline-5.2/support/shobj-conf 2006-04-11 14:15:43.000000000 +0100
-+++ readline-5.2-mint/support/shobj-conf 2008-03-11 17:34:33.588499957 +0000
-@@ -487,6 +487,11 @@
- SHLIB_STATUS=unsupported
- ;;
-
-+mint*)
-+ SHOBJ_STATUS=unsupported
-+ SHLIB_STATUS=unsupported
-+ ;;
-+
- cygwin*)
- SHOBJ_LD='$(CC)'
- SHOBJ_LDFLAGS='-shared -Wl,--enable-auto-import -Wl,--enable-auto-image-base -Wl,--export-all -Wl,--out-implib=$(@).a'
diff --git a/sys-libs/readline/files/readline-6.0-rlfe-solaris.patch b/sys-libs/readline/files/readline-6.0-rlfe-solaris.patch
deleted file mode 100644
index cff94ebe15..0000000000
--- a/sys-libs/readline/files/readline-6.0-rlfe-solaris.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-<grobian@gentoo.org>:
-* Panic is just used, but never defined or included (at least not on Solaris)
-
---- a/examples/rlfe/pty.c
-+++ b/examples/rlfe/pty.c
-@@ -54,6 +54,11 @@
- # include <sys/sysmacros.h>
- #endif /* sgi */
-
-+#ifndef Panic
-+# include <string.h>
-+# define Panic(X, Y) fprintf(stderr, "%s: %s", Y, strerror(X))
-+#endif
-+
- #include "extern.h"
-
- /*
diff --git a/sys-libs/readline/files/readline-6.2-rlfe-tgoto.patch b/sys-libs/readline/files/readline-6.2-rlfe-tgoto.patch
deleted file mode 100644
index b898bf053e..0000000000
--- a/sys-libs/readline/files/readline-6.2-rlfe-tgoto.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-https://bugs.gentoo.org/385091
-
-https://lists.gnu.org/archive/html/bug-readline/2011-10/msg00000.html
-
---- a/examples/rlfe/configure
-+++ b/examples/rlfe/configure
-@@ -4062,6 +4062,7 @@ cat confdefs.h >>conftest.$ac_ext
- cat >>conftest.$ac_ext <<_ACEOF
- /* end confdefs.h. */
-
-+extern char *tgoto(char *, int, int);
- main()
- {
- exit(strcmp(tgoto("%p1%d", 0, 1), "1") ? 0 : 1);
diff --git a/sys-libs/readline/files/readline-7.0-headers.patch b/sys-libs/readline/files/readline-7.0-headers.patch
deleted file mode 100644
index 892ec21f51..0000000000
--- a/sys-libs/readline/files/readline-7.0-headers.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 4bc0aa68aff12a59628dd3c99a53360a9aa1ce93 Mon Sep 17 00:00:00 2001
-From: Mike Frysinger <vapier@gentoo.org>
-Date: Thu, 11 Aug 2016 17:49:27 +0800
-Subject: [PATCH] include ctype.h for isdigit usage
-
----
- lib/readline/histexpand.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/lib/readline/histexpand.c b/lib/readline/histexpand.c
-index 46a99aa62e30..13248db83048 100644
---- a/histexpand.c
-+++ b/histexpand.c
-@@ -26,6 +26,7 @@
- #endif
-
- #include <stdio.h>
-+#include <ctype.h>
-
- #if defined (HAVE_STDLIB_H)
- # include <stdlib.h>
---
-2.9.0
-
diff --git a/sys-libs/readline/files/readline-8.0-darwin-shlib-versioning.patch b/sys-libs/readline/files/readline-8.0-darwin-shlib-versioning.patch
deleted file mode 100644
index 5012300b7c..0000000000
--- a/sys-libs/readline/files/readline-8.0-darwin-shlib-versioning.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-diff -ur readline-6.3.orig/support/shobj-conf readline-6.3/support/shobj-conf
---- readline-6.3.orig/support/shobj-conf 2014-11-29 13:14:17.000000000 -0200
-+++ readline-6.3/support/shobj-conf 2014-11-29 13:32:43.000000000 -0200
-@@ -180,34 +180,8 @@
- SHLIB_LIBVERSION='$(SHLIB_MAJOR)$(SHLIB_MINOR).$(SHLIB_LIBSUFF)'
- SHLIB_LIBSUFF='dylib'
-
-- # unused at this time
-- SHLIB_SONAME='$(libdir)/`echo $@ | sed "s:\\..*::"`.$(SHLIB_MAJOR).$(SHLIB_LIBSUFF)'
--
-- case "${host_os}" in
-- # Darwin versions 1, 5, 6, 7 correspond to Mac OS X 10.0, 10.1, 10.2,
-- # and 10.3, respectively.
-- darwin[1-7].*)
-- SHOBJ_STATUS=unsupported
-- SHOBJ_LDFLAGS='-dynamic'
-- SHLIB_XLDFLAGS='-arch_only `/usr/bin/arch` -install_name $(libdir)/`echo $@ | sed "s:\\..*::"`.$(SHLIB_MAJOR).$(SHLIB_LIBSUFF) -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -v'
-- ;;
-- # Darwin 8 == Mac OS X 10.4; Mac OS X 10.N == Darwin N+4
-- *)
-- case "${host_os}" in
-- darwin[89]*|darwin1[012]*)
-- SHOBJ_ARCHFLAGS='-arch_only `/usr/bin/arch`'
-- ;;
-- *) # Mac OS X 10.9 (Mavericks) and later
-- SHOBJ_ARCHFLAGS=
-- # for 32 and 64bit universal library
-- #SHOBJ_ARCHFLAGS='-arch i386 -arch x86_64'
-- #SHOBJ_CFLAGS=${SHOBJ_CFLAGS}' -arch i386 -arch x86_64'
-- ;;
-- esac
-- SHOBJ_LDFLAGS="-dynamiclib -dynamic -undefined dynamic_lookup ${SHOBJ_ARCHFLAGS}"
-- SHLIB_XLDFLAGS="-dynamiclib ${SHOBJ_ARCHFLAGS}"' -install_name $(libdir)/`echo $@ | sed "s:\\..*::"`.$(SHLIB_MAJOR).$(SHLIB_LIBSUFF) -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -v'
-- ;;
-- esac
-+ SHOBJ_LDFLAGS='-dynamiclib -dynamic -undefined dynamic_lookup'
-+ SHLIB_XLDFLAGS='-dynamiclib -install_name $(libdir)/`basename $@ $(SHLIB_MINOR)$(SHLIB_DOT)$(SHLIB_LIBSUFF)`$(SHLIB_DOT)$(SHLIB_LIBSUFF) -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR)'
-
- SHLIB_LIBS='-lncurses' # see if -lcurses works on MacOS X 10.1
- ;;
diff --git a/sys-libs/readline/files/readline-8.0-headers.patch b/sys-libs/readline/files/readline-8.0-headers.patch
deleted file mode 100644
index f19a3b136e..0000000000
--- a/sys-libs/readline/files/readline-8.0-headers.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Required by bash-5.0 or else compilation fails:
-
- bashline.c:69:10: fatal error: readline/rlmbutil.h: No such file or directory
- #include <readline/rlmbutil.h>
- ^~~~~~~~~~~~~~~~~~~~~
-
---- readline-8.0/Makefile.in
-+++ readline-8.0/Makefile.in
-@@ -153,7 +153,7 @@
- CREATED_TAGS = TAGS tags
-
- INSTALLED_HEADERS = readline.h chardefs.h keymaps.h history.h tilde.h \
-- rlstdc.h rlconf.h rltypedefs.h
-+ rlstdc.h rlconf.h rltypedefs.h rlmbutil.h
-
- OTHER_DOCS = $(srcdir)/CHANGES $(srcdir)/INSTALL $(srcdir)/README
- OTHER_INSTALLED_DOCS = CHANGES INSTALL README
diff --git a/sys-libs/readline/metadata.xml b/sys-libs/readline/metadata.xml
deleted file mode 100644
index 49d63436c4..0000000000
--- a/sys-libs/readline/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="project">
- <email>base-system@gentoo.org</email>
- <name>Gentoo Base System</name>
-</maintainer>
-<use>
- <flag name="utils">Install rlfe (ReadLine Front-End) helper tool -- a wrapper program for making any stdin use readline</flag>
-</use>
-</pkgmetadata>
diff --git a/sys-libs/readline/readline-8.0_p4.ebuild b/sys-libs/readline/readline-8.0_p4.ebuild
deleted file mode 100644
index 1dca8248a0..0000000000
--- a/sys-libs/readline/readline-8.0_p4.ebuild
+++ /dev/null
@@ -1,181 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic multilib-minimal preserve-libs toolchain-funcs usr-ldscript
-
-# Official patches
-# See ftp://ftp.cwru.edu/pub/bash/readline-7.0-patches/
-PLEVEL="${PV##*_p}"
-MY_PV="${PV/_p*}"
-MY_PV="${MY_PV/_/-}"
-MY_P="${PN}-${MY_PV}"
-[[ ${PV} != *_p* ]] && PLEVEL=0
-patches() {
- [[ ${PLEVEL} -eq 0 ]] && return 1
- local opt=$1
- eval set -- {1..${PLEVEL}}
- set -- $(printf "${PN}${MY_PV/\.}-%03d " "$@")
- if [[ ${opt} == -s ]] ; then
- echo "${@/#/${DISTDIR}/}"
- else
- local u
- for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${PN} ; do
- printf "${u}/${PN}-${MY_PV}-patches/%s " "$@"
- done
- fi
-}
-
-DESCRIPTION="Another cute console display library"
-HOMEPAGE="https://tiswww.case.edu/php/chet/readline/rltop.html"
-
-case ${PV} in
- *_alpha*|*_beta*|*_rc*)
- SRC_URI+=" ftp://ftp.cwru.edu/pub/bash/${MY_P}.tar.gz"
- ;;
- *)
- SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz $(patches)"
- ;;
-esac
-
-LICENSE="GPL-3"
-SLOT="0/8" # subslot matches SONAME major
-KEYWORDS="~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="static-libs +unicode utils"
-
-RDEPEND=">=sys-libs/ncurses-5.9-r3:0=[static-libs?,unicode?,${MULTILIB_USEDEP}]"
-DEPEND="${RDEPEND}"
-BDEPEND="
- virtual/pkgconfig
-"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-5.0-no_rpath.patch
- "${FILESDIR}"/${PN}-6.2-rlfe-tgoto.patch #385091
- "${FILESDIR}"/${PN}-7.0-headers.patch
- "${FILESDIR}"/${PN}-8.0-headers.patch
-
- "${FILESDIR}"/${PN}-6.0-mint.patch
- "${FILESDIR}"/${PN}-6.0-rlfe-solaris.patch
- "${FILESDIR}"/${PN}-8.0-darwin-shlib-versioning.patch
-)
-
-src_prepare() {
- [[ ${PLEVEL} -gt 0 ]] && eapply -p0 $(patches -s)
- default
-
- # Force ncurses linking. #71420
- # Use pkg-config to get the right values. #457558
- local ncurses_libs=$($(tc-getPKG_CONFIG) ncurses$(usex unicode w '') --libs)
- sed -i \
- -e "/^SHLIB_LIBS=/s:=.*:='${ncurses_libs}':" \
- support/shobj-conf || die
- sed -i \
- -e "/^[[:space:]]*LIBS=.-lncurses/s:-lncurses:${ncurses_libs}:" \
- examples/rlfe/configure || die
-
- # fix building under Gentoo/FreeBSD; upstream FreeBSD deprecated
- # objformat for years, so we don't want to rely on that.
- sed -i -e '/objformat/s:if .*; then:if true; then:' support/shobj-conf || die
-
- ln -s ../.. examples/rlfe/readline || die # for local readline headers
-}
-
-src_configure() {
- # fix implicit decls with widechar funcs
- append-cppflags -D_GNU_SOURCE
- # https://lists.gnu.org/archive/html/bug-readline/2010-07/msg00013.html
- append-cppflags -Dxrealloc=_rl_realloc -Dxmalloc=_rl_malloc -Dxfree=_rl_free
-
- # Make sure configure picks a better ar than `ar`. #484866
- export ac_cv_prog_AR=$(tc-getAR)
-
- # Force the test since we used sed above to force it.
- export bash_cv_termcap_lib=ncurses
-
- # Control cross-compiling cases when we know the right answer.
- # In cases where the C library doesn't support wide characters, readline
- # itself won't work correctly, so forcing the answer below should be OK.
- if tc-is-cross-compiler ; then
- use kernel_Winnt || export bash_cv_func_sigsetjmp='present'
- export bash_cv_func_ctype_nonascii='yes'
- export bash_cv_wcwidth_broken='no' #503312
- fi
-
- # This is for rlfe, but we need to make sure LDFLAGS doesn't change
- # so we can re-use the config cache file between the two.
- append-ldflags -L.
-
- multilib-minimal_src_configure
-}
-
-multilib_src_configure() {
- local myeconfargs=(
- --cache-file="${BUILD_DIR}"/config.cache
- --with-curses
- $(use_enable static-libs static)
- )
- ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-
- if use utils && multilib_is_native_abi && ! tc-is-cross-compiler ; then
- # code is full of AC_TRY_RUN()
- mkdir -p examples/rlfe || die
- cd examples/rlfe || die
- ECONF_SOURCE="${S}"/examples/rlfe \
- econf --cache-file="${BUILD_DIR}"/config.cache
- fi
-}
-
-multilib_src_compile() {
- emake
-
- if use utils && multilib_is_native_abi && ! tc-is-cross-compiler ; then
- # code is full of AC_TRY_RUN()
- cd examples/rlfe || die
- local l
- for l in readline history ; do
- ln -s ../../shlib/lib${l}$(get_libname)* lib${l}$(get_libname) || die
- ln -s ../../lib${l}.a lib${l}.a || die
- done
- emake
- fi
-}
-
-multilib_src_install() {
- default
-
- if multilib_is_native_abi ; then
- gen_usr_ldscript -a readline history #4411
-
- if use utils && ! tc-is-cross-compiler; then
- dobin examples/rlfe/rlfe
- fi
- fi
-}
-
-multilib_src_install_all() {
- HTML_DOCS="doc/history.html doc/readline.html doc/rluserman.html" einstalldocs
- dodoc USAGE
- docinto ps
- dodoc doc/*.ps
-}
-pkg_preinst() {
- # bug #29865
- # Reappeared in #595324 with paludis so keeping this for now...
- preserve_old_lib \
- /$(get_libdir)/lib{history,readline}$(get_libname 4) \
- /$(get_libdir)/lib{history,readline}$(get_libname 5) \
- /$(get_libdir)/lib{history,readline}$(get_libname 6) \
- /$(get_libdir)/lib{history,readline}$(get_libname 7)
-}
-
-pkg_postinst() {
- preserve_old_lib_notify \
- /$(get_libdir)/lib{history,readline}$(get_libname 4) \
- /$(get_libdir)/lib{history,readline}$(get_libname 5) \
- /$(get_libdir)/lib{history,readline}$(get_libname 6) \
- /$(get_libdir)/lib{history,readline}$(get_libname 7)
-}
diff --git a/sys-libs/readline/readline-8.1.ebuild b/sys-libs/readline/readline-8.1.ebuild
deleted file mode 100644
index 53aa5de3fd..0000000000
--- a/sys-libs/readline/readline-8.1.ebuild
+++ /dev/null
@@ -1,188 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic multilib-minimal preserve-libs toolchain-funcs usr-ldscript
-
-# Official patches
-# See ftp://ftp.cwru.edu/pub/bash/readline-7.0-patches/
-PLEVEL="${PV##*_p}"
-MY_PV="${PV/_p*}"
-MY_PV="${MY_PV/_/-}"
-MY_P="${PN}-${MY_PV}"
-[[ ${PV} != *_p* ]] && PLEVEL=0
-patches() {
- [[ ${PLEVEL} -eq 0 ]] && return 1
- local opt=$1
- eval set -- {1..${PLEVEL}}
- set -- $(printf "${PN}${MY_PV/\.}-%03d " "$@")
- if [[ ${opt} == -s ]] ; then
- echo "${@/#/${DISTDIR}/}"
- else
- local u
- for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${PN} ; do
- printf "${u}/${PN}-${MY_PV}-patches/%s " "$@"
- done
- fi
-}
-
-DESCRIPTION="Another cute console display library"
-HOMEPAGE="https://tiswww.case.edu/php/chet/readline/rltop.html"
-
-case ${PV} in
- *_alpha*|*_beta*|*_rc*)
- SRC_URI+=" ftp://ftp.cwru.edu/pub/bash/${MY_P}.tar.gz"
- ;;
- *)
- SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz $(patches)"
- ;;
-esac
-
-LICENSE="GPL-3"
-SLOT="0/8" # subslot matches SONAME major
-[[ "${PV}" == *_rc* ]] || \
-KEYWORDS="~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="static-libs +unicode utils"
-
-RDEPEND=">=sys-libs/ncurses-5.9-r3:0=[static-libs?,unicode?,${MULTILIB_USEDEP}]"
-DEPEND="${RDEPEND}"
-BDEPEND="
- virtual/pkgconfig
-"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-5.0-no_rpath.patch
- "${FILESDIR}"/${PN}-6.2-rlfe-tgoto.patch #385091
- "${FILESDIR}"/${PN}-7.0-headers.patch
- "${FILESDIR}"/${PN}-8.0-headers.patch
-
- "${FILESDIR}"/${PN}-6.0-mint.patch
- "${FILESDIR}"/${PN}-6.0-rlfe-solaris.patch
- "${FILESDIR}"/${PN}-8.0-darwin-shlib-versioning.patch
-)
-
-# Needed because we don't want the patches being unpacked
-# (which emits annoying and useless error messages)
-src_unpack() {
- unpack ${MY_P}.tar.gz
-}
-
-src_prepare() {
- [[ ${PLEVEL} -gt 0 ]] && eapply -p0 $(patches -s)
- default
-
- # Force ncurses linking. #71420
- # Use pkg-config to get the right values. #457558
- local ncurses_libs=$($(tc-getPKG_CONFIG) ncurses$(usex unicode w '') --libs)
- sed -i \
- -e "/^SHLIB_LIBS=/s:=.*:='${ncurses_libs}':" \
- support/shobj-conf || die
- sed -i \
- -e "/^[[:space:]]*LIBS=.-lncurses/s:-lncurses:${ncurses_libs}:" \
- examples/rlfe/configure || die
-
- # fix building under Gentoo/FreeBSD; upstream FreeBSD deprecated
- # objformat for years, so we don't want to rely on that.
- sed -i -e '/objformat/s:if .*; then:if true; then:' support/shobj-conf || die
-
- ln -s ../.. examples/rlfe/readline || die # for local readline headers
-}
-
-src_configure() {
- # fix implicit decls with widechar funcs
- append-cppflags -D_GNU_SOURCE
- # https://lists.gnu.org/archive/html/bug-readline/2010-07/msg00013.html
- append-cppflags -Dxrealloc=_rl_realloc -Dxmalloc=_rl_malloc -Dxfree=_rl_free
-
- # Make sure configure picks a better ar than `ar`. #484866
- export ac_cv_prog_AR=$(tc-getAR)
-
- # Force the test since we used sed above to force it.
- export bash_cv_termcap_lib=ncurses
-
- # Control cross-compiling cases when we know the right answer.
- # In cases where the C library doesn't support wide characters, readline
- # itself won't work correctly, so forcing the answer below should be OK.
- if tc-is-cross-compiler ; then
- use kernel_Winnt || export bash_cv_func_sigsetjmp='present'
- export bash_cv_func_ctype_nonascii='yes'
- export bash_cv_wcwidth_broken='no' #503312
- fi
-
- # This is for rlfe, but we need to make sure LDFLAGS doesn't change
- # so we can re-use the config cache file between the two.
- append-ldflags -L.
-
- multilib-minimal_src_configure
-}
-
-multilib_src_configure() {
- local myeconfargs=(
- --cache-file="${BUILD_DIR}"/config.cache
- --with-curses
- $(use_enable static-libs static)
- )
- ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-
- if use utils && multilib_is_native_abi && ! tc-is-cross-compiler ; then
- # code is full of AC_TRY_RUN()
- mkdir -p examples/rlfe || die
- cd examples/rlfe || die
- ECONF_SOURCE="${S}"/examples/rlfe \
- econf --cache-file="${BUILD_DIR}"/config.cache
- fi
-}
-
-multilib_src_compile() {
- emake
-
- if use utils && multilib_is_native_abi && ! tc-is-cross-compiler ; then
- # code is full of AC_TRY_RUN()
- cd examples/rlfe || die
- local l
- for l in readline history ; do
- ln -s ../../shlib/lib${l}$(get_libname)* lib${l}$(get_libname) || die
- ln -s ../../lib${l}.a lib${l}.a || die
- done
- emake
- fi
-}
-
-multilib_src_install() {
- default
-
- if multilib_is_native_abi ; then
- gen_usr_ldscript -a readline history #4411
-
- if use utils && ! tc-is-cross-compiler; then
- dobin examples/rlfe/rlfe
- fi
- fi
-}
-
-multilib_src_install_all() {
- HTML_DOCS="doc/history.html doc/readline.html doc/rluserman.html" einstalldocs
- dodoc USAGE
- docinto ps
- dodoc doc/*.ps
-}
-pkg_preinst() {
- # bug #29865
- # Reappeared in #595324 with paludis so keeping this for now...
- preserve_old_lib \
- /$(get_libdir)/lib{history,readline}$(get_libname 4) \
- /$(get_libdir)/lib{history,readline}$(get_libname 5) \
- /$(get_libdir)/lib{history,readline}$(get_libname 6) \
- /$(get_libdir)/lib{history,readline}$(get_libname 7)
-}
-
-pkg_postinst() {
- preserve_old_lib_notify \
- /$(get_libdir)/lib{history,readline}$(get_libname 4) \
- /$(get_libdir)/lib{history,readline}$(get_libname 5) \
- /$(get_libdir)/lib{history,readline}$(get_libname 6) \
- /$(get_libdir)/lib{history,readline}$(get_libname 7)
-}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-12-26 12:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-26 12:57 [gentoo-commits] repo/proj/prefix:master commit in: sys-libs/readline/, sys-libs/readline/files/ Fabian Groffen
-- strict thread matches above, loose matches on Subject: below --
2018-12-27 15:37 Fabian Groffen
2017-11-27 9:58 Fabian Groffen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox