pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/mysql56-client Unbreak build on DragonFly BSD.
details: https://anonhg.NetBSD.org/pkgsrc/rev/e071b8b3134d
branches: trunk
changeset: 313742:e071b8b3134d
user: sevan <sevan%pkgsrc.org@localhost>
date: Mon Oct 08 13:26:04 2018 +0000
description:
Unbreak build on DragonFly BSD.
Add OpenBSD to the exclusion list in chartype.h as with upstream version.
diffstat:
databases/mysql56-client/distinfo | 4 +-
databases/mysql56-client/patches/patch-cmd-line-utils_libedit_chartype.h | 16 ++++++
databases/mysql56-client/patches/patch-cmd-line-utils_libedit_vi.c | 24 ++++++++++
3 files changed, 43 insertions(+), 1 deletions(-)
diffs (66 lines):
diff -r f2a96bc3b58d -r e071b8b3134d databases/mysql56-client/distinfo
--- a/databases/mysql56-client/distinfo Mon Oct 08 12:26:54 2018 +0000
+++ b/databases/mysql56-client/distinfo Mon Oct 08 13:26:04 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.46 2018/02/05 16:09:52 jperkin Exp $
+$NetBSD: distinfo,v 1.47 2018/10/08 13:26:04 sevan Exp $
SHA1 (mysql-5.6.39.tar.gz) = 8f69162cfcfb031e0e60f85e46182548a4e34b41
RMD160 (mysql-5.6.39.tar.gz) = 5b1eb6a5cd696112ec925b5d26dcf67dce7adc08
@@ -18,6 +18,8 @@
SHA1 (patch-cmake_plugin.cmake) = 03e7a7debd61e870bd76d5c5b253a620662b3595
SHA1 (patch-cmake_readline.cmake) = 6bec6ca87b45c739d0614493477a18bb7c56d981
SHA1 (patch-cmake_ssl.cmake) = a5a25b00010c6586e5a3e099975ddabe369d4247
+SHA1 (patch-cmd-line-utils_libedit_chartype.h) = 6b1453df648001ed1fc81190106e15872a69a04c
+SHA1 (patch-cmd-line-utils_libedit_vi.c) = 7c5ce1d07f650815d028e435a59e5d078ec74c2f
SHA1 (patch-include_CMakeLists.txt) = 49d351a958e63c69ad8bfe5c50961fe3751e86c4
SHA1 (patch-include_my__global.h) = 843b9527faf880eee59cf02239ba601f5985ddfb
SHA1 (patch-include_my_compare.h) = f45bac4b488332a668b0005751856279b67401f5
diff -r f2a96bc3b58d -r e071b8b3134d databases/mysql56-client/patches/patch-cmd-line-utils_libedit_chartype.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql56-client/patches/patch-cmd-line-utils_libedit_chartype.h Mon Oct 08 13:26:04 2018 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-cmd-line-utils_libedit_chartype.h,v 1.1 2018/10/08 13:26:04 sevan Exp $
+
+Exclude DragonFly & OpenBSD
+
+--- cmd-line-utils/libedit/chartype.h.orig 2018-09-30 16:10:45.673504000 -0700
++++ cmd-line-utils/libedit/chartype.h 2018-09-30 16:12:19.519385000 -0700
+@@ -49,7 +49,8 @@
+ TODO : Verify if FreeBSD & AIX stores ISO 10646 in wchar_t. */
+ #if !defined(__NetBSD__) && !defined(__sun) \
+ && !(defined(__APPLE__) && defined(__MACH__)) \
+- && !defined(__FreeBSD__) && !defined(_AIX)
++ && !defined(__FreeBSD__) && !defined(_AIX) \
++ && !defined(__DragonFly__) && !defined(__OpenBSD__)
+ #ifndef __STDC_ISO_10646__
+ /* In many places it is assumed that the first 127 code points are ASCII
+ * compatible, so ensure wchar_t indeed does ISO 10646 and not some other
diff -r f2a96bc3b58d -r e071b8b3134d databases/mysql56-client/patches/patch-cmd-line-utils_libedit_vi.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql56-client/patches/patch-cmd-line-utils_libedit_vi.c Mon Oct 08 13:26:04 2018 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-cmd-line-utils_libedit_vi.c,v 1.1 2018/10/08 13:26:04 sevan Exp $
+
+DragonFly BSD build fix
+
+--- cmd-line-utils/libedit/vi.c.orig 2018-09-30 16:47:49.075991000 -0700
++++ cmd-line-utils/libedit/vi.c 2018-09-30 16:48:41.343701000 -0700
+@@ -919,7 +919,7 @@
+ * NB: posix implies that we should enter insert mode, however
+ * this is against historical precedent...
+ */
+-#if defined(__weak_reference) && !defined(__FreeBSD__)
++#if defined(__weak_reference) && !defined(__FreeBSD__) && !defined(__DragonFly__)
+ __weakref_visible char *my_get_alias_text(const char *)
+ __weak_reference(get_alias_text);
+ #endif
+@@ -928,7 +928,7 @@
+ vi_alias(EditLine *el __attribute__((__unused__)),
+ Int c __attribute__((__unused__)))
+ {
+-#if defined(__weak_reference) && !defined(__FreeBSD__)
++#if defined(__weak_reference) && !defined(__FreeBSD__) && !defined(__DragonFly__)
+ char alias_name[3];
+ char *alias_text;
+
Home |
Main Index |
Thread Index |
Old Index