From 1ce5cd0857bd3ef8152559d43ffcf012fefacfc4 Mon Sep 17 00:00:00 2001 From: Alexpux Date: Sun, 8 Mar 2015 18:08:57 +0300 Subject: [PATCH] libidn: Update to 1.30 --- libidn/PKGBUILD | 8 ++++---- libidn/libidn-1.26-msys2.patch | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/libidn/PKGBUILD b/libidn/PKGBUILD index 0ca69e00..b4af82fe 100644 --- a/libidn/PKGBUILD +++ b/libidn/PKGBUILD @@ -1,8 +1,8 @@ # Maintainer: Alexey Pavlov 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} diff --git a/libidn/libidn-1.26-msys2.patch b/libidn/libidn-1.26-msys2.patch index 34a11e0a..a189fa70 100644 --- a/libidn/libidn-1.26-msys2.patch +++ b/libidn/libidn-1.26-msys2.patch @@ -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