From 4c81a28efb5d959bb6a876b72f4ceb8e49e55d00 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Sun, 23 Jul 2023 18:15:57 -0400 Subject: [PATCH 1/4] opencascade 7.7.2 --- Formula/opencascade.rb | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/Formula/opencascade.rb b/Formula/opencascade.rb index 4c1199a9d64b5..4f594eb711a84 100644 --- a/Formula/opencascade.rb +++ b/Formula/opencascade.rb @@ -1,9 +1,9 @@ class Opencascade < Formula desc "3D modeling and numerical simulation software for CAD/CAM/CAE" homepage "https://dev.opencascade.org/" - url "https://git.dev.opencascade.org/gitweb/?p=occt.git;a=snapshot;h=refs/tags/V7_7_0;sf=tgz" - version "7.7.0" - sha256 "075ca1dddd9646fcf331a809904925055747a951a6afd07a463369b9b441b445" + url "https://git.dev.opencascade.org/gitweb/?p=occt.git;a=snapshot;h=refs/tags/V7_7_2;sf=tgz" + version "7.7.2" + sha256 "2fb23c8d67a7b72061b4f7a6875861e17d412d524527b2a96151ead1d9cfa2c1" license "LGPL-2.1-only" # The first-party download page (https://dev.opencascade.org/release) @@ -43,12 +43,6 @@ class Opencascade < Formula depends_on "mesa" # For OpenGL end - # Fix a missing header. Try removing on next release. - patch do - url "https://git.dev.opencascade.org/gitweb/?p=occt.git;a=patch;h=2a8c5ad46cfef8114b13c3a33dcd88a81e522c1e;hp=7ea3eff4f88640ca23e5b1a6dad82ab4fda4a8c6" - sha256 "3aff4835faf75d7d48aaa53db88e00df527b65b0a930746e1b8d1534c9b368b1" - end - def install tcltk = Formula["tcl-tk"] libtcl = tcltk.opt_lib/shared_library("libtcl#{tcltk.version.major_minor}") From 9fce9f25c89f7f5357fe6a58e3029feb5ea7fe39 Mon Sep 17 00:00:00 2001 From: Caleb Xu Date: Mon, 24 Jul 2023 09:32:42 -0400 Subject: [PATCH 2/4] gmsh: revision bump for opencascade 7.7.2 gmsh: add build patch for xcode 14.3 Signed-off-by: Rui Chen --- Formula/gmsh.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Formula/gmsh.rb b/Formula/gmsh.rb index 9b3dc1bab8ec7..e18119f3d101f 100644 --- a/Formula/gmsh.rb +++ b/Formula/gmsh.rb @@ -4,7 +4,7 @@ class Gmsh < Formula url "https://gmsh.info/src/gmsh-4.11.1-source.tgz" sha256 "c5fe1b7cbd403888a814929f2fd0f5d69e27600222a18c786db5b76e8005b365" license "GPL-2.0-or-later" - revision 1 + revision 2 head "https://gitlab.onelab.info/gmsh/gmsh.git", branch: "master" livecheck do @@ -30,6 +30,9 @@ class Gmsh < Formula depends_on "opencascade" def install + # Workaround for Xcode 14.3 + ENV.append_to_cflags "-Wno-implicit-function-declaration" if DevelopmentTools.clang_build_version >= 1403 + ENV["CASROOT"] = Formula["opencascade"].opt_prefix system "cmake", "-S", ".", "-B", "build", *std_cmake_args, From ee1af0d884e563a1162c9cf4c4011188f75ed1b1 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Tue, 25 Jul 2023 09:24:50 +0000 Subject: [PATCH 3/4] opencascade: update 7.7.2 bottle. --- Formula/opencascade.rb | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/Formula/opencascade.rb b/Formula/opencascade.rb index 4f594eb711a84..a46ce325b012f 100644 --- a/Formula/opencascade.rb +++ b/Formula/opencascade.rb @@ -20,14 +20,13 @@ class Opencascade < Formula end bottle do - rebuild 1 - sha256 cellar: :any, arm64_ventura: "0162e3ca23a6a457c27758d74d9d381977ce440db5b73691b9c64c9853ddeb9c" - sha256 cellar: :any, arm64_monterey: "ea1fb9ba90f1f21e154831a34753c1224eb2fce1d28c8c6cd6327d8b6542167e" - sha256 cellar: :any, arm64_big_sur: "85e47fb1a77014a39be4883157c00a4c1396e15fc77fab2daacf9399885be447" - sha256 cellar: :any, ventura: "dcf19a023624080c74694edd1e8c0004726789711a5965b809ad09afee215a33" - sha256 cellar: :any, monterey: "8c4e6f43b96a47c0f150e2dc9f0a1d20f79036cff1ff84a2feebb054c15c040b" - sha256 cellar: :any, big_sur: "75ab9f445fd48c02bf5b0f4318337bcbd3a51d9d87ee0dcf1d4094a5c9efdc14" - sha256 cellar: :any_skip_relocation, x86_64_linux: "83f337ba6677432b4380ea30745a7b3eb5d343c24cf1fcb82c7387ee04b8d357" + sha256 cellar: :any, arm64_ventura: "602157bedc8130c093b00c47bb8db88afcf78a25273a0322942108e4da2de4e5" + sha256 cellar: :any, arm64_monterey: "f45c5356ce557cdc9f955a5760d8cf879a00c204db6ca0af2dfe5c834831239f" + sha256 cellar: :any, arm64_big_sur: "fe63f51e03760271860a2c1ff3e828dd17a51f827714b64930c13ccc988d42b8" + sha256 cellar: :any, ventura: "7eacf84bd049a9fe55817a525755d0a333fa12ad744d0edcc9fc5d96f821c72d" + sha256 cellar: :any, monterey: "d41ff813c2d6bb651f86395364e89eaee7b587569538de3dbd316b0d4397a10e" + sha256 cellar: :any, big_sur: "906d13b24952d636f37a85ea461a6cfc224c67a751bbb6a40d2942f567db9b6b" + sha256 cellar: :any_skip_relocation, x86_64_linux: "adc4fff0c7a10f5d9de8fe630881f5fe97184bf69b0003e2f19c7f0eee9972f9" end depends_on "cmake" => [:build, :test] From 4851ef8014e52657e3738594942ca9d659b26fcd Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Tue, 25 Jul 2023 09:24:51 +0000 Subject: [PATCH 4/4] gmsh: update 4.11.1_2 bottle. --- Formula/gmsh.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Formula/gmsh.rb b/Formula/gmsh.rb index e18119f3d101f..66bb6c786acd5 100644 --- a/Formula/gmsh.rb +++ b/Formula/gmsh.rb @@ -13,13 +13,13 @@ class Gmsh < Formula end bottle do - sha256 cellar: :any, arm64_ventura: "a8328f219a8147ed59c2a914dba9bad2416f0103c8da2d4e392ae31206c0e1ef" - sha256 cellar: :any, arm64_monterey: "81a4f86a19b14711a4ffd3cc92c5f27f76ec624861e5e8484a0dd17151d0c0b7" - sha256 cellar: :any, arm64_big_sur: "0939ec2c63ce60d4c20cd6ee27d061197136e2107f4ea100b0d0349ee3176d39" - sha256 cellar: :any, ventura: "a5d273c8b3530f4ecf9825a785031a950f54074e143e271e569bead5d94ca424" - sha256 cellar: :any, monterey: "d68df2536c01f6eec7a9289c41e9352af8892836705f5296f004d0adf3d2996e" - sha256 cellar: :any, big_sur: "9b19a36a83a4196d644dc6a3831e7914b649af8e08c177326488a52d45066135" - sha256 cellar: :any_skip_relocation, x86_64_linux: "74a034d2ed6390d1f814d966807f3123a7689b2d179fdf9e7882e87cd6b1b4b7" + sha256 cellar: :any, arm64_ventura: "b52ab40cdc7dd587293a4a2a61ac27b3422003ef3cef628977e83e8e714986a7" + sha256 cellar: :any, arm64_monterey: "cebc34ca3c942f8e3d20c20f29a2c05bfe3f21dc4d1ff40d571ed113184b5599" + sha256 cellar: :any, arm64_big_sur: "45d996cd1b5e511d088e68f14c80815219a9c13e52f4cf6db8aeef09aa18f296" + sha256 cellar: :any, ventura: "85b538e6af48d69e9b3b22f4104e31f85aecd21d2ebb9b9c31f49ff27b019678" + sha256 cellar: :any, monterey: "921ae55327547c4885b992c04ea84b5ecc26a7c6b8066fdf072b4d871aaece22" + sha256 cellar: :any, big_sur: "2ff8a02f3d415212e67e5ee7d27045ee904bf6d56b8bece974922d5a11673310" + sha256 cellar: :any_skip_relocation, x86_64_linux: "c8a9a895160065b7791653f2a06086acdf74ef6d21995528aa40aa3ae094b7a1" end depends_on "cmake" => :build