# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/cryptsetup/hotfix-clang-no-symver.patch # Copyright (C) 2024 - 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- --- cryptsetup-2.7.1/configure.orig 2024-03-07 15:42:35.000000000 +0100 +++ cryptsetup-2.7.1/configure 2024-03-22 12:36:35.053395127 +0100 @@ -25664,6 +25664,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ +#ifndef __clang__ void _test_sym(void); __attribute__((__symver__("sym@VERSION_4.2"))) void _test_sym(void) {} @@ -25672,6 +25673,7 @@ { _test_sym() +#endif ; return 0; }