From 1d46afdf63e270036c20aa113b3312f89ac1dea9 Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jackpot51@gmail.com>
Date: Sat, 1 Oct 2022 22:01:49 -0600
Subject: [PATCH] Update glutin

---
 recipes/glutin/recipe.sh | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/recipes/glutin/recipe.sh b/recipes/glutin/recipe.sh
index 7e3e04d7c..41fc5a100 100644
--- a/recipes/glutin/recipe.sh
+++ b/recipes/glutin/recipe.sh
@@ -1,13 +1,12 @@
 GIT=https://gitlab.redox-os.org/redox-os/glutin.git
-GIT_UPSTREAM=https://github.com/tomaka/glutin.git
+GIT_UPSTREAM=https://github.com/rust-windowing/glutin.git
 BUILD_DEPENDS=(llvm mesa zlib)
-BRANCH=redox
-CARGOFLAGS="--example window"
+BRANCH=redox-0.29
 
 function recipe_build {
     sysroot="$(realpath ../sysroot)"
     set -x
-    cargo rustc --target "$TARGET" --release ${CARGOFLAGS} \
+    cargo rustc --target "$TARGET" --release --package glutin_examples --example window \
         -- \
         -L "${sysroot}/lib" \
         -C link-args="-Wl,-Bstatic $("${PKG_CONFIG}" --libs osmesa) -lz -lstdc++ -lc -lgcc"
-- 
GitLab