File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ class Lightning < Formula
5
5
mirror "https://ftpmirror.gnu.org/lightning/lightning-2.2.3.tar.gz"
6
6
sha256 "c045c7a33a00affbfeb11066fa502c03992e474a62ba95977aad06dbc14c6829"
7
7
license "GPL-3.0-or-later"
8
+ revision 1
8
9
9
10
bottle do
10
11
sha256 cellar : :any , arm64_sonoma : "03e7b47e11af958f1a769127fa8e35ad59f5afff480b8d44ddfe7c8fe31e304b"
@@ -18,10 +19,14 @@ class Lightning < Formula
18
19
19
20
depends_on "binutils" => :build
20
21
22
+ # upstream patch for fixing `Correct wrong ifdef causing missing mprotect call if NDEBUG is not defined`
23
+ patch do
24
+ url "https://git.savannah.gnu.org/cgit/lightning.git/patch/?id=bfd695a94668861a9447b29d2666f8b9c5dcd5bf"
25
+ sha256 "a049de1c08a3d2d364e7f10e9c412c69a68cbf30877705406cf1ee7c4448f3c5"
26
+ end
27
+
21
28
def install
22
- system "./configure" , "--enable-assertions" ,
23
- "--disable-silent-rules" ,
24
- *std_configure_args . reject { |s | s [ "--disable-debug" ] }
29
+ system "./configure" , "--disable-silent-rules" , *std_configure_args . reject { |s | s [ "--disable-debug" ] }
25
30
system "make" , "install"
26
31
end
27
32
You can’t perform that action at this time.
0 commit comments