File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed
pkgs/os-specific/linux/dmraid Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,10 @@ stdenv.mkDerivation rec {
1616 } ;
1717
1818 patches =
19- [ ./hardening-format.patch ]
19+ [
20+ ./hardening-format.patch
21+ ./fix-dmevent_tool.patch
22+ ]
2023 ++ lib . optionals stdenv . hostPlatform . isMusl [
2124 ( fetchpatch {
2225 url = "https://raw.githubusercontent.com/void-linux/void-packages/fceed4b8e96b3c1da07babf6f67b6ed1588a28b2/srcpkgs/dmraid/patches/006-musl-libc.patch" ;
Original file line number Diff line number Diff line change 1+ --- a/1.0.0.rc16/tools/dmevent_tool.c.old 2024-12-26 18:39:04.294039876 -0700
2+ +++ a/1.0.0.rc16/tools/dmevent_tool.c 2024-12-26 18:45:59.416784807 -0700
3+ @@ -123,7 +123,7 @@
4+ }
5+
6+ /* Increment option counters. */
7+ - static _process_opt(int opt, const char *cmd)
8+ + static int _process_opt(int opt, const char *cmd)
9+ {
10+ struct opt_def_struct {
11+ const char opt; /* Option character. */
12+ @@ -148,7 +148,7 @@
13+
14+ optc[o->type]++;
15+ optc[OPT_SUM]++;
16+ - return;
17+ + return 0;
18+ }
19+ }
20+
You can’t perform that action at this time.
0 commit comments