mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 15:36:35 -04:00
PR259775 reports that (auto)configuration behaves weirdly. This is caused by a mismatch between an enum in the code and a table that expects to match the enum values. When BUILD_WITH_TPM2D is off (the default; I have not looked if it can even be turned on in ports) one table entry is Patch also submitted upstream. PR: 259775 Reported by: O. Hartmann MFH: 2021Q3
11 lines
465 B
C
11 lines
465 B
C
--- tools/gpgconf-comp.c.orig 2021-10-10 16:28:51 UTC
|
|
+++ tools/gpgconf-comp.c
|
|
@@ -676,6 +676,8 @@ static struct
|
|
{ TPM2DAEMON_NAME, TPM2DAEMON_DISP_NAME, "gnupg", N_("TPM"),
|
|
GNUPG_MODULE_NAME_TPM2DAEMON, TPM2DAEMON_NAME ".conf",
|
|
known_options_tpm2daemon, NULL, tpm2daemon_runtime_change},
|
|
+#else
|
|
+ { NULL }, /* Another dummy, to keep the enum in sync with this table */
|
|
#endif
|
|
|
|
{ DIRMNGR_NAME, DIRMNGR_DISP_NAME, "gnupg", N_("Network"),
|