Skip to content

Commit f128a5a

Browse files
yvan-srakajfroche
authored andcommitted
chore: bump pgrouting version to 3.8.0
The previously used version was failing to build: /build/source/src/common/get_check_data.c: In function 'pgr_SPI_getText': /build/source/src/common/get_check_data.c:307:28: error: passing argument 1 of 'DatumGetCString' makes integer from pointer without a cast [-Wint-conversion] 307 | return DatumGetCString(SPI_getvalue(*tuple, *tupdesc, info.colNumber)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from /build/source/include/c_common/postgres_connection.h:29, from /build/source/src/common/get_check_data.c:27: /nix/store/nn6vpjqlsxxmynwcrsib9agb3hpr5cqj-postgresql-17.4/include/server/postgres.h:335:23: note: expected 'Datum' {aka 'long unsigned int'} but argument is of type 'char *' 335 | DatumGetCString(Datum X) | ~~~~~~^ make[2]: *** [src/common/CMakeFiles/common.dir/build.make:149: src/common/CMakeFiles/common.dir/get_check_data.c.o] Error 1
1 parent 627e748 commit f128a5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nix/ext/pgrouting.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
stdenv.mkDerivation rec {
1212
pname = "pgrouting";
13-
version = "3.4.1";
13+
version = "3.8.0";
1414

1515
nativeBuildInputs = [
1616
cmake
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525
owner = "pgRouting";
2626
repo = pname;
2727
rev = "v${version}";
28-
hash = "sha256-QC77AnPGpPQGEWi6JtJdiNsB2su5+aV2pKg5ImR2B0k=";
28+
hash = "sha256-Lvf7TQ3GywbzZmcd9wi3s8I5sCXIQAPeXNTRk/J46to=";
2929
};
3030

3131
#disable compile time warnings for incompatible pointer types only on macos and pg16

0 commit comments

Comments
 (0)