Advertisement
Guest User

potgresql-17.1-2.patch

a guest
Nov 15th, 2024
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.43 KB | None | 0 0
  1. diff -Nuw /usr/ports/contrib/postgresql/Pkgfile /usr/ports/local/postgresql/Pkgfile
  2. --- /usr/ports/contrib/postgresql/Pkgfile   2024-11-14 19:36:30.196758664 +0100
  3. +++ /usr/ports/local/postgresql/Pkgfile 2024-11-15 22:43:25.329780217 +0100
  4. @@ -6,15 +6,17 @@
  5.  
  6.  name=postgresql
  7.  version=17.1
  8. -release=1
  9. +release=2
  10.  source=(https://ftp.postgresql.org/pub/source/v$version/postgresql-$version.tar.bz2
  11.    postgresql-run-socket.patch
  12. +  postgresql-perl-rpath.patch
  13.    postgresql.rc postgresql.pam)
  14.  
  15.  build() {
  16.    cd $name-$version
  17.  
  18.    patch -Np1 -i $SRC/postgresql-run-socket.patch
  19. +  patch -Np1 -i $SRC/postgresql-perl-rpath.patch
  20.  
  21.    # optionals {{{
  22.    prt-get isinst clang && PKGMK_PGSQL+=' --with-llvm'
  23. diff -Nuw /usr/ports/contrib/postgresql/postgresql-perl-rpath.patch /usr/ports/local/postgresql/postgresql-perl-rpath.patch
  24. --- /usr/ports/contrib/postgresql/postgresql-perl-rpath.patch   1970-01-01 01:00:00.000000000 +0100
  25. +++ /usr/ports/local/postgresql/postgresql-perl-rpath.patch 2024-11-15 22:43:25.339780091 +0100
  26. @@ -0,0 +1,10 @@
  27. +--- postgresql-17.1/src/pl/plperl/GNUmakefile~ 2024-11-11 23:42:37.000000000 +0100
  28. ++++ postgresql-17.1/src/pl/plperl/GNUmakefile  2024-11-15 22:35:51.448486278 +0100
  29. +@@ -54,6 +54,7 @@
  30. +
  31. +
  32. + SHLIB_LINK = $(perl_embed_ldflags)
  33. ++SHLIB_LINK += $(rpath)
  34. +
  35. + # see https://www.postgresql.org/message-id/flat/8c4fcb72-2574-ff7c-4c25-1f032d4a2a57%40enterprisedb.com
  36. + ifeq ($(PORTNAME), cygwin)
  37.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement