pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

galera: remove, imported to pkgsrc



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Fri Jan 13 17:08:49 2023 +0100
Changeset:	b7232818a927c85d71f299c1694f2d0abd6ac596

Modified Files:
	Makefile
Removed Files:
	galera/DESCR
	galera/Makefile
	galera/PLIST
	galera/buildlink3.mk
	galera/distinfo
	galera/patches/patch-asio_asio_detail_impl_kqueue__reactor.ipp
	galera/patches/patch-cmake_crc32c.cmake
	galera/patches/patch-galerautils_SConscript
	galera/patches/patch-galerautils_src_gu__arch.h
	galera/patches/patch-galerautils_src_gu__asio__socket__util.hpp
	galera/patches/patch-galerautils_src_gu__crc32c__arm64.c
	galera/patches/patch-galerautils_src_gu__errno.h
	galera/patches/patch-galerautils_src_gu__fdesc.cpp
	galera/patches/patch-galerautils_src_gu__limits.c
	galera/patches/patch-galerautils_src_gu__resolver.cpp
	galera/patches/patch-galerautils_src_gu__system.h
	galera/patches/patch-galerautils_src_gu__thread.cpp
	galera/patches/patch-gcs_src_gcs__spread.cpp

Log Message:
galera: remove, imported to pkgsrc

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b7232818a927c85d71f299c1694f2d0abd6ac596

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                                           |  1 -
 galera/DESCR                                       |  2 -
 galera/Makefile                                    | 32 ----------------
 galera/PLIST                                       |  3 --
 galera/buildlink3.mk                               | 14 -------
 galera/distinfo                                    | 21 -----------
 ...patch-asio_asio_detail_impl_kqueue__reactor.ipp | 18 ---------
 galera/patches/patch-cmake_crc32c.cmake            | 16 --------
 galera/patches/patch-galerautils_SConscript        | 16 --------
 galera/patches/patch-galerautils_src_gu__arch.h    | 16 --------
 ...atch-galerautils_src_gu__asio__socket__util.hpp | 25 -------------
 .../patch-galerautils_src_gu__crc32c__arm64.c      | 25 -------------
 galera/patches/patch-galerautils_src_gu__errno.h   | 16 --------
 galera/patches/patch-galerautils_src_gu__fdesc.cpp | 26 -------------
 galera/patches/patch-galerautils_src_gu__limits.c  | 43 ----------------------
 .../patches/patch-galerautils_src_gu__resolver.cpp | 43 ----------------------
 galera/patches/patch-galerautils_src_gu__system.h  | 16 --------
 .../patches/patch-galerautils_src_gu__thread.cpp   | 21 -----------
 galera/patches/patch-gcs_src_gcs__spread.cpp       | 16 --------
 19 files changed, 370 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 70d618e6d1..1db13a422a 100644
--- a/Makefile
+++ b/Makefile
@@ -976,7 +976,6 @@ SUBDIR+=	g21k-binutils
 SUBDIR+=	gDesklets
 SUBDIR+=	gDesklets-rssgrab
 SUBDIR+=	gDesklets-starterbar
-SUBDIR+=	galera
 SUBDIR+=	galib
 SUBDIR+=	galoisfieldarth
 SUBDIR+=	gambas3
diff --git a/galera/DESCR b/galera/DESCR
deleted file mode 100644
index be78f55ad5..0000000000
--- a/galera/DESCR
+++ /dev/null
@@ -1,2 +0,0 @@
-This is Galera replication - Codership's implementation of the write set
-replication (wsrep) interface.
diff --git a/galera/Makefile b/galera/Makefile
deleted file mode 100644
index 00e8e28281..0000000000
--- a/galera/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-# $NetBSD$
-
-DISTNAME=	galera-26.4.13
-CATEGORIES=	databases
-MASTER_SITES=	${MASTER_SITE_GITHUB:=codership/}
-GITHUB_TAG=	release_${PKGVERSION_NOREV}
-DISTFILES=	${DEFAULT_DISTFILES} 694d6ca47f5eec7873be99b7d6babccf633d1231.tar.gz
-SITES.694d6ca47f5eec7873be99b7d6babccf633d1231.tar.gz=	https://github.com/codership/wsrep-API/archive/
-
-MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=	https://github.com/codership/galera/
-COMMENT=	Synchronous multi-master replication library
-#LICENSE=	gnu-gpl-v2 AND something
-
-WRKSRC=		${WRKDIR}/galera-release_26.4.13
-USE_CMAKE=	yes
-USE_LANGUAGES=	c c++
-
-CHECK_PORTABILITY_SKIP+=	scripts/mysql/centos/mysqld_safe
-CHECK_PORTABILITY_SKIP+=	scripts/mysql/debian/mysqld_safe-5.5
-
-BUILDLINK_TRANSFORM+=	opt:-ldl:${BUILDLINK_LDADD.dl:Q}
-
-post-extract:
-	cd ${WRKDIR}/wsrep-* && ${MV} * ${WRKSRC}/wsrep/src/
-
-.include "../../devel/boost-headers/buildlink3.mk"
-.include "../../devel/boost-libs/buildlink3.mk"
-.include "../../security/openssl/buildlink3.mk"
-.include "../../devel/check/buildlink3.mk"
-.include "../../mk/dlopen.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/galera/PLIST b/galera/PLIST
deleted file mode 100644
index b65af6a340..0000000000
--- a/galera/PLIST
+++ /dev/null
@@ -1,3 +0,0 @@
-@comment $NetBSD$
-bin/garbd
-lib/libgalera_smm.so
diff --git a/galera/buildlink3.mk b/galera/buildlink3.mk
deleted file mode 100644
index 6c4b1849c1..0000000000
--- a/galera/buildlink3.mk
+++ /dev/null
@@ -1,14 +0,0 @@
-# $NetBSD$
-
-BUILDLINK_TREE+=	galera
-
-.if !defined(GALERA_BUILDLINK3_MK)
-GALERA_BUILDLINK3_MK:=
-
-BUILDLINK_API_DEPENDS.galera+=	galera>=26.4.13
-BUILDLINK_PKGSRCDIR.galera?=	../../wip/galera
-
-.include "../../security/openssl/buildlink3.mk"
-.endif	# GALERA_BUILDLINK3_MK
-
-BUILDLINK_TREE+=	-galera
diff --git a/galera/distinfo b/galera/distinfo
deleted file mode 100644
index 89818c52ce..0000000000
--- a/galera/distinfo
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD$
-
-BLAKE2s (694d6ca47f5eec7873be99b7d6babccf633d1231.tar.gz) = 75e68accfc8848a2d43987a2dd8f4598e2ce0a73a224e3cc71c0475d72571956
-SHA512 (694d6ca47f5eec7873be99b7d6babccf633d1231.tar.gz) = 4bf11c9ea43263cddebfebe115ea4118a1d5573f30f160a7fc7db9ae7faa4d1f11c5f0988ce4d4878d49431635b9e1b0c9ec3bfe0f8cda7c3b6d1d6c7265a391
-Size (694d6ca47f5eec7873be99b7d6babccf633d1231.tar.gz) = 91929 bytes
-BLAKE2s (galera-26.4.13.tar.gz) = 54717494b2abda58deffeb91a73aff1948ec5d9a155438208c6d58cdcf61446c
-SHA512 (galera-26.4.13.tar.gz) = 34bd8eecf45efe8237256672eb164060ef4f8b9548b0da4392d6c45507f215d85272bf9fe883ec365ae8541051edc4c1a8b9f2d4bd9158100264bd824cc6cc61
-Size (galera-26.4.13.tar.gz) = 3587759 bytes
-SHA1 (patch-asio_asio_detail_impl_kqueue__reactor.ipp) = 9b34f0c1307b9b1566284e1d196be97f0c2e887f
-SHA1 (patch-cmake_crc32c.cmake) = 777bc7bd309963390dd2619728988bbcf4903992
-SHA1 (patch-galerautils_SConscript) = 9658410ee04446b9c8ad5e310a209e3a15c3aa32
-SHA1 (patch-galerautils_src_gu__arch.h) = 51eb5a415af0ae52ec0012a100d62992da6d7539
-SHA1 (patch-galerautils_src_gu__asio__socket__util.hpp) = 894fe5ce32d9ecf802da2da618f71cdbf2dc06dd
-SHA1 (patch-galerautils_src_gu__crc32c__arm64.c) = 31e1671b9d91e74f23620b0370088f5c8da0e11f
-SHA1 (patch-galerautils_src_gu__errno.h) = 5b366c5f78a3262be80ebda5520ccb4b3cf7e22f
-SHA1 (patch-galerautils_src_gu__fdesc.cpp) = 4d41100c18914a39ec2140239a1f5144536deb43
-SHA1 (patch-galerautils_src_gu__limits.c) = 4d226505ab0796f51e6645c8545878614c4ae804
-SHA1 (patch-galerautils_src_gu__resolver.cpp) = 3462c2dc6db76d782d972bbec365c2ce80417638
-SHA1 (patch-galerautils_src_gu__system.h) = 9ce3fccebf2621e449fb24b73632f8aae4d1f937
-SHA1 (patch-galerautils_src_gu__thread.cpp) = 4e9108ca1b553d13f47fe197e5d202cea21fc122
-SHA1 (patch-gcs_src_gcs__spread.cpp) = a808b7eaa8395fa664cae394b5ff67ba0c756587
diff --git a/galera/patches/patch-asio_asio_detail_impl_kqueue__reactor.ipp b/galera/patches/patch-asio_asio_detail_impl_kqueue__reactor.ipp
deleted file mode 100644
index b62bba0c36..0000000000
--- a/galera/patches/patch-asio_asio_detail_impl_kqueue__reactor.ipp
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD$
-
-Fix build on NetBSD>=10.
-https://github.com/codership/galera/pull/632
-
---- asio/asio/detail/impl/kqueue_reactor.ipp.orig	2022-11-02 06:09:14.000000000 +0000
-+++ asio/asio/detail/impl/kqueue_reactor.ipp
-@@ -28,6 +28,10 @@
- #include "asio/detail/push_options.hpp"
- 
- #if defined(__NetBSD__)
-+#include <sys/param.h>
-+#endif
-+
-+#if defined(__NetBSD__) && __NetBSD_Version__ < 1000000000
- # define ASIO_KQUEUE_EV_SET(ev, ident, filt, flags, fflags, data, udata) \
-     EV_SET(ev, ident, filt, flags, fflags, data, \
-       reinterpret_cast<intptr_t>(static_cast<void*>(udata)))
diff --git a/galera/patches/patch-cmake_crc32c.cmake b/galera/patches/patch-cmake_crc32c.cmake
deleted file mode 100644
index 43e042f85d..0000000000
--- a/galera/patches/patch-cmake_crc32c.cmake
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD$
-
-NetBSD support.
-https://github.com/codership/galera/pull/632
-
---- cmake/crc32c.cmake.orig	2022-11-02 06:09:14.000000000 +0000
-+++ cmake/crc32c.cmake
-@@ -42,7 +42,7 @@ int main()
- {
- #if defined(__linux__)
-     (void)getauxval(AT_HWCAP);
--#elif defined(__FreeBSD__)
-+#elif defined(__FreeBSD__) || defined(__NetBSD__)
-     unsigned long info;
-     (void)elf_aux_info(AT_HWCAP, &info, sizeof(info));
- #else
diff --git a/galera/patches/patch-galerautils_SConscript b/galera/patches/patch-galerautils_SConscript
deleted file mode 100644
index fe1943ac4e..0000000000
--- a/galera/patches/patch-galerautils_SConscript
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD$
-
-NetBSD support.
-https://github.com/codership/galera/pull/632
-
---- galerautils/SConscript.orig	2022-11-02 06:09:14.000000000 +0000
-+++ galerautils/SConscript
-@@ -56,7 +56,7 @@ if not crc32c_no_hardware:
-                             {
-                             #if defined(__linux__)
-                                 (void)getauxval(AT_HWCAP);
--                            #elif defined(__FreeBSD__)
-+                            #elif defined(__FreeBSD__) || defined(__NetBSD__)
-                                 unsigned long info;
-                                 (void)elf_aux_info(AT_HWCAP, &info, sizeof(info));
-                             #else
diff --git a/galera/patches/patch-galerautils_src_gu__arch.h b/galera/patches/patch-galerautils_src_gu__arch.h
deleted file mode 100644
index dfddbd0fe8..0000000000
--- a/galera/patches/patch-galerautils_src_gu__arch.h
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD$
-
-NetBSD support.
-https://github.com/codership/galera/pull/632
-
---- galerautils/src/gu_arch.h.orig	2022-11-02 06:09:14.000000000 +0000
-+++ galerautils/src/gu_arch.h
-@@ -41,7 +41,7 @@
- # error "Byte order not defined"
- #endif
- 
--#if defined(__sun__)
-+#if defined(__sun__) || defined(__NetBSD__)
- # if defined (_LP64)
- #  define GU_WORDSIZE 64
- # else
diff --git a/galera/patches/patch-galerautils_src_gu__asio__socket__util.hpp b/galera/patches/patch-galerautils_src_gu__asio__socket__util.hpp
deleted file mode 100644
index 6eec07008e..0000000000
--- a/galera/patches/patch-galerautils_src_gu__asio__socket__util.hpp
+++ /dev/null
@@ -1,25 +0,0 @@
-$NetBSD$
-
-NetBSD support.
-https://github.com/codership/galera/pull/632
-
---- galerautils/src/gu_asio_socket_util.hpp.orig	2022-11-02 06:09:14.000000000 +0000
-+++ galerautils/src/gu_asio_socket_util.hpp
-@@ -148,7 +148,7 @@ static struct tcp_info get_tcp_info(Sock
- {
-     struct tcp_info tcpi;
-     memset(&tcpi, 0, sizeof(tcpi));
--#if defined(__linux__) || defined(__FreeBSD__)
-+#if defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__)
- #if defined(__linux__)
-     static int const level(SOL_TCP);
- #else /* FreeBSD */
-@@ -162,7 +162,7 @@ static struct tcp_info get_tcp_info(Sock
-         gu_throw_error(err) << "Failed to read TCP info from socket: "
-                             << strerror(err);
-     }
--#endif /* __linux__ || __FreeBSD__ */
-+#endif /* __linux__ || __FreeBSD__ || __NetBSD__ */
-     return tcpi;
- }
- 
diff --git a/galera/patches/patch-galerautils_src_gu__crc32c__arm64.c b/galera/patches/patch-galerautils_src_gu__crc32c__arm64.c
deleted file mode 100644
index 90de3e6d23..0000000000
--- a/galera/patches/patch-galerautils_src_gu__crc32c__arm64.c
+++ /dev/null
@@ -1,25 +0,0 @@
-$NetBSD$
-
-NetBSD support.
-https://github.com/codership/galera/pull/632
-
---- galerautils/src/gu_crc32c_arm64.c.orig	2022-11-02 06:09:14.000000000 +0000
-+++ galerautils/src/gu_crc32c_arm64.c
-@@ -70,7 +70,7 @@ gu_crc32c_arm64(gu_crc32c_t state, const
- 
- #include <sys/auxv.h>
- 
--#if defined(__FreeBSD__)
-+#if defined(__FreeBSD__) || defined(__NetBSD__)
- /* Imitate getauxval() interface */
- static unsigned long int
- getauxval(unsigned long int const type)
-@@ -79,7 +79,7 @@ getauxval(unsigned long int const type)
-     if (0 != elf_aux_info(type, &ret, sizeof(ret))) ret = 0;
-     return ret;
- }
--#endif /* FreeBSD */
-+#endif /* FreeBSD || NetBSD */
- 
- #if defined(HWCAP_CRC32)
- #    define GU_AT_HWCAP    AT_HWCAP
diff --git a/galera/patches/patch-galerautils_src_gu__errno.h b/galera/patches/patch-galerautils_src_gu__errno.h
deleted file mode 100644
index 8397239e64..0000000000
--- a/galera/patches/patch-galerautils_src_gu__errno.h
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD$
-
-NetBSD support.
-https://github.com/codership/galera/pull/632
-
---- galerautils/src/gu_errno.h.orig	2022-11-02 06:09:14.000000000 +0000
-+++ galerautils/src/gu_errno.h
-@@ -7,7 +7,7 @@
- 
- #include <errno.h>
- 
--#if defined(__APPLE__) || defined(__FreeBSD__)
-+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__)
- #  define GU_ELAST ELAST
- #else
- /* must be high enough to not collide with system errnos but lower than 256 */
diff --git a/galera/patches/patch-galerautils_src_gu__fdesc.cpp b/galera/patches/patch-galerautils_src_gu__fdesc.cpp
deleted file mode 100644
index e9b7caa62e..0000000000
--- a/galera/patches/patch-galerautils_src_gu__fdesc.cpp
+++ /dev/null
@@ -1,26 +0,0 @@
-$NetBSD$
-
-NetBSD man page suggests ftruncate() before posix_fallocate().
-Also recognize NetBSD's errno if unsupported.
-https://github.com/codership/galera/pull/632
-
---- galerautils/src/gu_fdesc.cpp.orig	2022-11-02 06:09:14.000000000 +0000
-+++ galerautils/src/gu_fdesc.cpp
-@@ -235,13 +235,16 @@ namespace gu
- #if defined(__APPLE__)
-         if (-1 == fcntl (fd_, F_SETSIZE, size_) && -1 == ftruncate (fd_, size_))
-         {
-+#elif defined(__NetBSD__)
-+        if (-1 == ftruncate (fd_, size_) || 0 != posix_fallocate (fd_, start, diff))
-+        {
- #else
-         int const ret = posix_fallocate (fd_, start, diff);
-         if (0 != ret)
-         {
-             errno = ret;
- #endif
--            if ((EINVAL == errno || ENOSYS == errno) && start >= 0 && diff > 0)
-+            if ((EINVAL == errno || ENOSYS == errno || EOPNOTSUPP == errno) && start >= 0 && diff > 0)
-             {
-                 // FS does not support the operation, try physical write
-                 write_file (start);
diff --git a/galera/patches/patch-galerautils_src_gu__limits.c b/galera/patches/patch-galerautils_src_gu__limits.c
deleted file mode 100644
index d3ed76cf25..0000000000
--- a/galera/patches/patch-galerautils_src_gu__limits.c
+++ /dev/null
@@ -1,43 +0,0 @@
-$NetBSD$
-
-NetBSD support.
-https://github.com/codership/galera/pull/632
-
---- galerautils/src/gu_limits.c.orig	2022-11-02 06:09:14.000000000 +0000
-+++ galerautils/src/gu_limits.c
-@@ -94,13 +94,33 @@ static inline size_t page_size()    { re
- static inline size_t phys_pages()   { return sysconf(_SC_PHYS_PAGES);   }
- static inline size_t avphys_pages() { return freebsd_avphys_pages();    }
- 
--#else /* !__APPLE__ && !__FreeBSD__ */
-+#elif defined(__NetBSD__)
-+#include <sys/param.h>
-+#include <sys/sysctl.h>
-+#include <sys/vmmeter.h>
-+
-+static long netbsd_avphys_pages (void)
-+{
-+    struct vmtotal total;
-+    static const int vmmeter_mib[] = { CTL_VM, VM_METER };
-+    size_t size = sizeof(total);
-+    if (sysctl(vmmeter_mib, 2, &total, &size, NULL, 0) == -1) {
-+        gu_error("Can't get vmtotals");
-+	return 0;
-+    }
-+    return (long)total.t_free;
-+}
-+
-+static inline size_t page_size()    { return sysconf(_SC_PAGESIZE);     }
-+static inline size_t phys_pages()   { return sysconf(_SC_PHYS_PAGES);   }
-+static inline size_t avphys_pages() { return netbsd_avphys_pages();    }
-+#else /* !__APPLE__ && !__FreeBSD__ && !__NetBSD__ */
- 
- static inline size_t page_size()    { return sysconf(_SC_PAGESIZE);     }
- static inline size_t phys_pages()   { return sysconf(_SC_PHYS_PAGES);   }
- static inline size_t avphys_pages() { return sysconf(_SC_AVPHYS_PAGES); }
- 
--#endif /* !__APPLE__ && !__FreeBSD__ */
-+#endif /* !__APPLE__ && !__FreeBSD__ && !__NetBSD__ */
- 
- #define GU_DEFINE_FUNCTION(func)                \
-     size_t gu_##func()                          \
diff --git a/galera/patches/patch-galerautils_src_gu__resolver.cpp b/galera/patches/patch-galerautils_src_gu__resolver.cpp
deleted file mode 100644
index 0b3ca3e02a..0000000000
--- a/galera/patches/patch-galerautils_src_gu__resolver.cpp
+++ /dev/null
@@ -1,43 +0,0 @@
-$NetBSD$
-
-NetBSD support.
-https://github.com/codership/galera/pull/632
-
---- galerautils/src/gu_resolver.cpp.orig	2022-11-02 06:09:14.000000000 +0000
-+++ galerautils/src/gu_resolver.cpp
-@@ -17,7 +17,7 @@
- #include <map>
- #include <stdexcept>
- 
--#if defined(__APPLE__) || defined(__FreeBSD__)
-+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__)
- # include <ifaddrs.h>
- # define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP
- # define IPV6_DROP_MEMBERSHIP IPV6_LEAVE_GROUP
-@@ -79,7 +79,7 @@ private:
-             family,
-             socktype,
-             protocol,
--#if defined(__FreeBSD__)
-+#if defined(__FreeBSD__) || defined(__NetBSD__)
- 	    0, // FreeBSD gives ENOMEM error with non-zero value
- #else
-             sizeof(struct sockaddr),
-@@ -208,7 +208,7 @@ static unsigned int get_ifindex_by_addr(
- 
-     unsigned int idx(-1);
-     int err(0);
--#if defined(__APPLE__) || defined(__FreeBSD__)
-+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__)
-     struct ifaddrs *if_addrs = NULL;
-     struct ifaddrs *if_addr = NULL;
- 
-@@ -272,7 +272,7 @@ out:
-                 }
- #if defined(__linux__) || defined(__GNU__)
-                 idx = ifrp->ifr_ifindex;
--#elif defined(__sun__) || defined(__FreeBSD_kernel__)
-+#elif defined(__sun__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__)
-                 idx = ifrp->ifr_index;
- #else
- # error "Unsupported ifreq structure"
diff --git a/galera/patches/patch-galerautils_src_gu__system.h b/galera/patches/patch-galerautils_src_gu__system.h
deleted file mode 100644
index e1accd825e..0000000000
--- a/galera/patches/patch-galerautils_src_gu__system.h
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD$
-
-NetBSD support.
-https://github.com/codership/galera/pull/632
-
---- galerautils/src/gu_system.h.orig	2022-11-02 06:09:14.000000000 +0000
-+++ galerautils/src/gu_system.h
-@@ -23,7 +23,7 @@ extern "C" {
- 
- #if defined(__sun__)
- # define GU_SYS_PROGRAM_NAME getexecname ()
--#elif defined(__APPLE__) || defined(__FreeBSD__)
-+#elif defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__)
- # define GU_SYS_PROGRAM_NAME getprogname ()
- #elif defined(__linux__)
- # define GU_SYS_PROGRAM_NAME program_invocation_name
diff --git a/galera/patches/patch-galerautils_src_gu__thread.cpp b/galera/patches/patch-galerautils_src_gu__thread.cpp
deleted file mode 100644
index b4f0ff7dc1..0000000000
--- a/galera/patches/patch-galerautils_src_gu__thread.cpp
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD$
-
-NetBSD support.
-https://github.com/codership/galera/pull/632
-
---- galerautils/src/gu_thread.cpp.orig	2022-11-02 06:09:14.000000000 +0000
-+++ galerautils/src/gu_thread.cpp
-@@ -89,6 +89,13 @@ void gu::thread_set_schedparam(pthread_t
- #else
-     struct sched_param spstr = { sp.prio() };
- #endif
-+#if defined(__NetBSD__)
-+    if (sp.policy() == SCHED_OTHER)
-+    {
-+        /* NetBSD does not allow setting priorities for SCHED_OTHER */
-+        return;
-+    }
-+#endif
-     int err;
-     if ((err = pthread_setschedparam(thd, sp.policy(), &spstr)) != 0)
-     {
diff --git a/galera/patches/patch-gcs_src_gcs__spread.cpp b/galera/patches/patch-gcs_src_gcs__spread.cpp
deleted file mode 100644
index f785905832..0000000000
--- a/galera/patches/patch-gcs_src_gcs__spread.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD$
-
-NetBSD support.
-https://github.com/codership/galera/pull/632
-
---- gcs/src/gcs_spread.cpp.orig	2022-11-02 06:09:14.000000000 +0000
-+++ gcs/src/gcs_spread.cpp
-@@ -654,7 +654,7 @@ GCS_BACKEND_CREATE_FN(gcs_spread_create)
- 	if (spread_priv_name (spread->priv_name,
- #if defined(__sun__)
-                               getexecname (),
--#elif defined(__APPLE__) || defined(__FreeBSD__)
-+#elif defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__)
-                               getprogname (),
- #elif defined(__linux__)
-                               program_invocation_short_name,


Home | Main Index | Thread Index | Old Index