FreeBSD Bugzilla – Attachment 231847 Details for
Bug 261976
databases/postgresql14-server: Fails to build with LLVM 14 (ports and base): multiple errors
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
postgres-261976.diff
postgres-261976.diff (text/plain), 986 bytes, created by
Palle Girgensohn
on 2022-02-15 22:53:38 UTC
(
hide
)
Description:
postgres-261976.diff
Filename:
MIME Type:
Creator:
Palle Girgensohn
Created:
2022-02-15 22:53:38 UTC
Size:
986 bytes
patch
obsolete
>diff --git a/databases/postgresql14-server/Makefile b/databases/postgresql14-server/Makefile >index c55a077634ac..c8d97cafd294 100644 >--- a/databases/postgresql14-server/Makefile >+++ b/databases/postgresql14-server/Makefile >@@ -266,15 +266,26 @@ LLVM_PORT_SUFFIX= ${COMPILER_VERSION:C/.$//} > .if ${COMPILER_VERSION} > ${LLVM_DEFAULT_VERSION} > # LLVM versions in ports are, in order, 70, 80 90, 10, 11, 12... where 10 > 90. [sic] > . if ${LLVM_PORT_SUFFIX} < 70 >+# PR 261976 postgresql fails to build with LLVM 14 >+. if ${LLVM_PORT_SUFFIX} > 13 >+PG_LLVM_VERSION=13 >+PG_COMPILER_VERSION=13 >+. else > PG_LLVM_VERSION=${LLVM_PORT_SUFFIX} > PG_COMPILER_VERSION=${LLVM_PORT_SUFFIX} >+. endif > . else > PG_LLVM_VERSION=11 > PG_COMPILER_VERSION=11 > . endif > .else >+. if ${LLVM_PORT_SUFFIX} > 13 >+PG_LLVM_VERSION=13 >+PG_COMPILER_VERSION=13 >+. else > PG_LLVM_VERSION=${LLVM_DEFAULT} > PG_COMPILER_VERSION=${LLVM_PORT_SUFFIX} >+. endif > .endif > > .if ${DISTVERSION:C/([0-9]*).*/\1/} >= 11
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 261976
: 231847