mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
kismet: fix compilation under uClibc-ng and GCC10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=kismet
|
PKG_NAME:=kismet
|
||||||
PKG_VERSION:=2016-07-R1
|
PKG_VERSION:=2016-07-R1
|
||||||
PKG_RELEASE:=4
|
PKG_RELEASE:=5
|
||||||
|
|
||||||
PKG_LICENSE:=LGPLv2.1
|
PKG_LICENSE:=LGPLv2.1
|
||||||
PKG_CPE_ID:=cpe:/a:kismet:kismet
|
PKG_CPE_ID:=cpe:/a:kismet:kismet
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
--- a/ipc_remote.cc
|
||||||
|
+++ b/ipc_remote.cc
|
||||||
|
@@ -941,8 +941,8 @@ int RootIPCRemote::OpenFDPassSock() {
|
||||||
|
}
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
- struct cmsghdr header;
|
||||||
|
int fd;
|
||||||
|
+ struct cmsghdr header;
|
||||||
|
} __attribute__((packed)) cmsg_fd;
|
||||||
|
|
||||||
|
int RootIPCRemote::SendDescriptor(int in_fd) {
|
||||||
Reference in New Issue
Block a user