summaryrefslogtreecommitdiffstats
path: root/perl/perl-image-bmp/perl-image-bmp.SlackBuild
diff options
context:
space:
mode:
author B. Watson <urchlay@slackware.uk>2024-08-19 15:48:38 -0400
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-08-24 11:55:25 +0700
commit8e7cbadb97bf4f1fe83244e99c38358612774ad5 (patch)
tree2ee7d14968b33a23cee7725467802c81b619275f /perl/perl-image-bmp/perl-image-bmp.SlackBuild
parent16f5c46319bf8692dd8797924bc0d44a6d634808 (diff)
downloadslackbuilds-8e7cbadb97bf4f1fe83244e99c38358612774ad5.tar.gz
slackbuilds-8e7cbadb97bf4f1fe83244e99c38358612774ad5.tar.xz
perl/perl-image-bmp: Fix 32-bit build failure.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to '')
-rw-r--r--perl/perl-image-bmp/perl-image-bmp.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/perl/perl-image-bmp/perl-image-bmp.SlackBuild b/perl/perl-image-bmp/perl-image-bmp.SlackBuild
index a919c0fb92..894db25376 100644
--- a/perl/perl-image-bmp/perl-image-bmp.SlackBuild
+++ b/perl/perl-image-bmp/perl-image-bmp.SlackBuild
@@ -6,13 +6,14 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20240819 bkw: BUILD=2, fix 32-bit build failure.
# 20240814 bkw: update for v1.26.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=perl-image-bmp
VERSION=${VERSION:-1.26}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -41,6 +42,10 @@ chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+# This patch is for v1.26, and was sent to upstream on 20240819. Hope
+# it ends up in the next release.
+patch -p1 < $CWD/32bitfix.diff
+
perl Makefile.PL \
PREFIX=/usr \
INSTALLDIRS=vendor \