summaryrefslogtreecommitdiff
path: root/databases/percona55-client/files/patch-mysys_default.c
diff options
context:
space:
mode:
authorFlorian Smeets <flo@FreeBSD.org>2021-04-11 13:48:35 +0200
committerFlorian Smeets <flo@FreeBSD.org>2021-04-11 23:42:42 +0200
commit1ac77b72c03c3ac28743d9b8bc40c628dca48693 (patch)
treeb39d57d1b61fd16ee4bee7d023fd70cce01ed16d /databases/percona55-client/files/patch-mysys_default.c
parentaudio/kapitonov-plugins-pack-lv2: add compiler:c11 to USES (diff)
Remove Percona Server for MySQL 5.5, it is EOL upstream
Diffstat (limited to 'databases/percona55-client/files/patch-mysys_default.c')
-rw-r--r--databases/percona55-client/files/patch-mysys_default.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/databases/percona55-client/files/patch-mysys_default.c b/databases/percona55-client/files/patch-mysys_default.c
deleted file mode 100644
index 816105371bdf..000000000000
--- a/databases/percona55-client/files/patch-mysys_default.c
+++ /dev/null
@@ -1,31 +0,0 @@
---- mysys/default.c.orig 2010-11-02 23:01:13.000000000 +0100
-+++ mysys/default.c 2010-11-10 16:39:51.000000000 +0100
-@@ -70,7 +70,7 @@
-
- /* Which directories are searched for options (and in which order) */
-
--#define MAX_DEFAULT_DIRS 6
-+#define MAX_DEFAULT_DIRS 7
- #define DEFAULT_DIRS_SIZE (MAX_DEFAULT_DIRS + 1) /* Terminate with NULL */
- static const char **default_directories = NULL;
-
-@@ -711,7 +711,7 @@
- {
- MY_STAT stat_info;
- if (!my_stat(name,&stat_info,MYF(0)))
-- return 1;
-+ return 0;
- /*
- Ignore world-writable regular files.
- This is mainly done to protect us to not read a file created by
-@@ -1153,7 +1153,10 @@
-
- #if defined(DEFAULT_SYSCONFDIR)
- if (DEFAULT_SYSCONFDIR[0])
-+ {
- errors += add_directory(alloc, DEFAULT_SYSCONFDIR, dirs);
-+ errors += add_directory(alloc, DEFAULT_SYSCONFDIR "/mysql", dirs);
-+ }
- #endif /* DEFAULT_SYSCONFDIR */
-
- #endif