diff --git a/sys-libs/readline/patches/readline-6.2.patch b/sys-libs/readline/patches/readline-6.2.patch deleted file mode 100644 index c3f005381..000000000 --- a/sys-libs/readline/patches/readline-6.2.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -ur orig/readline-6.2/support/shlib-install readline-6.2/support/shlib-install ---- orig/readline-6.2/support/shlib-install 2009-10-28 14:30:18.057409536 +0100 -+++ readline-6.2/support/shlib-install 2013-05-03 01:12:28.695468032 +0200 -@@ -117,7 +117,7 @@ - # Create symlinks to the installed library. This section is incomplete. - # - case "$host_os-$host_vendor" in --*linux*|freebsd*-gentoo) -+*linux*|freebsd*-gentoo|haiku*) - # libname.so.M -> libname.so.M.N - ${echo} ${RM} ${INSTALLDIR}/$LINK2 - if [ -z "$uninstall" ]; then -diff -ur orig/readline-6.2/support/shobj-conf readline-6.2/support/shobj-conf ---- orig/readline-6.2/support/shobj-conf 2009-10-28 14:20:21.057147392 +0100 -+++ readline-6.2/support/shobj-conf 2013-05-03 01:12:38.631242752 +0200 -@@ -109,7 +109,7 @@ - ;; - - # All versions of Linux (including Gentoo/FreeBSD) or the semi-mythical GNU Hurd. --linux*-*|gnu*-*|k*bsd*-gnu-*|freebsd*-gentoo) -+linux*-*|gnu*-*|k*bsd*-gnu-*|freebsd*-gentoo|haiku*) - SHOBJ_CFLAGS=-fPIC - SHOBJ_LD='${CC}' - SHOBJ_LDFLAGS='-shared -Wl,-soname,$@' diff --git a/sys-libs/readline/readline-6.2.recipe b/sys-libs/readline/readline-6.3.8.recipe similarity index 64% rename from sys-libs/readline/readline-6.2.recipe rename to sys-libs/readline/readline-6.3.8.recipe index 5b5da5687..ec8d546b1 100644 --- a/sys-libs/readline/readline-6.2.recipe +++ b/sys-libs/readline/readline-6.3.8.recipe @@ -13,13 +13,25 @@ Readline in applications which desire its capabilities. HOMEPAGE="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html" COPYRIGHT="1989-2011 Free Software Foundation, Inc." LICENSE="GNU GPL v3" -SRC_URI="ftp://ftp.gnu.org/gnu/readline/readline-6.2.tar.gz" -CHECKSUM_SHA256="79a696070a058c233c72dd6ac697021cc64abd5ed51e59db867d66d196a89381" -REVISION="5" +SRC_URI="ftp://ftp.gnu.org/gnu/readline/readline-6.3.tar.gz" +CHECKSUM_SHA256="56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" +for i in {001..008}; do + eval "SRC_URI_$i=\"https://ftp.gnu.org/gnu/readline/readline-6.3-patches/readline63-$i#noarchive\"" +done +CHECKSUM_SHA256_001="1a79bbb6eaee750e0d6f7f3d059b30a45fc54e8e388a8e05e9c3ae598590146f" +CHECKSUM_SHA256_002="39e304c7a526888f9e112e733848215736fb7b9d540729b9e31f3347b7a1e0a5" +CHECKSUM_SHA256_003="ec41bdd8b00fd884e847708513df41d51b1243cecb680189e31b7173d01ca52f" +CHECKSUM_SHA256_004="4547b906fb2570866c21887807de5dee19838a60a1afb66385b272155e4355cc" +CHECKSUM_SHA256_005="877788f9228d1a9907a4bcfe3d6dd0439c08d728949458b41208d9bf9060274b" +CHECKSUM_SHA256_006="5c237ab3c6c97c23cf52b2a118adc265b7fb411b57c93a5f7c221d50fafbe556" +CHECKSUM_SHA256_007="4d79b5a2adec3c2e8114cbd3d63c1771f7c6cf64035368624903d257014f5bea" +CHECKSUM_SHA256_008="3bc093cf526ceac23eb80256b0ec87fa1735540d659742107b6284d635c43787" +SOURCE_DIR="readline-6.3" +REVISION="1" ARCHITECTURES="x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86_gcc2 x86" -PATCHES="readline-6.2.patch" +PATCHES="readline-6.3.patch" PROVIDES=" readline$secondaryArchSuffix = $portVersion compat >= 6 @@ -43,6 +55,12 @@ BUILD_PREREQUIRES=" cmd:make " +PATCH() +{ + for i in {001..008}; do + patch -p0 < ../../sources-$i/readline63-$i + done +} BUILD() {