diff --git a/srcpkgs/tor/patches/ppc.patch b/srcpkgs/tor/patches/ppc.patch index c72cdf6ad78..86b3ba1ce97 100644 --- a/srcpkgs/tor/patches/ppc.patch +++ b/srcpkgs/tor/patches/ppc.patch @@ -16,20 +16,20 @@ + #endif /* defined(__i386__) || ... */ - /**Determines if at least one sandbox is active.*/ -@@ -1613,7 +1623,15 @@ sigsys_debugging(int nr, siginfo_t *info, void *void_context) - if (!ctx) - return; - + #ifdef M_SYSCALL +@@ -1654,7 +1664,15 @@ + static int + get_syscall_from_ucontext(const ucontext_t *ctx) + { +#if defined(__powerpc__) && !defined(__powerpc64__) +#if defined(__GLIBC__) -+ syscall = (int) ctx->uc_mcontext.uc_regs->M_SYSCALL; ++ return (int) ctx->uc_mcontext.uc_regs->M_SYSCALL; +#else -+ syscall = (int) ctx->uc_regs->M_SYSCALL; ++ return (int) ctx->uc_regs->M_SYSCALL; +#endif +#else - syscall = (int) ctx->uc_mcontext.M_SYSCALL; + return (int) ctx->uc_mcontext.M_SYSCALL; +#endif - - #ifdef USE_BACKTRACE - depth = backtrace(syscall_cb_buf, MAX_DEPTH); + } + #else + static const char * diff --git a/srcpkgs/tor/template b/srcpkgs/tor/template index b3003c05d94..6166aa0f188 100644 --- a/srcpkgs/tor/template +++ b/srcpkgs/tor/template @@ -1,7 +1,7 @@ # Template file for 'tor' pkgname=tor -version=0.4.3.6 -revision=3 +version=0.4.4.5 +revision=1 build_style=gnu-configure configure_args="--enable-zstd" hostmakedepends="pkg-config" @@ -14,7 +14,7 @@ license="BSD-3-Clause" homepage="https://www.torproject.org/" changelog="https://gitweb.torproject.org/tor.git/plain/ReleaseNotes" distfiles="https://dist.torproject.org/tor-${version}.tar.gz" -checksum=6a2d0637d4e514be2ec574723a05065245cce51da78a21cec1dc831be5ccac62 +checksum=a45ca00afe765e3baa839767c9dd6ac9a46dd01720a3a8ff4d86558c12359926 conf_files="/etc/tor/torrc" system_accounts="tor"