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