pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/mysql57-client mysql57-client: tweak patch t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/08bff2b0ee7d
branches:  trunk
changeset: 314989:08bff2b0ee7d
user:      markd <markd%pkgsrc.org@localhost>
date:      Tue Nov 13 11:24:38 2018 +0000

description:
mysql57-client: tweak patch to work on modern linux
copy tirpc handling from the else clause for linux systems that no longer
have sun rpc in glibc.

diffstat:

 databases/mysql57-client/distinfo                                                   |   4 +-
 databases/mysql57-client/patches/patch-rapid_plugin_group__replication_rpcgen.cmake |  11 +++++++--
 2 files changed, 10 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 612d45880bfc -r 08bff2b0ee7d databases/mysql57-client/distinfo
--- a/databases/mysql57-client/distinfo Tue Nov 13 11:23:38 2018 +0000
+++ b/databases/mysql57-client/distinfo Tue Nov 13 11:24:38 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.23 2018/10/01 00:11:29 sevan Exp $
+$NetBSD: distinfo,v 1.24 2018/11/13 11:24:38 markd Exp $
 
 SHA1 (mysql-5.7.23.tar.gz) = 0c07dd1670f3749c482180227717738c031bb5b4
 RMD160 (mysql-5.7.23.tar.gz) = 20021aa73537f4630b72931925bec78c251b06e6
@@ -28,7 +28,7 @@
 SHA1 (patch-rapid_plugin_group__replication_libmysqlgcs_src_bindings_xcom_xcom_sock__probe__ix.c) = 1a389fca13ada1be74d96276e11baee16bbc2363
 SHA1 (patch-rapid_plugin_group__replication_libmysqlgcs_src_bindings_xcom_xcom_xcom__memory.c) = 7077900830f904c74c79439b856d9d176fc27f15
 SHA1 (patch-rapid_plugin_group__replication_libmysqlgcs_src_bindings_xcom_xcom_xcom__transport.c) = d7f87bff5a41ff6a130fcf74dc520b38cedf5924
-SHA1 (patch-rapid_plugin_group__replication_rpcgen.cmake) = 5c14be97bd1fd04b2b845f1a2422452445733474
+SHA1 (patch-rapid_plugin_group__replication_rpcgen.cmake) = ff0679ed644d79abe52b208f6b60b5a4e480ed3f
 SHA1 (patch-rapid_plugin_x_CMakeLists.txt) = aedf7d93889d4e7b4e04d182fe1a6775134f97e8
 SHA1 (patch-rapid_unittest_gunit_xplugin_CMakeLists.txt) = c0ae4570e138869a3203f7d4704a0b6b5c19e517
 SHA1 (patch-scripts_CMakeLists.txt) = b149f40f65c4ce8f6f4a7adf75f5ec4be44319f1
diff -r 612d45880bfc -r 08bff2b0ee7d databases/mysql57-client/patches/patch-rapid_plugin_group__replication_rpcgen.cmake
--- a/databases/mysql57-client/patches/patch-rapid_plugin_group__replication_rpcgen.cmake       Tue Nov 13 11:23:38 2018 +0000
+++ b/databases/mysql57-client/patches/patch-rapid_plugin_group__replication_rpcgen.cmake       Tue Nov 13 11:24:38 2018 +0000
@@ -1,15 +1,20 @@
-$NetBSD: patch-rapid_plugin_group__replication_rpcgen.cmake,v 1.1 2017/01/12 09:39:47 jperkin Exp $
+$NetBSD: patch-rapid_plugin_group__replication_rpcgen.cmake,v 1.2 2018/11/13 11:24:38 markd Exp $
 
 Don't depend on rpcgen, just use the pre-generated headers.
 
---- rapid/plugin/group_replication/rpcgen.cmake.orig   2016-11-28 13:32:52.000000000 +0000
+--- rapid/plugin/group_replication/rpcgen.cmake.orig   2018-06-08 09:56:29.000000000 +0000
 +++ rapid/plugin/group_replication/rpcgen.cmake
-@@ -64,7 +64,7 @@ FOREACH(X xcom_vp)
+@@ -64,7 +64,12 @@ FOREACH(X xcom_vp)
    SET (x_vanilla_h      ${XCOM_BASEDIR}/${X}.h.gen)
    SET (x_vanilla_c      ${XCOM_BASEDIR}/${X}_xdr.c.gen)
  
 -  IF(WIN32)
 +  IF(1)
++    IF(RPC_INCLUDE_DIR STREQUAL "/usr/include/tirpc")
++      INCLUDE_DIRECTORIES(SYSTEM /usr/include/tirpc)
++      ADD_DEFINITIONS(-DHAVE_TIRPC)
++      SET(TIRPC_LIBRARY tirpc)
++    ENDIF()
      # on windows system's there is no rpcgen, thence copy
      # the files in the source directory
      ADD_CUSTOM_COMMAND(OUTPUT ${x_gen_h} ${x_gen_c} ${x_tmp_plat_h}



Home | Main Index | Thread Index | Old Index