[packages/vacm] - glibc renamed pthread_mutexattr_setkind_npto pthread_mutexattr_settype long time ago - rel 8

baggins baggins at pld-linux.org
Sun Oct 3 20:52:40 CEST 2021


commit 6576dab15be6a53eca5004cb6a047541bfb667d4
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Oct 3 20:52:06 2021 +0200

    - glibc renamed pthread_mutexattr_setkind_npto pthread_mutexattr_settype long time ago
    - rel 8

 glibc.patch | 11 +++++++++++
 vacm.spec   |  5 ++++-
 2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/vacm.spec b/vacm.spec
index f3cf2b9..1d7edb5 100644
--- a/vacm.spec
+++ b/vacm.spec
@@ -11,7 +11,7 @@ Summary:	System for monitoring and management of a cluster of nodes
 Summary(pl.UTF-8):	System do monitorowania i zarządzania klastrem węzłów
 Name:		vacm
 Version:	2.0.5a
-Release:	7
+Release:	8
 License:	LGPL v2.1+ (library), GPL v2+ (the rest)
 Group:		Applications/System
 Source0:	http://downloads.sourceforge.net/vacm/%{name}-%{version}.tar.gz
@@ -22,6 +22,7 @@ Patch2:		%{name}-link.patch
 Patch3:		dvips.patch
 Patch4:		openssl.patch
 Patch5:		%{name}-gettext.patch
+Patch6:		glibc.patch
 URL:		http://vacm.sourceforge.net/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -39,6 +40,7 @@ BuildRequires:	openssl-devel
 BuildRequires:	pam-devel
 BuildRequires:	readline-devel
 BuildRequires:	texlive-dvips
+BuildRequires:	texlive-jadetex
 BuildRequires:	texlive-latex-marvosym
 BuildRequires:	texlive-latex-ams
 BuildRequires:	texlive-latex-extend
@@ -198,6 +200,7 @@ Dokumentacja do VACM-a.
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 %{__sed} -i -e 's/
//g' nexxus/nexxus_modules/emp/include/iana_list.h
 
diff --git a/glibc.patch b/glibc.patch
new file mode 100644
index 0000000..83121b9
--- /dev/null
+++ b/glibc.patch
@@ -0,0 +1,11 @@
+--- vacm-2.0.5a/nexxus/nexxus_modules/emp/emp_thread.c~	2001-04-18 19:24:03.000000000 +0200
++++ vacm-2.0.5a/nexxus/nexxus_modules/emp/emp_thread.c	2021-10-03 20:47:32.777366614 +0200
+@@ -774,7 +774,7 @@
+     }
+ 	/* Initialize the lock mutex */
+ 	pthread_mutexattr_init(&mutex_attr);
+-	pthread_mutexattr_setkind_np(&mutex_attr, PTHREAD_MUTEX_ERRORCHECK_NP);
++	pthread_mutexattr_settype(&mutex_attr, PTHREAD_MUTEX_ERRORCHECK_NP);
+ 
+ 	return(0);
+ }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/vacm.git/commitdiff/6576dab15be6a53eca5004cb6a047541bfb667d4



More information about the pld-cvs-commit mailing list