libidn: Update to 1.30

This commit is contained in:
Alexpux
2015-03-08 18:08:57 +03:00
parent 0086ff8b61
commit 1ce5cd0857
2 changed files with 11 additions and 11 deletions

View File

@@ -1,8 +1,8 @@
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
pkgname=('libidn' 'libidn-devel')
pkgver=1.29
pkgrel=3
pkgver=1.30
pkgrel=1
pkgdesc="Implementation of the Stringprep, Punycode and IDNA specifications"
url="http://www.gnu.org/software/libidn/"
arch=('i686' 'x86_64')
@@ -11,8 +11,8 @@ makedepends=('gcc' 'make' 'pkg-config' 'texinfo')
options=('!libtool' 'staticlibs')
source=(http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz
libidn-1.26-msys2.patch)
sha1sums=('e0959eec9a03fd8053379b0aeab447c546c05ab2'
'8f52151ad294bdece94ab99ed7f9171ca48c3c10')
sha1sums=('557e1e37f0978e975b21bcdc243c198cb708bb75'
'17e3ff169c78a57d3d5839492c6dab9fa2310f96')
prepare() {
cd ${srcdir}/${pkgname}-${pkgver}

View File

@@ -95,15 +95,15 @@ diff -Naur libidn-1.26-orig/gl/m4/csharpexec.m4 libidn-1.26/gl/m4/csharpexec.m4
diff -Naur libidn-1.26-orig/gl/m4/dup2.m4 libidn-1.26/gl/m4/dup2.m4
--- libidn-1.26-orig/gl/m4/dup2.m4 2012-05-22 17:55:20.000000000 +0000
+++ libidn-1.26/gl/m4/dup2.m4 2013-04-25 11:09:03.147460900 +0000
@@ -48,6 +48,8 @@
@@ -68,7 +68,7 @@
[case "$host_os" in
mingw*) # on this platform, dup2 always returns 0 for success
gl_cv_func_dup2_works="guessing no" ;;
cygwin*) # on cygwin 1.5.x, dup2(1,1) returns 0
gl_cv_func_dup2_works="guessing no" ;;
+ msys*) # on MSYS, dup2(1,1) returns 0
+ gl_cv_func_dup2_works="guessing no" ;;
linux*) # On linux between 2008-07-27 and 2009-05-11, dup2 of a
# closed fd may yield -EBADF instead of -1 / errno=EBADF.
- cygwin*) # on cygwin 1.5.x, dup2(1,1) returns 0
+ cygwin*|msys*) # on cygwin 1.5.x, dup2(1,1) returns 0
gl_cv_func_dup2_works="guessing no" ;;
aix* | freebsd*)
# on AIX 7.1 and FreeBSD 6.1, dup2 (1,toobig) gives EMFILE,
diff -Naur libidn-1.26-orig/gl/m4/getcwd.m4 libidn-1.26/gl/m4/getcwd.m4
--- libidn-1.26-orig/gl/m4/getcwd.m4 2012-05-22 17:55:20.000000000 +0000
+++ libidn-1.26/gl/m4/getcwd.m4 2013-04-25 11:09:32.528320300 +0000