Alexandre Julliard : opengl32: Specify the exact commit when fetching Khronos files.

Alexandre Julliard julliard at winehq.org
Thu Apr 23 14:54:31 CDT 2020


Module: wine
Branch: master
Commit: 29839b7fd9e19b5624dd929ae16ba16d9f537f62
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=29839b7fd9e19b5624dd929ae16ba16d9f537f62

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Apr 23 13:27:44 2020 +0200

opengl32: Specify the exact commit when fetching Khronos files.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/opengl32/make_opengl | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/dlls/opengl32/make_opengl b/dlls/opengl32/make_opengl
index f91796ee3a..b9f43d36ae 100755
--- a/dlls/opengl32/make_opengl
+++ b/dlls/opengl32/make_opengl
@@ -317,8 +317,11 @@ if ($version eq "1.0") {
 #
 # Fetch the registry files
 #
--f "gl.xml" || system "wget https://raw.github.com/KhronosGroup/OpenGL-Registry/master/xml/gl.xml" || die "cannot download gl.xml";
--f "wgl.xml" || system "wget https://raw.github.com/KhronosGroup/OpenGL-Registry/master/xml/wgl.xml" || die "cannot download wgl.xml";
+my $url="https://raw.githubusercontent.com/KhronosGroup/OpenGL-Registry";
+my $commit="9929a7296ffdbd9c17125e1aa319cde78d1032e6";
+
+-f "gl-$commit.xml" || system "wget", "-O", "gl-$commit.xml", "$url/$commit/xml/gl.xml" || die "cannot download gl.xml";
+-f "wgl-$commit.xml" || system "wget", "-O", "wgl-$commit.xml", "$url/$commit/xml/wgl.xml" || die "cannot download wgl.xml";
 
 
 #
@@ -559,8 +562,8 @@ sub parse_file($)
     }
 }
 
-parse_file( "gl.xml" );
-parse_file( "wgl.xml" );
+parse_file( "gl-$commit.xml" );
+parse_file( "wgl-$commit.xml" );
 parse_file( "winegl.xml" );
 
 #




More information about the wine-cvs mailing list