From 6519e2dcfe5771c066ae7d74168b359eecadc377 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 24 Nov 2019 09:56:39 +0000 Subject: [PATCH] libffi: bump to 3.3 --- extra/libffi/build | 12 ++++-------- extra/libffi/checksums | 2 +- extra/libffi/sources | 2 +- extra/libffi/version | 2 +- 4 files changed, 7 insertions(+), 11 deletions(-) diff --git a/extra/libffi/build b/extra/libffi/build index b8fbbe0d..9bf1d58c 100755 --- a/extra/libffi/build +++ b/extra/libffi/build @@ -2,16 +2,12 @@ ./configure \ --prefix=/usr \ - --includedir=/usr/include \ --with-pic make make DESTDIR="$1" install -# Fix location for headers. -mv "$1/usr/lib/libffi-3.2.1/include/" "$1/usr" -rmdir "$1/usr/lib/libffi-3.2.1" - -# Fix location inside pkgconfig file. -sed -i '/^includedir=/{s,=.*,=/usr/include,g}' \ - "$1/usr/lib/pkgconfig/libffi.pc" +# Maintain compatibility and avoid the need +# for rebuilds of all packages linking to +# libffi. +ln -s libffi.so.7 "$1/usr/lib/libffi.so.6" diff --git a/extra/libffi/checksums b/extra/libffi/checksums index f6bb1830..635bf88b 100644 --- a/extra/libffi/checksums +++ b/extra/libffi/checksums @@ -1 +1 @@ -d06ebb8e1d9a22d19e38d63fdb83954253f39bedc5d46232a05645685722ca37 libffi-3.2.1.tar.gz +72fba7922703ddfa7a028d513ac15a85c8d54c8d67f55fa5a4802885dc652056 libffi-3.3.tar.gz diff --git a/extra/libffi/sources b/extra/libffi/sources index 9874d42a..c4dceb60 100644 --- a/extra/libffi/sources +++ b/extra/libffi/sources @@ -1 +1 @@ -https://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz +https://sourceware.org/pub/libffi/libffi-3.3.tar.gz diff --git a/extra/libffi/version b/extra/libffi/version index bd818fa9..ef8da5d7 100644 --- a/extra/libffi/version +++ b/extra/libffi/version @@ -1 +1 @@ -3.2.1 3 +3.3 1