Skip to content

Commit

Permalink
qt6.qtsvg: add patch for QTBUG-117944
Browse files Browse the repository at this point in the history
  • Loading branch information
NickCao committed Oct 12, 2023
1 parent 864c11d commit 2de11a7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkgs/development/libraries/qt-6/modules/qtsvg.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,21 @@
, libmng
, zlib
, pkg-config
, fetchpatch2
}:

qtModule {
pname = "qtsvg";
qtInputs = [ qtbase ];
buildInputs = [ libwebp jasper libmng zlib ];
nativeBuildInputs = [ pkg-config ];
patches = [
# Fix nullptr dereference with invalid SVG
# https://bugreports.qt.io/projects/QTBUG/issues/QTBUG-117944
(fetchpatch2 {
name = "QTBUG-117944.patch";
url = "https://code.qt.io/cgit/qt/qtsvg.git/patch/?id=edc8ca7f";
hash = "sha256-kBQYlQqPb0QkRhatQyaGdxE1Y5zHd6/ZEd5zn0gRVoM=";
})
];
}

0 comments on commit 2de11a7

Please sign in to comment.