deepin-compressor: fix build for new dtk

rewine 004c4690 c7312655

+9
+9
pkgs/desktops/deepin/apps/deepin-compressor/default.nix
··· 1 1 { stdenv 2 2 , lib 3 3 , fetchFromGitHub 4 + , fetchpatch 4 5 , dtkwidget 5 6 , qt5integration 6 7 , qt5platform-plugins ··· 28 29 rev = version; 29 30 hash = "sha256-oOxto0X/GBAA9q691uwC0PtCdHDTMBqi80ov4xCXPn0="; 30 31 }; 32 + 33 + patches = [ 34 + (fetchpatch { 35 + name = "fix-build-failures-for-new-dtkgui.patch"; 36 + url = "https://github.com/linuxdeepin/deepin-compressor/commit/0ee07030034b06021e366d8d6109f344d47ea26c.patch"; 37 + hash = "sha256-P++SxzZCWoXJnLQhC0H/64/LjW/dqnl3hCGBWHVDn9Q="; 38 + }) 39 + ]; 31 40 32 41 postPatch = '' 33 42 substituteInPlace src/source/common/pluginmanager.cpp \