mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-10 06:57:08 -08:00
dev-perl/DBD-mysql: Fix compilation with embedded USE flag wrt bug #560314
Package-Manager: portage-2.2.20.1
This commit is contained in:
@@ -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 \
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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]);
|
||||
}
|
||||
Reference in New Issue
Block a user