Skip to content

Commit

Permalink
upgpkg(main/postgresql): 17.0 (#21585)
Browse files Browse the repository at this point in the history
  • Loading branch information
zorro authored Oct 1, 2024
1 parent 4993db9 commit 7105565
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions packages/postgresql/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ TERMUX_PKG_DESCRIPTION="Object-relational SQL database"
TERMUX_PKG_LICENSE="PostgreSQL"
TERMUX_PKG_LICENSE_FILE="COPYRIGHT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="16.4"
TERMUX_PKG_VERSION="17.0"
TERMUX_PKG_SRCURL=https://ftp.postgresql.org/pub/source/v$TERMUX_PKG_VERSION/postgresql-$TERMUX_PKG_VERSION.tar.bz2
TERMUX_PKG_SHA256=971766d645aa73e93b9ef4e3be44201b4f45b5477095b049125403f9f3386d6f
TERMUX_PKG_SHA256=7e276131c0fdd6b62588dbad9b3bb24b8c3498d5009328dba59af16e819109de
TERMUX_PKG_DEPENDS="libandroid-execinfo, libandroid-shmem, libicu, libuuid, libxml2, openssl, readline, zlib"
# - pgac_cv_prog_cc_LDFLAGS_EX_BE__Wl___export_dynamic: Needed to fix PostgreSQL 16 that
# causes initdb failure: cannot locate symbol
Expand Down
11 changes: 6 additions & 5 deletions packages/postgresql/src-backend-commands-collationcmds.c.patch
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
--- a/src/backend/commands/collationcmds.c
+++ b/src/backend/commands/collationcmds.c
@@ -539,7 +539,7 @@
diff -uNr a/src/backend/commands/collationcmds.c b/src/backend/commands/collationcmds.c
--- a/src/backend/commands/collationcmds.c 2024-09-24 01:32:53.000000000 +0530
+++ b/src/backend/commands/collationcmds.c 2024-09-26 21:05:47.489959070 +0530
@@ -579,7 +579,7 @@


/* will we use "locale -a" in pg_import_system_collations? */
-#if defined(HAVE_LOCALE_T) && !defined(WIN32)
+#if defined(HAVE_LOCALE_T) && !defined(WIN32) && !defined(__ANDROID__)
-#if !defined(WIN32)
+#if !defined(WIN32) && !defined(__ANDROID__)
#define READ_LOCALE_A_OUTPUT
#endif

0 comments on commit 7105565

Please sign in to comment.