openipmi: 2.0.31 -> 2.0.32

This commit is contained in:
Alexander Rezvov 2021-12-01 23:44:16 +03:00
parent a2d86d8ae8
commit b9599767e8
No known key found for this signature in database
GPG Key ID: 7E9400C4F7763DE6
2 changed files with 2 additions and 19 deletions

View File

@ -2,19 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "OpenIPMI"; pname = "OpenIPMI";
version = "2.0.31"; version = "2.0.32";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/openipmi/OpenIPMI-${version}.tar.gz"; url = "mirror://sourceforge/openipmi/OpenIPMI-${version}.tar.gz";
sha256 = "05wpkn74nxqp5p6sa2yaf2ajrh8b0gfkb7y4r86lnigz4rvz6lkh"; sha256 = "sha256-9tD9TAp0sF+AkHIp0LJw9UyiMpS8wRl5+LjRJ2Z4aUU=";
}; };
patches = [
# fix assertion when used as a library in collectd
# taken from https://sourceforge.net/p/openipmi/code/ci/d613d279dbce2d5e4594f6fed39653d83af0d99b/
./fix-collectd-assertion.diff
];
buildInputs = [ ncurses popt python3 readline ]; buildInputs = [ ncurses popt python3 readline ];
outputs = [ "out" "lib" "dev" "man" ]; outputs = [ "out" "lib" "dev" "man" ];

View File

@ -1,11 +0,0 @@
--- a/unix/posix_thread_os_hnd.c
+++ b/unix/posix_thread_os_hnd.c
@@ -140,8 +140,6 @@
fd_data->data_ready = data_ready;
fd_data->handler = handler;
fd_data->freed = freed;
- sel_set_fd_write_handler(posix_sel, fd, SEL_FD_HANDLER_DISABLED);
- sel_set_fd_except_handler(posix_sel, fd, SEL_FD_HANDLER_DISABLED);
rv = sel_set_fd_handlers(posix_sel, fd, fd_data, fd_handler, NULL, NULL,
free_fd_data);
if (rv) {