summaryrefslogtreecommitdiff
path: root/perl/perl-text-unaccent
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-08-28 14:32:42 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-30 06:55:59 +0700
commit0baf5714c854056df12bbf61934d8ec95a1e1482 (patch)
tree78a58e7a5361a6197aa0f7d64b33e458f43aab0b /perl/perl-text-unaccent
parent5baa968e52821d26e0d22637aca7fece8ac87691 (diff)
downloadslackbuilds-0baf5714c854056df12bbf61934d8ec95a1e1482.tar.gz
perl/perl-text-unaccent: Fix build with Perl 5.34.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-text-unaccent')
-rw-r--r--perl/perl-text-unaccent/perl-text-unaccent.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/perl/perl-text-unaccent/perl-text-unaccent.SlackBuild b/perl/perl-text-unaccent/perl-text-unaccent.SlackBuild
index 6373a65a9b..b88bf28ea4 100644
--- a/perl/perl-text-unaccent/perl-text-unaccent.SlackBuild
+++ b/perl/perl-text-unaccent/perl-text-unaccent.SlackBuild
@@ -10,7 +10,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=perl-text-unaccent
VERSION=${VERSION:-1.08}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -68,6 +68,10 @@ find -L . \
# combined patch made by diffing against the unac.c in system/unac.
patch -p1 < $CWD/oe_lig_and_size_t.diff
+# https://rt.cpan.org/Public/Bug/Display.html?id=124815
+# patch for newer perls
+sed -i 's/\(-DHAVE_CONFIG_H\)/\1 -DHAS_VPRINTF/' Makefile.PL
+
perl Makefile.PL \
PREFIX=/usr \
INSTALLDIRS=vendor \