temporal_tables: fix compile against postgresql 13
As-is the formula can't build against our postgresql. Indeed, since some of the symbols that it dymnamically links against got renamed the pre-bottled binary isn't likely to be functional right now either. I'm not sure what the long-term future of this formula is (the last tagged release upstream was from 2017 and we already have introduced patches for PG11 and PG12 support) but I guess for now the easiest is to stay on the patching train. The upstream git repo did get a flurry of commits in April 2020 so there is still hope of an updated version in the future. Closes #70936. Signed-off-by: Sean Molenaar <1484494+SMillerDev@users.noreply.github.com> Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>master
parent
fa4c7e9d3c
commit
75005e8244
|
@ -4,7 +4,7 @@ class TemporalTables < Formula
|
||||||
url "https://github.com/arkhipov/temporal_tables/archive/v1.2.0.tar.gz"
|
url "https://github.com/arkhipov/temporal_tables/archive/v1.2.0.tar.gz"
|
||||||
sha256 "e6d1b31a124e8597f61b86f08b6a18168f9cd9da1db77f2a8dd1970b407b7610"
|
sha256 "e6d1b31a124e8597f61b86f08b6a18168f9cd9da1db77f2a8dd1970b407b7610"
|
||||||
license "BSD-2-Clause"
|
license "BSD-2-Clause"
|
||||||
revision 2
|
revision 3
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
rebuild 1
|
rebuild 1
|
||||||
|
@ -29,6 +29,13 @@ class TemporalTables < Formula
|
||||||
sha256 "c15d7fa8a4ad7a047304c430e039776f6214a40bcc71f9a9ae627cb5cf73647e"
|
sha256 "c15d7fa8a4ad7a047304c430e039776f6214a40bcc71f9a9ae627cb5cf73647e"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Fix for postgresql 13 compatibility:
|
||||||
|
# https://github.com/arkhipov/temporal_tables/issues/55
|
||||||
|
patch do
|
||||||
|
url "https://github.com/bbernhard/temporal_tables/commit/23284c2a593d3e01f7b4918c0aaa8459de84c4d8.patch?full_index=1"
|
||||||
|
sha256 "c1e63befec23efbeff26492a390264cbc7875eaa3992aa98f3e3a53a9612d0e0"
|
||||||
|
end
|
||||||
|
|
||||||
def install
|
def install
|
||||||
ENV["PG_CONFIG"] = Formula["postgresql"].opt_bin/"pg_config"
|
ENV["PG_CONFIG"] = Formula["postgresql"].opt_bin/"pg_config"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue