Skip to content

Commit 7f5756b

Browse files
authored
cnijfilter2: add patch to fix missing import (NixOS#369086)
2 parents 14a0b57 + 913c5d2 commit 7f5756b

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

pkgs/by-name/cn/cnijfilter2/package.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ stdenv.mkDerivation {
3636

3737
patches = [
3838
./patches/get_protocol.patch
39+
./patches/add_missing_import.patch
3940
];
4041

4142
# lgmon3's --enable-libdir flag is used soley for specifying in which
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/lgmon3/src/keytext.c b/lgmon3/src/keytext.c
2+
index 8c15ff8..b80bbe5 100644
3+
--- a/lgmon3/src/keytext.c
4+
+++ b/lgmon3/src/keytext.c
5+
@@ -37,6 +37,7 @@
6+
#include <unistd.h>
7+
#include <libxml/parser.h> /* Ver.2.80 */
8+
#include <string.h>
9+
+#include <stdlib.h>
10+
11+
#include "keytext.h"
12+

0 commit comments

Comments
 (0)