public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Brian Evans" <grknight@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/mysql-connector-c/, dev-db/mysql-connector-c/files/
Date: Tue, 11 Aug 2015 19:52:43 +0000 (UTC)	[thread overview]
Message-ID: <1439322922.d5582b7db025e9b136fa4a8f9f300cc08c0ef90b.grknight@gentoo> (raw)

commit:     d5582b7db025e9b136fa4a8f9f300cc08c0ef90b
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 11 19:55:22 2015 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Tue Aug 11 19:55:22 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5582b7d

dev-db/mysql-connector-c Add API patch for CLIENT_SECURE_CONNECTION symbol

Restore CLIENT_SECURE_CONNECTION symbol which was changed to CLIENT_RESERVED2
Filed upstream bug https://bugs.mysql.com/bug.php?id=78028

Package-Manager: portage-2.2.20

 dev-db/mysql-connector-c/files/mysql_com.patch     | 31 ++++++++++++++++++++++
 ....6.ebuild => mysql-connector-c-6.1.6-r1.ebuild} |  3 ++-
 2 files changed, 33 insertions(+), 1 deletion(-)

diff --git a/dev-db/mysql-connector-c/files/mysql_com.patch b/dev-db/mysql-connector-c/files/mysql_com.patch
new file mode 100644
index 0000000..36a7d5a
--- /dev/null
+++ b/dev-db/mysql-connector-c/files/mysql_com.patch
@@ -0,0 +1,31 @@
+--- a/include/mysql_com.h	2014-06-10 23:10:43.000000000 -0400
++++ b/include/mysql_com.h	2015-08-11 15:20:54.487091000 -0400
+@@ -179,7 +171,7 @@
+ #define CLIENT_IGNORE_SIGPIPE   4096    /* IGNORE sigpipes */
+ #define CLIENT_TRANSACTIONS	8192	/* Client knows about transactions */
+ #define CLIENT_RESERVED         16384   /* Old flag for 4.1 protocol  */
+-#define CLIENT_RESERVED2        32768   /* Old flag for 4.1 authentication */
++#define CLIENT_SECURE_CONNECTION 32768  /* New 4.1 authentication */
+ #define CLIENT_MULTI_STATEMENTS (1UL << 16) /* Enable/disable multi-stmt support */
+ #define CLIENT_MULTI_RESULTS    (1UL << 17) /* Enable/disable multi-results */
+ #define CLIENT_PS_MULTI_RESULTS (1UL << 18) /* Multi-results in PS-protocol */
+@@ -226,7 +216,7 @@
+                            | CLIENT_IGNORE_SIGPIPE \
+                            | CLIENT_TRANSACTIONS \
+                            | CLIENT_RESERVED \
+-                           | CLIENT_RESERVED2 \
++                           | CLIENT_SECURE_CONNECTION \
+                            | CLIENT_MULTI_STATEMENTS \
+                            | CLIENT_MULTI_RESULTS \
+                            | CLIENT_PS_MULTI_RESULTS \
+--- a/libmysql/client_settings.h	2015-02-25 16:09:49.000000000 -0500
++++ b/libmysql/client_settings.h	2015-08-11 15:44:10.804091000 -0400
+@@ -31,7 +31,7 @@
+                              CLIENT_LONG_FLAG |     \
+                              CLIENT_TRANSACTIONS |  \
+                              CLIENT_PROTOCOL_41 | \
+-                             CLIENT_RESERVED2 | \
++                             CLIENT_SECURE_CONNECTION | \
+                              CLIENT_MULTI_RESULTS | \
+                              CLIENT_PS_MULTI_RESULTS | \
+                              CLIENT_PLUGIN_AUTH | \

diff --git a/dev-db/mysql-connector-c/mysql-connector-c-6.1.6.ebuild b/dev-db/mysql-connector-c/mysql-connector-c-6.1.6-r1.ebuild
similarity index 95%
rename from dev-db/mysql-connector-c/mysql-connector-c-6.1.6.ebuild
rename to dev-db/mysql-connector-c/mysql-connector-c-6.1.6-r1.ebuild
index 9c8061a..969af88 100644
--- a/dev-db/mysql-connector-c/mysql-connector-c-6.1.6.ebuild
+++ b/dev-db/mysql-connector-c/mysql-connector-c-6.1.6-r1.ebuild
@@ -43,7 +43,8 @@ DOCS=( README Docs/ChangeLog )
 
 src_prepare() {
 	epatch "${FILESDIR}/openssl-cmake-detection.patch" \
-		"${FILESDIR}/conn-c-includes.patch"
+		"${FILESDIR}/conn-c-includes.patch" \
+		"${FILESDIR}/mysql_com.patch"
 	epatch_user
 }
 


             reply	other threads:[~2015-08-11 19:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-11 19:52 Brian Evans [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-06-11 19:09 [gentoo-commits] repo/gentoo:master commit in: dev-db/mysql-connector-c/, dev-db/mysql-connector-c/files/ Brian Evans
2019-08-02 14:38 Thomas Deutschmann
2019-08-22 20:02 Thomas Deutschmann
2019-10-16 21:40 Thomas Deutschmann
2020-01-20 19:26 Thomas Deutschmann
2020-08-09 21:01 Thomas Deutschmann
2020-08-19 10:37 Thomas Deutschmann
2023-04-09  5:31 Sam James
2025-01-09  3:14 Sam James

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=1439322922.d5582b7db025e9b136fa4a8f9f300cc08c0ef90b.grknight@gentoo \
    --to=grknight@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