summaryrefslogtreecommitdiffstats
path: root/perl
diff options
context:
space:
mode:
author Andrew Clemons2021-08-28 04:32:42 +0200
committer Willy Sudiarto Raharjo2021-08-30 01:55:59 +0200
commit0baf5714c854056df12bbf61934d8ec95a1e1482 (patch)
tree78a58e7a5361a6197aa0f7d64b33e458f43aab0b /perl
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')
-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 \