aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-text-unaccent/perl-text-unaccent.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-text-unaccent/perl-text-unaccent.SlackBuild')
-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 6373a65a9bc1..b88bf28ea4b6 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 \