nix-stuff/nixpkgs-patches/pr454957.patch

36 lines
993 B
Diff

From 75c9e6694415682eea0f73a87a269502bc7a7048 Mon Sep 17 00:00:00 2001
From: Eric Helgeson <erichelgeson@gmail.com>
Date: Thu, 23 Oct 2025 11:23:15 -0500
Subject: [PATCH] rpcs3: Add upstream patch for Qt 6.10+
---
pkgs/by-name/rp/rpcs3/package.nix | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/pkgs/by-name/rp/rpcs3/package.nix b/pkgs/by-name/rp/rpcs3/package.nix
index ed68bcb2ec19c..109f71454fe25 100644
--- a/pkgs/by-name/rp/rpcs3/package.nix
+++ b/pkgs/by-name/rp/rpcs3/package.nix
@@ -1,6 +1,7 @@
{
lib,
stdenv,
+ fetchpatch,
fetchFromGitHub,
nix-update-script,
cmake,
@@ -148,6 +149,14 @@ stdenv.mkDerivation (finalAttrs: {
qtwayland
];
+ patches = [
+ (fetchpatch {
+ name = "fix-build-qt-6.10.patch";
+ url = "https://github.com/RPCS3/rpcs3/commit/038ee090b731bf63917371a3586c2f7d7cf4e585.patch";
+ hash = "sha256-jTIxsheG9b9zp0JEeWQ73BunAXmEIg5tj4SrWBfdHy8=";
+ })
+ ];
+
doInstallCheck = true;
preFixup = ''