From: "Mikle Kolyada" <zlogene@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/DBD-mysql/, dev-perl/DBD-mysql/files/
Date: Sun, 27 Sep 2015 15:44:14 +0000 (UTC) [thread overview]
Message-ID: <1443368381.f2b6b0f0106efe89395009da132bca115984dfd7.zlogene@gentoo> (raw)
commit: f2b6b0f0106efe89395009da132bca115984dfd7
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 27 15:39:41 2015 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun Sep 27 15:39:41 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2b6b0f0
dev-perl/DBD-mysql: Fix compilation with embedded USE flag wrt bug #560314
Package-Manager: portage-2.2.20.1
dev-perl/DBD-mysql/DBD-mysql-4.31.0.ebuild | 4 ++++
dev-perl/DBD-mysql/DBD-mysql-4.32.0.ebuild | 4 ++++
.../files/DBD-mysql-print_embedded_options.patch | 20 ++++++++++++++++++++
3 files changed, 28 insertions(+)
diff --git a/dev-perl/DBD-mysql/DBD-mysql-4.31.0.ebuild b/dev-perl/DBD-mysql/DBD-mysql-4.31.0.ebuild
index 339d0c6..d9af44c 100644
--- a/dev-perl/DBD-mysql/DBD-mysql-4.31.0.ebuild
+++ b/dev-perl/DBD-mysql/DBD-mysql-4.31.0.ebuild
@@ -25,6 +25,10 @@ else
SRC_TEST="skip"
fi
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-print_embedded_options.patch
+}
+
src_configure() {
if use test; then
myconf="${myconf} --testdb=test \
diff --git a/dev-perl/DBD-mysql/DBD-mysql-4.32.0.ebuild b/dev-perl/DBD-mysql/DBD-mysql-4.32.0.ebuild
index d6bc3e4..a6c1c39 100644
--- a/dev-perl/DBD-mysql/DBD-mysql-4.32.0.ebuild
+++ b/dev-perl/DBD-mysql/DBD-mysql-4.32.0.ebuild
@@ -25,6 +25,10 @@ else
SRC_TEST="skip"
fi
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-print_embedded_options.patch
+}
+
src_configure() {
if use test; then
myconf="${myconf} --testdb=test \
diff --git a/dev-perl/DBD-mysql/files/DBD-mysql-print_embedded_options.patch b/dev-perl/DBD-mysql/files/DBD-mysql-print_embedded_options.patch
new file mode 100644
index 0000000..d205b43
--- /dev/null
+++ b/dev-perl/DBD-mysql/files/DBD-mysql-print_embedded_options.patch
@@ -0,0 +1,20 @@
+diff -ubBr old/dbdimp.c new/dbdimp.c
+--- old/dbdimp.c 2015-09-12 17:52:41.328543844 -0400
++++ new/dbdimp.c 2015-09-12 23:21:52.848371578 -0400
+@@ -443,14 +443,14 @@
+ Print out embbedded option settings
+
+ */
+-int print_embedded_options(char ** options_list, int options_count)
++int print_embedded_options(PerlIOl ** Log, char ** options_list, int options_count)
+ {
+ int i;
+
+ for (i=0; i<options_count; i++)
+ {
+ if (options_list[i])
+- PerlIO_printf(DBILOGFP,
++ PerlIO_printf(Log,
+ "Embedded server, parameter[%d]=%s\n",
+ i, options_list[i]);
+ }
next reply other threads:[~2015-09-27 15:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-27 15:44 Mikle Kolyada [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-06-10 18:33 [gentoo-commits] repo/gentoo:master commit in: dev-perl/DBD-mysql/, dev-perl/DBD-mysql/files/ Kent Fredric
2017-07-21 21:51 Kent Fredric
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=1443368381.f2b6b0f0106efe89395009da132bca115984dfd7.zlogene@gentoo \
--to=zlogene@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.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