File: WIP-Skip-compiling-socket-auth-both-on-hurd-i386-and-hurd.patch

package info (click to toggle)
mariadb 1%3A11.8.5-3~exp3
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 775,036 kB
  • sloc: ansic: 2,415,394; cpp: 1,796,627; asm: 381,336; perl: 62,933; sh: 50,567; pascal: 40,908; java: 39,363; python: 25,814; yacc: 20,444; sql: 17,907; xml: 12,354; ruby: 8,544; cs: 6,542; makefile: 6,145; ada: 1,879; lex: 1,194; javascript: 996; objc: 80; tcl: 73; awk: 46; php: 22
file content (23 lines) | stat: -rw-r--r-- 970 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: =?utf-8?b?T3R0byBLZWvDpGzDpGluZW4=?= <otto@debian.org>
Date: Fri, 12 Dec 2025 11:19:12 -0800
Subject: WIP: Skip compiling socket auth both on hurd-i386 and hurd-amd64

---
 cmake/build_configurations/mysql_release.cmake | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmake/build_configurations/mysql_release.cmake b/cmake/build_configurations/mysql_release.cmake
index 6b7b4d6..8c12064 100644
--- a/cmake/build_configurations/mysql_release.cmake
+++ b/cmake/build_configurations/mysql_release.cmake
@@ -120,8 +120,8 @@ ELSEIF(DEB)
   SET(WITH_ZLIB system CACHE STRING "")
   SET(WITH_LIBWRAP ON)
   SET(HAVE_EMBEDDED_PRIVILEGE_CONTROL ON)
-  # No hurd implementation
-  IF(NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "i686-AT386")
+  # On Hurd systems (GNU) there is no auth socket implementation
+  IF(NOT CMAKE_SYSTEM_NAME STREQUAL "GNU")
     SET(PLUGIN_AUTH_SOCKET YES CACHE STRING "")
   ENDIF()
   SET(WITH_EMBEDDED_SERVER ON CACHE BOOL "")