From 93fac63f2f48fd8150446398831b57a77c69994a Mon Sep 17 00:00:00 2001
From: OSRF Build Bot <osrfbuild@osrfoundation.org>
Date: Thu, 28 Sep 2023 02:44:56 +0000
Subject: [PATCH 1/3] gz-rendering8: update 8.0.0~pre3

---
 Formula/gz-rendering8.rb | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/Formula/gz-rendering8.rb b/Formula/gz-rendering8.rb
index 61df4f8de..14c4a9360 100644
--- a/Formula/gz-rendering8.rb
+++ b/Formula/gz-rendering8.rb
@@ -1,11 +1,10 @@
 class GzRendering8 < Formula
   desc "Rendering library for robotics applications"
   homepage "https://gazebosim.org"
-  url "https://osrf-distributions.s3.amazonaws.com/gz-rendering/releases/gz-rendering-8.0.0~pre2.tar.bz2"
-  version "8.0.0~pre2"
-  sha256 "2e828c5c0754d082d97a01b5ef6f47d3baae2749f7c638b18259c4673c11be7b"
+  url "https://osrf-distributions.s3.amazonaws.com/gz-rendering/releases/gz-rendering-8.0.0~pre3.tar.bz2"
+  version "8.0.0-pre3"
+  sha256 "2202d17ee7c6d48b029681b3f198dc68f87e07bb4bd6ae2945f9e6d520e510d9"
   license "Apache-2.0"
-  revision 1
 
   head "https://github.com/gazebosim/gz-rendering.git", branch: "gz-rendering8"
 

From 9ba8e567ac052a25bbe329725490b5b4277e7967 Mon Sep 17 00:00:00 2001
From: Steve Peters <scpeters@openrobotics.org>
Date: Wed, 27 Sep 2023 22:29:29 -0700
Subject: [PATCH 2/3] gz-rendering8: remove old patch

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
---
 Formula/gz-rendering8.rb | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/Formula/gz-rendering8.rb b/Formula/gz-rendering8.rb
index 14c4a9360..75d09c9de 100644
--- a/Formula/gz-rendering8.rb
+++ b/Formula/gz-rendering8.rb
@@ -28,12 +28,6 @@ class GzRendering8 < Formula
   depends_on "ogre1.9"
   depends_on "ogre2.3"
 
-  patch do
-    # use CMAKE_INSTALL_RPATH values in ogre2 library
-    url "https://github.com/gazebosim/gz-rendering/commit/65ffacb49e5c5477e2ee5241bb45fdfd2273a5ae.patch?full_index=1"
-    sha256 "ed13b1d5e74d3a4e66c33a52149eb6be581b5f97014e2745d9e18ad216913fd8"
-  end
-
   def install
     rpaths = [
       rpath,

From 084d7eff4baba3540a0c85eb8bfde98000229c5e Mon Sep 17 00:00:00 2001
From: OSRF Build Bot <osrfbuild@osrfoundation.org>
Date: Thu, 28 Sep 2023 06:06:57 +0000
Subject: [PATCH 3/3] update  bottle.

---
 Formula/gz-rendering8.rb | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/Formula/gz-rendering8.rb b/Formula/gz-rendering8.rb
index 75d09c9de..952752a5e 100644
--- a/Formula/gz-rendering8.rb
+++ b/Formula/gz-rendering8.rb
@@ -10,9 +10,8 @@ class GzRendering8 < Formula
 
   bottle do
     root_url "https://osrf-distributions.s3.amazonaws.com/bottles-simulation"
-    sha256 ventura:  "2b29c8efc349b06ebe235a982c44ec4c8ecf5199e6aee6d115635909585bba77"
-    sha256 monterey: "9bbee41f78364d5e95eb98e762710bf4ae44dc1263f7a82394dd8253bcbe98f3"
-    sha256 big_sur:  "b24c5455c41e0b240fb1674660558b1883ca2790ef10dddd6a6138b5fa89d86c"
+    sha256 ventura:  "fb88f729a98a20ab22d3c1abf89163ef6db2ff06e4930656a17b9f3db7f4cb66"
+    sha256 monterey: "a4e01cb771e89b5415158f5b23c6b3fde152e4cd983a56908b53e08b158c2f2e"
   end
 
   depends_on "cmake" => [:build, :test]