diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-12-20 00:19:02 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-12-20 00:19:02 +0000 |
commit | bb5e7fce51aaf9f907edcd0b502c421ac19c99d6 (patch) | |
tree | 9a20b2f679d425d7ce90d667f6cdd49322d6d408 /databases/postgresql11-server | |
parent | 76622181c4f8d0aa6585056e150b1e11e33ea387 (diff) |
databases/postgresql11-server: fix build on riscv64
Same as postgresql13-server.
Diffstat (limited to 'databases/postgresql11-server')
-rw-r--r-- | databases/postgresql11-server/files/patch-src_include_storage_s__lock.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/databases/postgresql11-server/files/patch-src_include_storage_s__lock.h b/databases/postgresql11-server/files/patch-src_include_storage_s__lock.h deleted file mode 100644 index 401a2a7337cb..000000000000 --- a/databases/postgresql11-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 17:59:43 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) */ |