Skip to content

Commit

Permalink
upgpatch: postgresql 16.1-4
Browse files Browse the repository at this point in the history
Signed-off-by: Xeonacid <[email protected]>
  • Loading branch information
Xeonacid authored and felixonmars committed Dec 30, 2023
1 parent 1dc31f9 commit 5f65b62
Showing 1 changed file with 12 additions and 20 deletions.
32 changes: 12 additions & 20 deletions postgresql/riscv64.patch
Original file line number Diff line number Diff line change
@@ -1,38 +1,30 @@
diff --git PKGBUILD PKGBUILD
index 91ce359..4a0146c 100644
index 1abfbd1..e0c6559 100644
--- PKGBUILD
+++ PKGBUILD
@@ -11,7 +11,7 @@ url='https://www.postgresql.org/'
@@ -11,7 +11,7 @@
arch=('x86_64')
license=('custom:PostgreSQL')
makedepends=('krb5' 'libxml2' 'python' 'perl' 'tcl>=8.6.0' 'openssl>=1.0.0'
- 'pam' 'zlib' 'icu' 'systemd' 'libldap' 'llvm15' 'clang15' 'libxslt'
+ 'pam' 'zlib' 'icu' 'systemd' 'libldap' 'libxslt'
'util-linux')
makedepends=('krb5' 'libxml2' 'python' 'perl' 'tcl' 'openssl' 'pam' 'zlib'
- 'icu' 'systemd' 'libldap' 'llvm' 'clang' 'libxslt' 'util-linux')
+ 'icu' 'systemd' 'libldap' 'libxslt' 'util-linux')
source=(https://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2
0001-Set-DEFAULT_PGSOCKET_DIR-to-run-postgresql.patch
@@ -78,7 +78,6 @@ build() {
0002-Force-RPATH-to-be-used-for-the-PL-Perl-plugin.patch
@@ -87,7 +87,6 @@
--with-icu
--with-systemd
--with-ldap
- --with-llvm
--with-libxslt
--with-lz4
--with-zstd
@@ -90,7 +89,6 @@ build() {
# Fix static libs
CFLAGS+=" -ffat-lto-objects"

- LLVM_CONFIG=llvm-config-15 CLANG=/usr/lib/llvm15/bin/clang \
./configure "${configure_options[@]}"
make world
}
@@ -170,7 +168,7 @@ package_postgresql() {
@@ -178,7 +177,7 @@
pkgdesc='Sophisticated object-relational DBMS'
backup=('etc/pam.d/postgresql' 'etc/logrotate.d/postgresql')
depends=("postgresql-libs>=${pkgver}" 'krb5' 'libxml2' 'readline>=6.0'
- 'openssl>=1.0.0' 'pam' 'icu' 'systemd-libs' 'libldap' 'llvm15-libs'
+ 'openssl>=1.0.0' 'pam' 'icu' 'systemd-libs' 'libldap'
'libxslt' 'lz4' 'zstd')
depends=("postgresql-libs>=${pkgver}" 'krb5' 'libxml2' 'readline' 'openssl'
- 'pam' 'icu' 'systemd-libs' 'libldap' 'llvm-libs' 'libxslt' 'lz4'
+ 'pam' 'icu' 'systemd-libs' 'libldap' 'libxslt' 'lz4'
'zstd')
optdepends=('python: for PL/Python 3 support'
'perl: for PL/Perl support'

0 comments on commit 5f65b62

Please sign in to comment.