Date: Sun, 19 Dec 2021 16:54:00 GMT From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 396078dc2a69 - main - databases/postgresql13-server: fix build on riscv64 Message-ID: <202112191654.1BJGs0Os046503@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=396078dc2a69896de888fbd684bef6fda66db800 commit 396078dc2a69896de888fbd684bef6fda66db800 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2021-12-19 16:42:23 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2021-12-19 16:42:23 +0000 databases/postgresql13-server: fix build on riscv64 Remove stale patch since it redefines the code that is already upstream. --- .../files/patch-src_include_storage_s__lock.h | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/databases/postgresql13-server/files/patch-src_include_storage_s__lock.h b/databases/postgresql13-server/files/patch-src_include_storage_s__lock.h deleted file mode 100644 index 19c945a36126..000000000000 --- a/databases/postgresql13-server/files/patch-src_include_storage_s__lock.h +++ /dev/null @@ -1,20 +0,0 @@ ---- src/include/storage/s_lock.h.orig 2021-04-15 09:05:25 UTC -+++ src/include/storage/s_lock.h -@@ -320,7 +320,7 @@ tas(volatile slock_t *lock) - * We use the int-width variant of the builtin because it works on more chips - * than other widths. - */ --#if defined(__arm__) || defined(__arm) || defined(__aarch64__) || defined(__aarch64) -+#if defined(__arm__) || defined(__arm) || defined(__aarch64__) || defined(__aarch64) || defined(__riscv) - #ifdef HAVE_GCC__SYNC_INT32_TAS - #define HAS_TEST_AND_SET - -@@ -337,7 +337,7 @@ tas(volatile slock_t *lock) - #define S_UNLOCK(lock) __sync_lock_release(lock) - - #endif /* HAVE_GCC__SYNC_INT32_TAS */ --#endif /* __arm__ || __arm || __aarch64__ || __aarch64 */ -+#endif /* __arm__ || __arm || __aarch64__ || __aarch64 || __riscv */ - - - /* S/390 and S/390x Linux (32- and 64-bit zSeries) */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112191654.1BJGs0Os046503>