From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] apr-util: fix mysql error
Date: Sun, 16 Oct 2022 03:37:40 +0200 [thread overview]
Message-ID: <20221016013740.7GzoMyn0I5lzgizEByKeHkVZ4tBuIu5IllNThWqf9uw@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39977@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 418 bytes --]
There is an updated pull request by classabbyamp against master on the void-packages repository
https://github.com/classabbyamp/void-packages apr-util
https://github.com/void-linux/void-packages/pull/39977
apr-util: fix mysql error
fixes #39510
#### Testing the changes
- I tested the changes in this PR: **briefly**
A patch file from https://github.com/void-linux/void-packages/pull/39977.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-apr-util-39977.patch --]
[-- Type: text/x-diff, Size: 1809 bytes --]
From 4a37c804aee7f036d8b526781d119c5a2a53ac19 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sat, 15 Oct 2022 21:19:26 -0400
Subject: [PATCH] apr-util: fix mysql error
fixes #39510
---
srcpkgs/apr-util/patches/mysql.patch | 15 +++++++++++++++
srcpkgs/apr-util/template | 4 +++-
2 files changed, 18 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/apr-util/patches/mysql.patch
diff --git a/srcpkgs/apr-util/patches/mysql.patch b/srcpkgs/apr-util/patches/mysql.patch
new file mode 100644
index 000000000000..bf1792ed6ebb
--- /dev/null
+++ b/srcpkgs/apr-util/patches/mysql.patch
@@ -0,0 +1,15 @@
+fixes: https://github.com/void-linux/void-packages/issues/39510
+taken from upstream: https://svn.apache.org/viewvc/apr/apr/trunk/dbd/apr_dbd_mysql.c?r1=1872059&r2=1872060&diff_format=h
+
+--- a/dbd/apr_dbd_mysql.c
++++ b/dbd/apr_dbd_mysql.c
+@@ -1262,7 +1262,9 @@
+
+ static void dbd_mysql_init(apr_pool_t *pool)
+ {
++#if MYSQL_VERSION_ID < 100000
+ my_init();
++#endif
+ mysql_thread_init();
+
+ /* FIXME: this is a guess; find out what it really does */
diff --git a/srcpkgs/apr-util/template b/srcpkgs/apr-util/template
index f01bfeb54158..f1cd4363365a 100644
--- a/srcpkgs/apr-util/template
+++ b/srcpkgs/apr-util/template
@@ -1,7 +1,7 @@
# Template file for 'apr-util'
pkgname=apr-util
version=1.6.1
-revision=12
+revision=13
build_style=gnu-configure
configure_args="
--with-pgsql --with-ldap
@@ -19,6 +19,8 @@ license="Apache-2.0"
homepage="https://apr.apache.org/"
distfiles="https://www.apache.org/dist/apr/${pkgname}-${version}.tar.bz2"
checksum=d3e12f7b6ad12687572a3a39475545a072608f4ba03a6ce8a3778f607dd0035b
+# fails to build tests
+make_check=no
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
next prev parent reply other threads:[~2022-10-16 1:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-16 1:20 [PR PATCH] " classabbyamp
2022-10-16 1:26 ` [PR PATCH] [Updated] " classabbyamp
2022-10-16 1:37 ` classabbyamp [this message]
2022-10-16 1:40 ` [PR PATCH] [Merged]: " classabbyamp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221016013740.7GzoMyn0I5lzgizEByKeHkVZ4tBuIu5IllNThWqf9uw@z \
--to=classabbyamp@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).