ソースを参照

Merge pull request #1564 from hauke/kismet

kismet: fix build with musl
Steven Barth 9 年 前
コミット
80bdd250b2
共有2 個のファイルを変更した24 個の追加4 個の削除を含む
  1. 2
    4
      net/kismet/patches/010-dont-add-host-include-paths.patch
  2. 22
    0
      net/kismet/patches/020-musl-include-fixes.patch

+ 2
- 4
net/kismet/patches/010-dont-add-host-include-paths.patch ファイルの表示

@@ -1,9 +1,7 @@
1
-diff --git a/configure b/configure
2
-index 6936a47..9a85269 100755
3 1
 --- a/configure
4 2
 +++ b/configure
5
-@@ -6980,9 +6980,6 @@ else
6
- fi
3
+@@ -5456,9 +5456,6 @@ fi
4
+ 
7 5
  
8 6
  
9 7
 -# Add additional cflags since some distros bury panel.h

+ 22
- 0
net/kismet/patches/020-musl-include-fixes.patch ファイルの表示

@@ -0,0 +1,22 @@
1
+--- a/configfile.cc
2
++++ b/configfile.cc
3
+@@ -24,6 +24,7 @@
4
+ #include <stdlib.h>
5
+ #include <stdio.h>
6
+ #include <errno.h>
7
++#include <time.h>
8
+ #include "configfile.h"
9
+ #include "util.h"
10
+ 
11
+--- a/dumpfile_tuntap.cc
12
++++ b/dumpfile_tuntap.cc
13
+@@ -20,8 +20,8 @@
14
+ 
15
+ #include <errno.h>
16
+ 
17
+-#include "dumpfile_tuntap.h"
18
+ #include "ifcontrol.h"
19
++#include "dumpfile_tuntap.h"
20
+ #include "ipc_remote.h"
21
+ 
22
+ #ifndef SYS_CYGWIN