Merge pull request #2721 from lazka/libffi-3.4.2

libffi: Update to 3.4.2
This commit is contained in:
Christoph Reiter 2021-12-04 19:35:20 +01:00 committed by GitHub
commit a28a5cf53f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 9 additions and 65 deletions

View File

@ -3,7 +3,7 @@
pkgbase=glib2 pkgbase=glib2
pkgname=(glib2 glib2-devel glib2-docs) pkgname=(glib2 glib2-devel glib2-docs)
pkgver=2.68.4 pkgver=2.68.4
pkgrel=1 pkgrel=2
pkgdesc="Common C routines used by GTK+ and other libs" pkgdesc="Common C routines used by GTK+ and other libs"
license=(LGPL2) license=(LGPL2)
url="https://www.gtk.org/" url="https://www.gtk.org/"

View File

@ -3,7 +3,7 @@
pkgbase=guile pkgbase=guile
pkgname=("$pkgbase" "lib${pkgbase}" "lib${pkgbase}-devel") pkgname=("$pkgbase" "lib${pkgbase}" "lib${pkgbase}-devel")
pkgver=2.2.7 pkgver=2.2.7
pkgrel=1 pkgrel=2
pkgdesc="a portable, embeddable Scheme implementation written in C" pkgdesc="a portable, embeddable Scheme implementation written in C"
url="https://www.gnu.org/software/guile/" url="https://www.gnu.org/software/guile/"
arch=(i686 x86_64) arch=(i686 x86_64)

View File

@ -2,7 +2,7 @@
pkgbase=libffi pkgbase=libffi
pkgname=('libffi' 'libffi-devel') pkgname=('libffi' 'libffi-devel')
pkgver=3.3 pkgver=3.4.2
pkgrel=1 pkgrel=1
pkgdesc="Portable, high level programming interface to various calling conventions" pkgdesc="Portable, high level programming interface to various calling conventions"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
@ -11,18 +11,16 @@ groups=('libraries')
license=('MIT') license=('MIT')
depends=() depends=()
checkdepends=('dejagnu') checkdepends=('dejagnu')
#options=('!strip' 'debug') source=(https://github.com/libffi/libffi/releases/download/v$pkgver/libffi-$pkgver.tar.gz
install=libffi.install
source=(https://sourceware.org/pub/libffi/libffi-${pkgver}.tar.gz
libffi-3.3-msysize.patch) libffi-3.3-msysize.patch)
sha256sums=('72fba7922703ddfa7a028d513ac15a85c8d54c8d67f55fa5a4802885dc652056' sha256sums=('540fb721619a6aba3bdeef7d940d8e9e0e6d2c193595bc243241b77ff9e93620'
'8fbdab06b3c42561060d73aae2c1cfdc535797e96f53411eab0fe44869203246') '75903de0b39311775e2d5d2f0d7f1b5935168698a54198e0f33ffb9e32c16c84')
prepare() { prepare() {
cd ${pkgname}-${pkgver} cd ${pkgname}-${pkgver}
patch -p1 -i ${srcdir}/libffi-3.3-msysize.patch patch -p1 -i ${srcdir}/libffi-3.3-msysize.patch
autoreconf -fi autoreconf -vfi
} }
build() { build() {

View File

@ -1,37 +1,3 @@
diff -Naur libffi-3.3-orig/compile libffi-3.3/compile
--- libffi-3.3-orig/compile 2019-11-01 12:30:05.000000000 +0300
+++ libffi-3.3/compile 2020-04-15 11:28:38.782598900 +0300
@@ -53,7 +53,7 @@
MINGW*)
file_conv=mingw
;;
- CYGWIN*)
+ CYGWIN* | MSYS*)
file_conv=cygwin
;;
*)
@@ -67,7 +67,7 @@
mingw/*)
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
;;
- cygwin/*)
+ cygwin/* | msys/*)
file=`cygpath -m "$file" || echo "$file"`
;;
wine/*)
diff -Naur libffi-3.3-orig/config.guess libffi-3.3/config.guess
--- libffi-3.3-orig/config.guess 2019-10-31 17:49:54.000000000 +0300
+++ libffi-3.3/config.guess 2020-04-15 11:29:05.639223800 +0300
@@ -892,6 +892,9 @@
amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
echo x86_64-unknown-cygwin
exit ;;
+ amd64:MSYS*:*:* | x86_64:MSYS*:*:*)
+ echo x86_64-unknown-cygwin
+ exit ;;
p*:CYGWIN*:*)
echo powerpcle-unknown-cygwin
exit ;;
diff -Naur libffi-3.3-orig/configure.host libffi-3.3/configure.host diff -Naur libffi-3.3-orig/configure.host libffi-3.3/configure.host
--- libffi-3.3-orig/configure.host 2019-11-23 02:55:36.000000000 +0300 --- libffi-3.3-orig/configure.host 2019-11-23 02:55:36.000000000 +0300
+++ libffi-3.3/configure.host 2020-04-15 11:34:06.382013100 +0300 +++ libffi-3.3/configure.host 2020-04-15 11:34:06.382013100 +0300

View File

@ -1,20 +0,0 @@
infodir=usr/share/info
filelist=libffi.info.gz
post_install() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist}; do
install-info $infodir/$file $infodir/dir 2> /dev/null
done
}
post_upgrade() {
post_install $1
}
pre_remove() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist}; do
install-info --delete $infodir/$file $infodir/dir 2> /dev/null
done
}

View File

@ -5,7 +5,7 @@
pkgbase=p11-kit pkgbase=p11-kit
pkgname=('p11-kit' 'libp11-kit' 'libp11-kit-devel') pkgname=('p11-kit' 'libp11-kit' 'libp11-kit-devel')
pkgver=0.24.0 pkgver=0.24.0
pkgrel=1 pkgrel=2
pkgdesc="Library to work with PKCS#11 modules" pkgdesc="Library to work with PKCS#11 modules"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="https://p11-glue.freedesktop.org/p11-kit.html" url="https://p11-glue.freedesktop.org/p11-kit.html"

View File

@ -4,7 +4,7 @@
pkgbase=python pkgbase=python
pkgname=('python' 'python-devel') pkgname=('python' 'python-devel')
pkgver=3.9.9 pkgver=3.9.9
pkgrel=1 pkgrel=2
_pybasever=${pkgver%.*} _pybasever=${pkgver%.*}
pkgdesc="Next generation of the python high-level scripting language" pkgdesc="Next generation of the python high-level scripting language"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')