Skip to content

Commit

Permalink
Fix postgresql crash when running against openssl 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Jan 10, 2024
1 parent ee3bd4f commit 95e1e4c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion vcpkg/overlay/libpq/portfile.cmake
@@ -1,7 +1,7 @@
vcpkg_download_distfile(ARCHIVE
URLS "https://ftp.postgresql.org/pub/source/v${VERSION}/postgresql-${VERSION}.tar.bz2"
FILENAME "postgresql-${VERSION}.tar.bz2"
SHA512 c66b72d2d9bc503b9ad19c67384517ae921c494b2916f32157c2528dcbb38aefeb4a8cd5003fd40ba8a19612ea64511d534ff5d99e7a1b266024232f983bcf39
SHA512 69f4635e5841452599f13b47df41ce2425ab34b4e4582fd2c635bc78d561fa36c5b03eccb4ae6569872dc74775be1b5a62dee20c9a4f12a43339250128352918
)

vcpkg_extract_source_archive(
Expand Down
2 changes: 1 addition & 1 deletion vcpkg/overlay/libpq/unix/fix-configure.patch
Expand Up @@ -4,7 +4,7 @@ index 7f97248..48ff1a1 100644
+++ b/configure.ac
@@ -19,7 +19,8 @@ m4_pattern_forbid(^PGAC_)dnl to catch undefined macros

AC_INIT([PostgreSQL], [16.0], [pgsql-bugs@lists.postgresql.org], [], [https://www.postgresql.org/])
AC_INIT([PostgreSQL], [16.1], [pgsql-bugs@lists.postgresql.org], [], [https://www.postgresql.org/])

-m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.69], [], [m4_fatal([Autoconf version 2.69 is required.
+cross_compiling=yes # Avoid conftest loading shared objects
Expand Down
2 changes: 1 addition & 1 deletion vcpkg/overlay/libpq/vcpkg.json
@@ -1,6 +1,6 @@
{
"name": "libpq",
"version": "16.0",
"version": "16.1",
"port-version": 1,
"description": "The official database access API of postgresql",
"homepage": "https://www.postgresql.org/",
Expand Down

0 comments on commit 95e1e4c

Please sign in to comment.