ports/security/tpm2-abrmd/files/patch-src_tcti-tabrmd.c
Andrea Cocito e788fbf430 security/tpm2-abrmd: Assorted improvements to the port
* Fix name collision on function write_all():
* Stop installing tpm2-abrmd-devd.conf as it is useless and does not work
* Use "wheel" as FreeBSD does not have the "root" group
* Fix inconsistent naming of the rc script

PR:		286218
Approved by:	maintainer
Pull Request:	https://github.com/freebsd/freebsd-ports/pull/391
2025-05-13 13:22:15 +03:00

12 lines
556 B
C

--- src/tcti-tabrmd.c.orig 2025-02-22 21:59:15 UTC
+++ src/tcti-tabrmd.c
@@ -46,7 +46,7 @@ tss2_tcti_tabrmd_transmit (TSS2_TCTI_CONTEXT *context,
g_debug_bytes (command, size, 16, 4);
ostream = g_io_stream_get_output_stream (TSS2_TCTI_TABRMD_IOSTREAM (context));
g_debug ("%s: blocking write on ostream", __func__);
- write_ret = write_all (ostream, command, size);
+ write_ret = g_write_all (ostream, command, size);
/* should switch on possible errors to translate to TSS2 error codes */
switch (write_ret) {
case -1: