-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
61 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
maxscale/files/patch-include_maxscale_protocol_mariadb_mysql.hh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- include/maxscale/protocol/mariadb/mysql.hh.orig 2022-10-18 19:45:58 UTC | ||
+++ include/maxscale/protocol/mariadb/mysql.hh | ||
@@ -13,9 +13,12 @@ | ||
#pragma once | ||
|
||
#include <maxscale/ccdefs.hh> | ||
- | ||
#include <maxscale/buffer.hh> | ||
#include <maxscale/protocol/mariadb/common_constants.hh> | ||
+ | ||
+#ifdef __FreeBSD__ | ||
+#include <sys/endian.h> | ||
+#endif | ||
|
||
#define MYSQL_HEADER_LEN 4 | ||
#define MYSQL_CHECKSUM_LEN 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- maxutils/maxbase/src/log.cc.orig 2022-10-18 19:57:28 UTC | ||
+++ maxutils/maxbase/src/log.cc | ||
@@ -487,7 +487,7 @@ bool mxb_log_init(const char* ident, | ||
if (!filename) | ||
{ | ||
#ifdef __GNUC__ | ||
- suffix = program_invocation_short_name; | ||
+ suffix = getprogname(); | ||
#else | ||
suffix = "messages"; | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
maxscale/files/patch-query__classifier_qc__sqlite_CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- query_classifier/qc_sqlite/CMakeLists.txt.orig 2022-10-18 19:53:16 UTC | ||
+++ query_classifier/qc_sqlite/CMakeLists.txt | ||
@@ -4,7 +4,7 @@ ExternalProject_Add(maxscale_sqlite | ||
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/sqlite-src-3110100 | ||
BINARY_DIR ${CMAKE_BINARY_DIR}/sqlite-bld-3110100 | ||
CONFIGURE_COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/sqlite-src-3110100/configure --with-pic --enable-maxscale | ||
- BUILD_COMMAND make sqlite3.c | ||
+ BUILD_COMMAND gmake sqlite3.c | ||
INSTALL_COMMAND "" | ||
LOG_DOWNLOAD 1 | ||
LOG_UPDATE 1 |