Package: release.debian.org Severity: normal Tags: bullseye User: release.debian....@packages.debian.org Usertags: pu X-Debbugs-Cc: roehl...@debian.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Dear release team, I'd like to update the cmake package in Bullseye. [ Reason ] The update fixes bug #990623 which prevented CMake from finding the headers and libraries of postgresql-server-dev-13, also shipped in bullseye. [ Impact ] Users who try to compile and link code against PostgreSQL with CMake will receive an error that PostgreSQL could not be found. The required workaround would be to specify version 13 explicitly, but this is completely counter-intuitive, because CMake actually *does* find version 13.3 (and even says so), it just fails to find some headers in /usr/include/postgresql/13, because 13 is not in the list of checked version numbers. Besides, any user can and should reasonably expect that packages shipped in the same distribution are not "too new" to be detectable. [ Tests ] I verified manually that the attached debdiff fixes the issue. [ Risks ] The update only affects PostgreSQL detection and will not change CMake behavior beyond that. [ Checklist ] [x] *all* changes are documented in the d/changelog [x] I reviewed all changes and I approve them [x] attach debdiff against the package in (old)stable [x] the issue is verified as fixed in unstable [ Changes ] The code change is a very simple addition to the list of versions which will be looked for. Cheers Timo -----BEGIN PGP SIGNATURE----- iQGzBAEBCgAdFiEEJvtDgpxjkjCIVtam+C8H+466LVkFAmFB70cACgkQ+C8H+466 LVmKiAwAj0xb+RIsYDFqFbY84WJAISuZyM2kND7yeWn9TxUFig1cWE8C9zB1duCG pHkbm+We1LuA4ABAj6+LD996Ia9PAKdat/zIjX7Ku47hIQ9h45OpoCeVYBNQfHmE ZpW1iP183gqOHYv3FeBR/Z+JxwFeiKVE8ZcvF3yUte5ZaS22BO1PRmK80mDPbNUe hKfje3hENGQVBHs3K2fBURKNMpYMtrwc0CTWpqpURMNpclS/4oPtElGeVaje25M+ JjiLkzdQcLaOJHEagxYo4j1vRvWdQy37ZvUr54zbhmK9L+pfthRIlzNTxk0soJiX Xclmi0qMJqrw1Mv25/1wwHSrnseD4XqB2vxJIjRwHJl0pvAXPOcZcWoFXctwkiSc VHsos67N0CEzIZX6DQo5kczEkJQmb6UFeZJ6u8HeUWncTe0Kzn/c/1s44eTvaG4r xmT6HFI8Jm3xupCYApjG15cm6qFI6BHPIhSdsDKbtwaNbiVOzfHaRuoS7FoVLxYt Jk7G6mOU =2vh4 -----END PGP SIGNATURE-----
diff -Nru cmake-3.18.4/debian/changelog cmake-3.18.4/debian/changelog --- cmake-3.18.4/debian/changelog 2021-02-07 10:23:34.000000000 +0100 +++ cmake-3.18.4/debian/changelog 2021-09-14 00:08:52.000000000 +0200 @@ -1,3 +1,10 @@ +cmake (3.18.4-2+deb11u1) bullseye; urgency=medium + + * Team upload. + * Add PostgreSQL 13 to known versions (Closes: #990623) + + -- Timo Röhling <roehl...@debian.org> Tue, 14 Sep 2021 00:08:52 +0200 + cmake (3.18.4-2) unstable; urgency=medium [ Helmut Grohne ] diff -Nru cmake-3.18.4/debian/patches/add_postgresql_13_to_known_versions.patch cmake-3.18.4/debian/patches/add_postgresql_13_to_known_versions.patch --- cmake-3.18.4/debian/patches/add_postgresql_13_to_known_versions.patch 1970-01-01 01:00:00.000000000 +0100 +++ cmake-3.18.4/debian/patches/add_postgresql_13_to_known_versions.patch 2021-09-14 00:08:52.000000000 +0200 @@ -0,0 +1,20 @@ +From: =?utf-8?q?Timo_R=C3=B6hling?= <roehl...@debian.org> +Date: Mon, 13 Sep 2021 18:05:56 +0200 +Subject: Add PostgreSQL 13 to known versions + +--- + Modules/FindPostgreSQL.cmake | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/Modules/FindPostgreSQL.cmake b/Modules/FindPostgreSQL.cmake +index 1927aa4..46679c3 100644 +--- a/Modules/FindPostgreSQL.cmake ++++ b/Modules/FindPostgreSQL.cmake +@@ -87,6 +87,7 @@ set(PostgreSQL_ROOT_DIR_MESSAGE "Set the PostgreSQL_ROOT system variable to wher + + + set(PostgreSQL_KNOWN_VERSIONS ${PostgreSQL_ADDITIONAL_VERSIONS} ++ "13" + "12" "11" "10" "9.6" "9.5" "9.4" "9.3" "9.2" "9.1" "9.0" "8.4" "8.3" "8.2" "8.1" "8.0") + + # Define additional search paths for root directories. diff -Nru cmake-3.18.4/debian/patches/series cmake-3.18.4/debian/patches/series --- cmake-3.18.4/debian/patches/series 2020-10-15 21:23:57.000000000 +0200 +++ cmake-3.18.4/debian/patches/series 2021-09-14 00:08:52.000000000 +0200 @@ -1,2 +1,3 @@ disable_fileapi_json_extra_test.patch Compile_with_FILE_OFFSET_BITS_64_on_32-bit_Linux.patch +add_postgresql_13_to_known_versions.patch