Skip to content

Instantly share code, notes, and snippets.

@abg
Created April 15, 2014 04:43
Show Gist options
  • Select an option

  • Save abg/10702765 to your computer and use it in GitHub Desktop.

Select an option

Save abg/10702765 to your computer and use it in GitHub Desktop.
Patch to build INNODB_MEMCACHED in IUS mysql56
--- a/mysql56u.spec 2014-04-09 15:24:17.000000000 -0400
+++ b/mysql56u.spec 2014-04-15 00:42:08.805743802 -0400
@@ -81,6 +81,7 @@
Patch32: community-mysql-covscan-signexpr.patch
Patch33: community-mysql-covscan-stroverflow.patch
Patch34: community-mysql-pluginerrmsg.patch
+Patch99: mysql-5.6.17-libevent.patch
@@ -318,6 +319,7 @@
#%patch32 -p1
#%patch33 -p1
%patch34 -p1
+%patch99 -p1
# Workaround for upstream bug #56342
rm -f mysql-test/t/ssl_8k_key-master.opt
@@ -388,6 +390,7 @@
-DWITH_LIBEVENT=system \
-DWITH_SSL=system \
-DWITH_ZLIB=system \
+ -DWITH_INNODB_MEMCACHED=on \
%if %{_hardened_build}
-DWITH_MYSQLD_LDFLAGS="-Wl,-z,relro,-z,now"
%endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment