Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37819837
en ru br
ALT Linux repos
S:0.4.3-alt1
5.0: 0.3-alt6.15
4.1: 0.3-alt6.15
4.0: 0.3-alt5.15
3.0: 0.3-alt1.14

Group :: Monitoring
RPM: hddtemp

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: hddtemp-fedora-user-context-type.patch
Download


diff -up hddtemp-0.3-beta15/src/backtrace.c.ucontext hddtemp-0.3-beta15/src/backtrace.c
--- hddtemp-0.3-beta15/src/backtrace.c.ucontext	2018-03-15 20:58:48.253308241 +0100
+++ hddtemp-0.3-beta15/src/backtrace.c	2018-03-15 21:14:42.288130136 +0100
@@ -42,7 +42,7 @@
 #define MAX_BTSIZE 64
 
 void backtrace_handler(int n, siginfo_t *ist, void *extra) {
-  static struct ucontext *puc;
+  static ucontext_t *puc;
   static void *btinfo[MAX_BTSIZE];
   static char **messages = NULL;
   static size_t btsize = 0;
@@ -58,7 +58,7 @@ void backtrace_handler(int n, siginfo_t
 
 #define SIC_CASE(c) case c: strerr = #c
 
-  puc = (struct ucontext *)extra;
+  puc = (ucontext_t *)extra;
   switch(n) {
   case SIGSEGV:
     switch(ist->si_code) {
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin