1
1
class Libx11 < Formula
2
2
desc "X.Org: Core X11 protocol client library"
3
3
homepage "https://www.x.org/"
4
- url "https://www.x.org/archive/individual/lib/libX11-1.8.4 .tar.gz"
5
- sha256 "efd3a3a43c1f177edc2c205bedb0719b6648203595e54c0b83a32576aeaca7cd "
4
+ url "https://www.x.org/archive/individual/lib/libX11-1.8.6 .tar.gz"
5
+ sha256 "5ff0d26c94d82ebb94a944b9f1f55cd01b9713fd461fe93f62f3527ce14ad94e "
6
6
license "MIT"
7
7
8
8
bottle do
9
- sha256 arm64_ventura : "e6df4fc6bb84dd64a2f2c68d474c415de2a0fa0aac85ff4e650a56c0d739463e "
10
- sha256 arm64_monterey : "5da752047f0745a2628343aa2f313f4544b13d0643ff796ae079fcc4d3203a63 "
11
- sha256 arm64_big_sur : "91e5e9c3b7becc85dd159b7998b35a727ae2317ddc69791e5d4f4e0de9724fe2 "
12
- sha256 ventura : "44e791ead3f697bb6fc7bc368b202bf0b72370f65fbef8a35ae7f97bb4057e00 "
13
- sha256 monterey : "f8dcffa69f82057a0c93cd570fa0f14a06c0a13b0380cac5b616536f482c67a2 "
14
- sha256 big_sur : "858c07647c7acb5fb6a4693b1511968bb933f98a1f58a160a446214df243e177 "
15
- sha256 x86_64_linux : "5b47168c3429621d90970b2eb620b20a2dee315655b484b5a914241d9d562740 "
9
+ sha256 arm64_ventura : "12634191390f2feaad802e2c98dbee1274f688d1348ba7319462340defe2d07d "
10
+ sha256 arm64_monterey : "4899cff98c20b47226c7817b898132f9c9c68da2cb4b7b5176efc442a0030bde "
11
+ sha256 arm64_big_sur : "5411fb6d4c702ee5413af825418e6157ca45f3d855710bcfc644bb0476cd207a "
12
+ sha256 ventura : "da763d80a33ebfbac8064a9528d9e7ccde2a4527dc48f80a003166c7dd4021bf "
13
+ sha256 monterey : "2c4826ba65ab97f4d201a5624cc675fbefd563a831fab866c8966b32c89f3e17 "
14
+ sha256 big_sur : "e321aa3d735de0a2f4f7b2d5c6dde6184cc8590c348c3d1dd773fac892db6ecd "
15
+ sha256 x86_64_linux : "6b4be1e7e026639d80f2541fc72cf0caf8b15670efdab3abc1cd4b291f486910 "
16
16
end
17
17
18
18
depends_on "pkg-config" => :build
@@ -25,21 +25,18 @@ def install
25
25
ENV . delete "LC_ALL"
26
26
ENV [ "LC_CTYPE" ] = "C"
27
27
args = %W[
28
- --prefix=#{ prefix }
29
28
--sysconfdir=#{ etc }
30
29
--localstatedir=#{ var }
31
- --disable-dependency-tracking
32
30
--disable-silent-rules
33
31
--enable-unix-transport
34
32
--enable-tcp-transport
35
33
--enable-ipv6
36
- --enable-local-transport
37
34
--enable-loadable-i18n
38
35
--enable-xthreads
39
36
--enable-specs=no
40
37
]
41
38
42
- system "./configure" , *args
39
+ system "./configure" , *std_configure_args , * args
43
40
system "make"
44
41
system "make" , "install"
45
42
end
@@ -78,6 +75,5 @@ def install
78
75
EOS
79
76
system ENV . cc , "test.c" , "-L#{ lib } " , "-lX11" , "-o" , "test" , "-I#{ include } "
80
77
system "./test"
81
- assert_equal 0 , $CHILD_STATUS. exitstatus
82
78
end
83
79
end
0 commit comments