file: Update to 5.38

This commit is contained in:
Alexey Pavlov
2020-01-15 12:35:13 +03:00
parent b3fcb5df70
commit 18a4d5b322
2 changed files with 10 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
pkgname=file
pkgver=5.37
pkgver=5.38
pkgrel=1
pkgdesc="File type identification utility"
arch=('i686' 'x86_64')
@@ -14,8 +14,8 @@ options=('!libtool')
source=(#ftp://ftp.astron.com/pub/${pkgname}/${pkgname}-${pkgver}.tar.gz
ftp://ftp.astron.com/pub/file/${pkgname}-${pkgver}.tar.gz
file-5.17-msys2.patch)
sha256sums=('e9c13967f7dd339a3c241b7710ba093560b9a33013491318e88e6b8b57bae07f'
'fa8a8581df5535981cbfb9e9f3e64edf34085f959cec42f88e0a13b8aa0e919b')
sha256sums=('593c2ffc2ab349c5aea0f55fedfe4d681737b6b62376a9b3ad1e77b2cc19fa34'
'0804ab84bb95260a4a6bae99de4edb970541aa0175244c3767c9b399aabce014')
prepare() {

View File

@@ -1,13 +1,13 @@
diff -Naur file-5.17/config.guess file-5.17-msys2/config.guess
--- file-5.17/config.guess 2014-02-13 03:29:38.000000000 +0400
+++ file-5.17-msys2/config.guess 2014-02-16 13:26:11.040000000 +0400
diff -Naur file-5.38/config.guess file-5.38-msys2/config.guess
--- file-5.38/config.guess 2014-02-13 03:29:38.000000000 +0400
+++ file-5.38-msys2/config.guess 2014-02-16 13:26:11.040000000 +0400
@@ -844,6 +844,9 @@
amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
echo x86_64-unknown-cygwin
echo x86_64-pc-cygwin
exit ;;
+ amd64:MSYS*:*:* | x86_64:MSYS*:*:*)
+ echo x86_64-unknown-msys
+ exit ;;
p*:CYGWIN*:*)
echo powerpcle-unknown-cygwin
exit ;;
prep*:SunOS:5.*:*)
echo powerpcle-unknown-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
exit ;;