perl-XML-NamespaceSupport: Update to 1.12

This commit is contained in:
Alexey Pavlov
2018-02-14 12:12:27 +03:00
parent d49d40a98c
commit 9ec56dba19
2 changed files with 4 additions and 19 deletions

View File

@@ -2,8 +2,8 @@
_realname=XML-NamespaceSupport
pkgname=perl-${_realname}
pkgver=1.11
pkgrel=2
pkgver=1.12
pkgrel=1
pkgdesc="Generic namespace helpers (ported from SAX2)"
arch=('any')
url="http://search.cpan.org/dist/XML-NamespaceSupport"
@@ -11,14 +11,11 @@ groups=('perl-modules')
license=('GPL')
depends=('perl')
options=('!emptydirs')
source=("https://www.cpan.org/authors/id/P/PE/PERIGRIN/${_realname}-${pkgver}.tar.gz"
'XML-NamespaceSupport-1.11.patch')
sha256sums=('6d8151f0a3f102313d76b64bfd1c2d9ed46bfe63a16f038e7d860fda287b74ea'
'6a6ca4cb71f95cf773bab8f30b66ddbb0fc090f989c095621966624cb7039edd')
source=("https://www.cpan.org/authors/id/P/PE/PERIGRIN/${_realname}-${pkgver}.tar.gz")
sha256sums=('47e995859f8dd0413aa3f22d350c4a62da652e854267aa0586ae544ae2bae5ef')
prepare() {
cd "${srcdir}/${_realname}-${pkgver}"
patch -p1 -i ${srcdir}/XML-NamespaceSupport-1.11.patch
}
build() {

View File

@@ -1,12 +0,0 @@
diff -Naur XML-NamespaceSupport-1.11/inc/Module/Install/Can.pm XML-NamespaceSupport-1.11/inc/Module/Install/Can.pm
--- XML-NamespaceSupport-1.11/inc/Module/Install/Can.pm 2010-03-16 19:18:52.000000000 +0000
+++ XML-NamespaceSupport-1.11/inc/Module/Install/Can.pm 2013-06-16 16:03:38.364812500 +0000
@@ -59,7 +59,7 @@
}
# Fix Cygwin bug on maybe_command();
-if ( $^O eq 'cygwin' ) {
+if ( $^O eq 'cygwin' or $^O eq 'msys' ) {
require ExtUtils::MM_Cygwin;
require ExtUtils::MM_Win32;
if ( ! defined(&ExtUtils::MM_Cygwin::maybe_command) ) {