mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
xastir: update to 2.1.8.
This commit is contained in:
parent
acb43c8985
commit
f89031794e
2 changed files with 25 additions and 4 deletions
15
srcpkgs/xastir/patches/fix-mutex.patch
Normal file
15
srcpkgs/xastir/patches/fix-mutex.patch
Normal file
|
@ -0,0 +1,15 @@
|
|||
--- a/src/util.c 2019-07-15 00:30:31.000000000 +0200
|
||||
+++ b/src/util.c 2019-08-31 15:56:13.580212122 +0200
|
||||
@@ -5457,10 +5457,10 @@
|
||||
// NON_LSB VERSION
|
||||
// Check first for newer pthread function
|
||||
# ifdef HAVE_PTHREAD_MUTEXATTR_SETTYPE
|
||||
- (void)pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK_NP);
|
||||
+ (void)pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK);
|
||||
# else
|
||||
// Use older, deprecated pthread function
|
||||
- (void)pthread_mutexattr_setkind_np(&attr, PTHREAD_MUTEX_ERRORCHECK_NP);
|
||||
+ (void)pthread_mutexattr_setkind_np(&attr, PTHREAD_MUTEX_ERRORCHECK);
|
||||
# endif // HAVE_PTHREAD_MUTEXATTR_SETTYPE
|
||||
# endif // __LSB__
|
||||
|
|
@ -1,15 +1,21 @@
|
|||
# Template file for 'xastir'
|
||||
pkgname=xastir
|
||||
version=2.1.6
|
||||
version=2.1.8
|
||||
revision=1
|
||||
archs="i686 x86_64 ppc64le"
|
||||
build_style=gnu-configure
|
||||
makedepends="libXrender-devel libXt-devel libXp-devel libcurl-devel pcre-devel motif-devel libax25-devel"
|
||||
configure_args="ac_cv_file__usr_bin_gm_exe=no ac_cv_file__usr_bin_convert_exe=no"
|
||||
hostmakedepends="autoconf automake"
|
||||
makedepends="libXrender-devel libXt-devel libXp-devel libcurl-devel pcre-devel
|
||||
motif-devel libax25-devel"
|
||||
short_desc="X Amateur Station Tracking and Information Reporting"
|
||||
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="http://xastir.org"
|
||||
distfiles="https://github.com/Xastir/Xastir/archive/Release-${version}.tar.gz"
|
||||
checksum=5a71af2936d4d237c779b1c3a519211f8e3cd03b9873a260c849ddc8950e1a3e
|
||||
checksum=aa88069f149dbe720276d0134282bc491e7993d8a88380c8fe2a4735ee6444fc
|
||||
|
||||
CFLAGS="-fcommon"
|
||||
|
||||
pre_configure() {
|
||||
./bootstrap.sh
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue