git: 39b5887a240b - main - devel/libthreadar: Update version 1.4.0=>1.5.0

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 02 Oct 2024 16:17:33 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=39b5887a240bac0743b2673a790c7c59795e7631

commit 39b5887a240bac0743b2673a790c7c59795e7631
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-10-02 04:52:32 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-10-02 16:17:03 +0000

    devel/libthreadar: Update version 1.4.0=>1.5.0
    
    Changelog: https://github.com/Edrusb/libthreadar/releases/tag/v1.5.0
---
 devel/libthreadar/Makefile                           |  2 +-
 devel/libthreadar/distinfo                           |  6 +++---
 devel/libthreadar/files/patch-src_thread__signal.cpp | 12 ++++++++++++
 devel/libthreadar/pkg-plist                          |  3 ++-
 4 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/devel/libthreadar/Makefile b/devel/libthreadar/Makefile
index be7547a7c006..08e7221969b8 100644
--- a/devel/libthreadar/Makefile
+++ b/devel/libthreadar/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	libthreadar
-PORTVERSION=	1.4.0
+DISTVERSION=	1.5.0
 CATEGORIES=	devel sysutils
 MASTER_SITES=	SF/${PORTNAME}/${PORTVERSION}/ \
 		https://dar.edrusb.org/libthreadar/Releases/
diff --git a/devel/libthreadar/distinfo b/devel/libthreadar/distinfo
index 72b27a7d2aee..6986927b1109 100644
--- a/devel/libthreadar/distinfo
+++ b/devel/libthreadar/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1661435063
-SHA256 (libthreadar-1.4.0.tar.gz) = 2e4715178027bac973a4883f4bcb063494327ba886710446a82a80860f1a3791
-SIZE (libthreadar-1.4.0.tar.gz) = 445672
+TIMESTAMP = 1724374184
+SHA256 (libthreadar-1.5.0.tar.gz) = c0902421418aed477a9f6a75dbbe6f3644b1fd6ecb9602965d06837af7ad3e4a
+SIZE (libthreadar-1.5.0.tar.gz) = 460637
diff --git a/devel/libthreadar/files/patch-src_thread__signal.cpp b/devel/libthreadar/files/patch-src_thread__signal.cpp
new file mode 100644
index 000000000000..e0a30289a05a
--- /dev/null
+++ b/devel/libthreadar/files/patch-src_thread__signal.cpp
@@ -0,0 +1,12 @@
+--- src/thread_signal.cpp.orig	2024-10-02 04:26:07 UTC
++++ src/thread_signal.cpp
+@@ -120,7 +120,9 @@ namespace libthreadar
+ 		    if(sigemptyset(& sigac.sa_mask) != 0)
+ 			throw exception_system("Error calling sigemptyset(): ", errno);
+ 		    sigac.sa_flags = 0;
++#ifdef __linux__
+ 		    sigac.sa_restorer = nullptr;
++#endif
+ 
+ 		    if(sigaction(awaking_signal, &sigac, nullptr) != 0)
+ 			throw exception_system("Error calling sigaction(): ", errno);
diff --git a/devel/libthreadar/pkg-plist b/devel/libthreadar/pkg-plist
index 948bc0190d11..796b3d44e376 100644
--- a/devel/libthreadar/pkg-plist
+++ b/devel/libthreadar/pkg-plist
@@ -11,9 +11,10 @@ include/libthreadar/ratelier_scatter.hpp
 include/libthreadar/semaphore.hpp
 include/libthreadar/tampon.hpp
 include/libthreadar/thread.hpp
+include/libthreadar/thread_signal.hpp
 lib/libthreadar.a
 lib/libthreadar.so
 lib/libthreadar.so.1000
-lib/libthreadar.so.1000.4.0
+lib/libthreadar.so.1000.5.0
 libdata/pkgconfig/libthreadar.pc
 %%DATADIR%%/README