mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
rasdaemon: 0.8.4 -> 0.8.5 (#535837)
This commit is contained in:
commit
538087c016
2 changed files with 2 additions and 20 deletions
|
|
@ -17,20 +17,15 @@
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "rasdaemon";
|
||||
version = "0.8.4";
|
||||
version = "0.8.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mchehab";
|
||||
repo = "rasdaemon";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-rk4CZrWQRe2wsx8/eXP0BIeaU/Gxmcb+Kry5F8t4YKQ=";
|
||||
hash = "sha256-CN9fSo7CQFkbpxPRwFSNJovTJBAjqEhqQzwHfYirGmo=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/mchehab/rasdaemon/pull/246
|
||||
./ras-mc-ctl_fix_invalid_column_in_signal_events_query.patch
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
|
|
|||
|
|
@ -1,13 +0,0 @@
|
|||
diff --git a/util/ras-mc-ctl.in b/util/ras-mc-ctl.in
|
||||
index b00c9c1..e56402b 100755
|
||||
--- a/util/ras-mc-ctl.in
|
||||
+++ b/util/ras-mc-ctl.in
|
||||
@@ -2497,7 +2497,7 @@ sub errors
|
||||
|
||||
# SIGNAL event
|
||||
if ($has_signal == 1) {
|
||||
- $query = "select id, timestamp, signal, errorno, code, comm, pid, grp, res from signal_event$conf{opt}{since} order by id";
|
||||
+ $query = "select id, timestamp, sig, errorno, code, comm, pid, grp, res from signal_event$conf{opt}{since} order by id";
|
||||
$query_handle = $dbh->prepare($query);
|
||||
$query_handle->execute();
|
||||
$query_handle->bind_columns(\($id, $timestamp, $signal, $errorno, $code, $comm, $pid, $grp, $res));
|
||||
Loading…
Add table
Add a link
Reference in a new issue