summaryrefslogtreecommitdiff
path: root/source/d
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2018-12-01 03:16:35 +0000
committerEric Hameleers <alien@slackware.com>2018-12-01 08:59:43 +0100
commita2792a0934ceb485e388584ba06f9f66cb1dabcc (patch)
tree162163fa208055dadd00bcaefc9650af724d422f /source/d
parent6aa2cc8350712ea9d90cb4905aae2b1dd3a68038 (diff)
downloadcurrent-a2792a0934ceb485e388584ba06f9f66cb1dabcc.tar.gz
Sat Dec 1 03:16:35 UTC 201820181201031635
ap/texinfo-6.5-x86_64-7.txz: Rebuilt. Recompiled against perl-5.28.1. ap/vim-8.1.0552-x86_64-1.txz: Upgraded. Compiled against perl-5.28.1. d/perl-5.28.1-x86_64-1.txz: Upgraded. Upgraded DBD-mysql-4.049, DBI-1.642, abd IO-Socket-SSL-2.060. Added Devel-CheckLib-1.13 (needed by DBD-mysql-4.049). kde/perlkde-4.14.3-x86_64-7.txz: Rebuilt. Recompiled against perl-5.28.1. kde/perlqt-4.14.3-x86_64-8.txz: Rebuilt. Recompiled against perl-5.28.1. n/epic5-2.0.1-x86_64-7.txz: Rebuilt. Recompiled against perl-5.28.1. n/irssi-1.1.1-x86_64-5.txz: Rebuilt. Recompiled against perl-5.28.1. n/net-snmp-5.8-x86_64-4.txz: Rebuilt. Recompiled against perl-5.28.1. n/ntp-4.2.8p12-x86_64-4.txz: Rebuilt. Recompiled against perl-5.28.1. xap/hexchat-2.14.2-x86_64-2.txz: Rebuilt. Recompiled against perl-5.28.1. xap/mozilla-thunderbird-60.3.2-x86_64-1.txz: Upgraded. This is a bugfix release. For more information, see: https://www.mozilla.org/en-US/thunderbird/60.3.2/releasenotes/ xap/rxvt-unicode-9.22-x86_64-6.txz: Rebuilt. Recompiled against perl-5.28.1. xap/vim-gvim-8.1.0552-x86_64-1.txz: Upgraded. Compiled against perl-5.28.1. xfce/xfce4-systemload-plugin-1.2.2-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/d')
-rw-r--r--source/d/perl/DBD-mysql.net_buffer_length.diff35
-rwxr-xr-xsource/d/perl/perl.SlackBuild25
2 files changed, 20 insertions, 40 deletions
diff --git a/source/d/perl/DBD-mysql.net_buffer_length.diff b/source/d/perl/DBD-mysql.net_buffer_length.diff
deleted file mode 100644
index cb88a951..00000000
--- a/source/d/perl/DBD-mysql.net_buffer_length.diff
+++ /dev/null
@@ -1,35 +0,0 @@
-From 0f0cebe87fab335873fd3701bc304922da826940 Mon Sep 17 00:00:00 2001
-From: Michiel Beijen <michiel.beijen@gmail.com>
-Date: Fri, 23 Feb 2018 07:52:33 +0000
-Subject: [PATCH] Use net_buffer_length macro if available
-
----
- mysql.xs | 11 +++++------
- 1 file changed, 5 insertions(+), 6 deletions(-)
-
-diff --git a/mysql.xs b/mysql.xs
-index 3a9373d..0f97645 100644
---- a/mysql.xs
-+++ b/mysql.xs
-@@ -840,15 +840,14 @@ dbd_mysql_get_info(dbh, sql_info_type)
- retsv = newSVpvn("`", 1);
- break;
- case SQL_MAXIMUM_STATEMENT_LENGTH:
--#if !defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 50709
-- /* MariaDB 10 is not MySQL source level compatible so this
-- only applies to MySQL*/
-- /* mysql_get_option() was added in mysql 5.7.3 */
-- /* MYSQL_OPT_NET_BUFFER_LENGTH was added in mysql 5.7.9 */
-+ /* net_buffer_length macro is not defined in MySQL 5.7 and some MariaDB
-+ versions - if it is not available, use newer mysql_get_option */
-+#if !defined(net_buffer_length)
-+ ;
-+ unsigned long buffer_len;
- mysql_get_option(NULL, MYSQL_OPT_NET_BUFFER_LENGTH, &buffer_len);
- retsv = newSViv(buffer_len);
- #else
-- /* before mysql 5.7.9 use net_buffer_length macro */
- retsv = newSViv(net_buffer_length);
- #endif
- break;
-
diff --git a/source/d/perl/perl.SlackBuild b/source/d/perl/perl.SlackBuild
index 5607a1d8..a793b9f5 100755
--- a/source/d/perl/perl.SlackBuild
+++ b/source/d/perl/perl.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=perl
-VERSION=5.28.0
+VERSION=5.28.1
BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
@@ -57,10 +57,12 @@ PKG=$TMP/package-perl
# Additional required modules:
#
+# https://metacpan.org/release/Devel-CheckLib
+DEVELCHECKLIB=1.13
# https://metacpan.org/release/DBD-mysql
-DBDMYSQL=4.046
+DBDMYSQL=4.049
# https://metacpan.org/release/DBI
-DBI=1.641
+DBI=1.642
# https://metacpan.org/release/gettext
GETTEXT=1.07
# https://metacpan.org/release/TermReadKey
@@ -76,7 +78,7 @@ AUTHENSASL=2.16
# https://metacpan.org/release/MIME-Base64
MIMEBASE64=3.15
# https://metacpan.org/release/IO-Socket-SSL
-IOSOCKETSSL=2.056
+IOSOCKETSSL=2.060
# https://metacpan.org/release/Net-SSLeay
NETSSLEAY=1.85
# https://metacpan.org/release/libnet
@@ -192,6 +194,20 @@ make install DESTDIR=$PKG || exit 1
# Add additional modules:
( cd ext
+ ( tar xzvf $CWD/Devel-CheckLib-${DEVELCHECKLIB}.tar.gz
+ cd Devel-CheckLib-${DEVELCHECKLIB}
+ chown -R root:root .
+ perl Makefile.PL INSTALLDIRS=vendor
+ make || exit 1
+ if [ "$MAKETEST" = "yes" ]; then
+ make test || exit 1
+ fi
+ make install || exit 1
+ make install DESTDIR=$PKG || exit 1
+ mkdir -p $PKG/usr/doc/perl-$VERSION/Devel-CheckLib-${DEVELCHECKLIB}
+ cp -a README* $PKG/usr/doc/perl-$VERSION/Devel-CheckLib-${DEVELCHECKLIB}
+ chmod 644 $PKG/usr/doc/perl-$VERSION/Devel-CheckLib-${DEVELCHECKLIB}/README*
+ ) || exit 1
( tar xzvf $CWD/DBI-${DBI}.tar.gz
cd DBI-${DBI}
chown -R root:root .
@@ -208,7 +224,6 @@ make install DESTDIR=$PKG || exit 1
) || exit 1
( tar xzvf $CWD/DBD-mysql-${DBDMYSQL}.tar.gz
cd DBD-mysql-${DBDMYSQL}
- zcat $CWD/DBD-mysql.net_buffer_length.diff.gz | patch -p1 --verbose || exit 1
chown -R root:root .
perl Makefile.PL INSTALLDIRS=vendor
make || exit 1