diff --git a/patches/patchinstall.sh b/patches/patchinstall.sh
index 629ef5c8..307663f4 100755
--- a/patches/patchinstall.sh
+++ b/patches/patchinstall.sh
@@ -52,13 +52,13 @@ usage()
 # Get the upstream commit sha
 upstream_commit()
 {
-	echo "40c5184a90a6e14f3e49dd60daaba636308b7f83"
+	echo "54e4d51fdbda08333012040c0683394853a097e9"
 }
 
 # Show version information
 version()
 {
-	echo "Wine Staging 4.0-rc4"
+	echo "Wine Staging 4.0-rc5"
 	echo "Copyright (C) 2014-2018 the Wine Staging project authors."
 	echo "Copyright (C) 2018 Alistair Leslie-Hughes"
 	echo ""
diff --git a/staging/VERSION b/staging/VERSION
index 4804e5be..59c4503a 100644
--- a/staging/VERSION
+++ b/staging/VERSION
@@ -1 +1 @@
-Wine Staging 4.0-rc4
+Wine Staging 4.0-rc5