gnunet-fuse: update to version 0.19.1
authorDaniel Golle <daniel@makrotopia.org>
Sat, 14 Jan 2023 02:58:57 +0000 (02:58 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Sat, 14 Jan 2023 15:39:29 +0000 (15:39 +0000)
ChangeLog file excert:
Fri Dec 30 12:51:11 AM CET 2022
Releasing gnunet-fuse 0.19.1: fix build for GNUnet 0.19.0+.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
net/gnunet-fuse/Makefile
net/gnunet-fuse/patches/001-pthread_mutexattr_settype.patch [deleted file]

index a274ef9570dbea5b70c8919b7d1597db991d0c6d..e992c48e4bc9d13d647acbebfd558a7b567b9a27 100644 (file)
@@ -2,11 +2,11 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=gnunet-fuse
 
-PKG_VERSION:=0.16.0
-PKG_RELEASE:=$(AUTORELEASE)
+PKG_VERSION:=0.19.1
+PKG_RELEASE:=1
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@GNU/gnunet
-PKG_HASH:=2cbeb79cc2aa9939d5faaaf52c21da125029cb6646c1db0d3b9e9feea7f23fa6
+PKG_HASH:=8f1f6f4d76c108ae74c0ec849bc9c02dc8dea412e205c56236c86cb792ccc9b4
 
 PKG_LICENSE:=GPL-3.0
 PKG_LICENSE_FILES:=COPYING
diff --git a/net/gnunet-fuse/patches/001-pthread_mutexattr_settype.patch b/net/gnunet-fuse/patches/001-pthread_mutexattr_settype.patch
deleted file mode 100644 (file)
index 4c9eba5..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-Always use pthread_mutexattr_settype() the 
-pthread_mutexattr_setkind_np() is not available in the glibc and musl 
-version used by OpenWrt.
-
-This patch was taken from:
-https://aur.archlinux.org/cgit/aur.git/plain/pthread_mutexattr_settype.patch?h=gnunet-fuse
-
---- a/src/fuse/mutex.c
-+++ b/src/fuse/mutex.c
-@@ -35,16 +35,6 @@
- #endif
- #endif
--/**
-- * This prototype is somehow missing in various Linux pthread
-- * include files. But we need it and it seems to be available
-- * on all pthread-systems so far. Odd.
-- */
--#ifndef _MSC_VER
--extern int pthread_mutexattr_setkind_np (pthread_mutexattr_t * attr,
--                                         int kind);
--#endif
--
- /**
-  * @brief Structure for MUTual EXclusion (Mutex).
-@@ -67,23 +57,13 @@ GNUNET_mutex_create (int isRecursive)
-   pthread_mutexattr_init (&attr);
-   if (isRecursive)
-     {
--#ifdef __linux__
--      GNUNET_assert (0 == pthread_mutexattr_setkind_np
--                   (&attr, PTHREAD_MUTEX_RECURSIVE_NP));
--#elif BSD || SOLARIS || OSX || WINDOWS
-       GNUNET_assert (0 == pthread_mutexattr_settype
-                    (&attr, PTHREAD_MUTEX_RECURSIVE));
--#endif
-     }
-   else
-     {
--#ifdef __linux__
--      GNUNET_assert (0 == pthread_mutexattr_setkind_np
--                   (&attr, PTHREAD_MUTEX_ERRORCHECK_NP));
--#else
-       GNUNET_assert (0 == pthread_mutexattr_settype
-                    (&attr, PTHREAD_MUTEX_ERRORCHECK));
--#endif
-     }
-   mut = GNUNET_new (struct GNUNET_Mutex);
-   GNUNET_assert (0 == pthread_mutex_init (&mut->pt, &attr));