1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00

science/cdo: Update to 2.0.4

Changes:	https://code.mpimet.mpg.de/projects/cdo/news
This commit is contained in:
Po-Chuan Hsieh 2022-03-08 01:50:50 +08:00
parent 92d1c24e7e
commit b85a572710
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
5 changed files with 15 additions and 15 deletions

View File

@ -1,9 +1,9 @@
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
PORTNAME= cdo
PORTVERSION= 2.0.3
PORTVERSION= 2.0.4
CATEGORIES= science
MASTER_SITES= https://code.mpimet.mpg.de/attachments/download/26676/ \
MASTER_SITES= https://code.mpimet.mpg.de/attachments/download/26761/ \
LOCAL/sunpoet
MAINTAINER= sunpoet@FreeBSD.org

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1642102147
SHA256 (cdo-2.0.3.tar.gz) = 25520260ccb4e5324c27fa2160dfafc8152b180dd7f0133bd80425df3ef7c65a
SIZE (cdo-2.0.3.tar.gz) = 11781699
TIMESTAMP = 1646057896
SHA256 (cdo-2.0.4.tar.gz) = 73c0c1e5348632e6e8452ea8e617c35499bc55c845ee2c1d42b912a7e00e5533
SIZE (cdo-2.0.4.tar.gz) = 11777977

View File

@ -1,4 +1,4 @@
--- libcdi/src/namespace.c.orig 2020-01-21 20:19:01 UTC
--- libcdi/src/namespace.c.orig 2022-01-21 08:38:53 UTC
+++ libcdi/src/namespace.c
@@ -88,11 +88,13 @@ static pthread_mutex_t namespaceMutex;
static void
@ -13,4 +13,4 @@
+#endif
}
# define NAMESPACE_LOCK() pthread_mutex_lock(&namespaceMutex)
#define NAMESPACE_LOCK() pthread_mutex_lock(&namespaceMutex)

View File

@ -1,15 +1,15 @@
--- libcdi/src/resource_handle.c.orig 2020-04-22 13:06:24 UTC
--- libcdi/src/resource_handle.c.orig 2022-01-21 08:38:53 UTC
+++ libcdi/src/resource_handle.c
@@ -208,12 +208,14 @@ static
void listInitialize ( void )
@@ -209,12 +209,14 @@ static void
listInitialize(void)
{
#if defined (HAVE_LIBPTHREAD)
#if defined(HAVE_LIBPTHREAD)
+#if defined(PTHREAD_MUTEXATTR)
pthread_mutexattr_t ma;
pthread_mutexattr_init(&ma);
pthread_mutexattr_settype(&ma, PTHREAD_MUTEX_RECURSIVE);
/* initialize global API mutex lock */
pthread_mutex_init ( &listMutex, &ma);
pthread_mutex_init(&listMutex, &ma);
pthread_mutexattr_destroy(&ma);
+#endif
#endif

View File

@ -1,6 +1,6 @@
--- libcdi/src/cgribexlib.c.orig 2021-02-16 14:56:42 UTC
--- libcdi/src/cgribexlib.c.orig 2022-01-28 10:46:29 UTC
+++ libcdi/src/cgribexlib.c
@@ -10,7 +10,7 @@
@@ -12,7 +12,7 @@
#pragma GCC diagnostic warning "-Wstrict-overflow"
#endif
@ -9,7 +9,7 @@
#pragma options nostrict
#include <ppu_intrinsics.h>
#endif
@@ -726,6 +726,19 @@ void sse2_minmax_val_double(const double *restrict buf
@@ -734,6 +734,19 @@ void sse2_minmax_val_double(const double *restrict buf
#endif // SIMD
#if defined(_ARCH_PWR6)