You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.5 KiB
38 lines
1.5 KiB
From b692f86a93c8f7e6ac938277a9aec434b02c252b Mon Sep 17 00:00:00 2001
|
|
From: Jerry Snitselaar <jsnitsel@redhat.com>
|
|
Date: Wed, 18 Mar 2020 13:35:22 -0700
|
|
Subject: [PATCH] trousers: resolve build failure
|
|
|
|
The global variables tcsd_sa_chld and tcsd_sa_int in tcsd.h are
|
|
causing build failures in latest Fedora release:
|
|
|
|
/usr/bin/ld: ../../src/tcs/libtcs.a(libtcs_a-tcsi_changeauth.o):/builddir/build/BUILD/trousers-0.3.13/src/tcs/../include/tcsd.h:169: multiple definition of `tcsd_sa_chld'; tcsd-svrside.o:/builddir/build/BUILD/trousers-0.3.13/src/tcsd/../../src/include/tcsd.h:169: first defined here
|
|
/usr/bin/ld: ../../src/tcs/libtcs.a(libtcs_a-tcsi_changeauth.o):/builddir/build/BUILD/trousers-0.3.13/src/tcs/../include/tcsd.h:168: multiple definition of `tcsd_sa_int'; tcsd-svrside.o:/builddir/build/BUILD/trousers-0.3.13/src/tcsd/../../src/include/tcsd.h:168: first defined here
|
|
|
|
They are no longer used since 9b40e581470b ("Improved daemon's signal
|
|
handling") so just remove them.
|
|
|
|
Signed-off-by: Jerry Snitselaar <jsnitsel@redhat.com>
|
|
---
|
|
src/include/tcsd.h | 6 ------
|
|
1 file changed, 6 deletions(-)
|
|
|
|
diff --git a/src/include/tcsd.h b/src/include/tcsd.h
|
|
index 5b9462b85ed6..f5c286e01c86 100644
|
|
--- a/src/include/tcsd.h
|
|
+++ b/src/include/tcsd.h
|
|
@@ -164,10 +164,4 @@ TSS_RESULT tcsd_thread_create(int, char *);
|
|
void *tcsd_thread_run(void *);
|
|
void thread_signal_init();
|
|
|
|
-/* signal handling */
|
|
-#ifndef __APPLE__
|
|
-struct sigaction tcsd_sa_int;
|
|
-struct sigaction tcsd_sa_chld;
|
|
-#endif
|
|
-
|
|
#endif
|
|
--
|
|
2.24.0
|
|
|