Skip to content

Commit 0b9ee9c

Browse files
authored
zbar: 0.23.92 -> 0.23.93 (#389506)
2 parents d5eda4c + 88662b6 commit 0b9ee9c

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

pkgs/tools/graphics/zbar/default.nix

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
stdenv.mkDerivation rec {
3535
pname = "zbar";
36-
version = "0.23.92";
36+
version = "0.23.93";
3737

3838
outputs = [
3939
"out"
@@ -47,19 +47,20 @@ stdenv.mkDerivation rec {
4747
owner = "mchehab";
4848
repo = "zbar";
4949
rev = version;
50-
sha256 = "sha256-VhVrngAX7pXZp+szqv95R6RGAJojp3svdbaRKigGb0w=";
50+
sha256 = "sha256-6gOqMsmlYy6TK+iYPIBsCPAk8tYDliZYMYeTOidl4XQ=";
5151
};
5252

5353
patches = [
54+
# Fix build, remove these two patches on a release beyond 0.23.93.
5455
(fetchpatch {
55-
name = "CVE-2023-40889.patch";
56-
url = "https://salsa.debian.org/debian/zbar/-/raw/debian/0.23.92-9/debian/patches/0003-CVE-2023-40889-qrdec.c-Fix-array-out-of-bounds-acces.patch";
57-
hash = "sha256-z0IADJwUt9PBoox5xJJN//5vrcRbIrWB9H7wtxNVUZU=";
56+
name = "variable-pkg-config-path.patch";
57+
url = "https://github.com/mchehab/zbar/commit/368571ffa1a0f6cc41f708dd0d27f9b6e9409df8.patch";
58+
hash = "sha256-4VEuGAyR7rcIijPLlh4pzL82ESm99Wb35PV/FbY9H6Y=";
5859
})
5960
(fetchpatch {
60-
name = "CVE-2023-40890.patch";
61-
url = "https://salsa.debian.org/debian/zbar/-/raw/debian/0.23.92-9/debian/patches/0004-Add-bounds-check-for-CVE-2023-40890.patch";
62-
hash = "sha256-YgiptwXpRpz0qIcXBpARfIzSB8KYmksZR58o5yFPahs=";
61+
name = "qt5-detection-fix.patch";
62+
url = "https://github.com/mchehab/zbar/commit/a549566ea11eb03622bd4458a1728ffe3f589163.patch";
63+
hash = "sha256-NY3bAElwNvGP9IR6JxUf62vbjx3hONrqu9pMSqaZcLY=";
6364
})
6465
];
6566

0 commit comments

Comments
 (0)