Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MDEV-12305 + others = Hurd upstream misc patches #3761

Open
wants to merge 3 commits into
base: 10.5
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion cmake/build_configurations/mysql_release.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,10 @@ ELSEIF(DEB)
SET(WITH_ZLIB system CACHE STRING "")
SET(WITH_LIBWRAP ON)
SET(HAVE_EMBEDDED_PRIVILEGE_CONTROL ON)
SET(PLUGIN_AUTH_SOCKET YES CACHE STRING "")
# No hurd implementation
IF(NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "i686-AT386")
SET(PLUGIN_AUTH_SOCKET YES CACHE STRING "")
ENDIF()
SET(WITH_EMBEDDED_SERVER ON CACHE BOOL "")
SET(WITH_PCRE system CACHE STRING "")
SET(WITH_INNODB_BZIP2 OFF CACHE STRING "")
Expand Down
3 changes: 3 additions & 0 deletions plugin/disks/information_schema_disks.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
#include <sys/mntent.h>
#endif
#endif
#ifndef PATH_MAX
#define PATH_MAX 4096
#endif
#include <sql_class.h>
#include <sql_i_s.h>
#include <sql_acl.h> /* check_global_access() */
Expand Down
5 changes: 3 additions & 2 deletions storage/connect/ioapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@
#ifndef _ZLIBIOAPI64_H
#define _ZLIBIOAPI64_H

#if defined(__linux__)
#if defined(__linux__) || defined (__GNU__)

// Linux needs this to support file operation on files larger then 4+GB
// Linux and Hurd needs this to support file operation on files larger
// than 4+GB.
// But might need better if/def to select just the platforms that needs them.

#ifndef __USE_FILE_OFFSET64
Expand Down