mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
bump version to 2022.02.9
add miyoo_defconfig
This commit is contained in:
41
package/wavemon/0001-iw_if.h-don-t-include-linux-if.h.patch
Normal file
41
package/wavemon/0001-iw_if.h-don-t-include-linux-if.h.patch
Normal file
@@ -0,0 +1,41 @@
|
||||
From 4ac1482bb40376e47805c3737dfed60abb1dd3b4 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Wed, 22 Dec 2021 00:39:35 +0100
|
||||
Subject: [PATCH] iw_if.h: don't include linux/if.h (#109)
|
||||
|
||||
Don't include linux/if.h to avoid the following build failure:
|
||||
|
||||
In file included from iw_if.h:31:0,
|
||||
from conf.c:19:
|
||||
/home/buildroot/autobuild/instance-3/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/linux/if.h: At top level:
|
||||
/home/buildroot/autobuild/instance-3/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/linux/if.h:143:8: error: redefinition of 'struct ifmap'
|
||||
struct ifmap {
|
||||
^
|
||||
In file included from iw_if.h:26:0,
|
||||
from conf.c:19:
|
||||
/home/buildroot/autobuild/instance-3/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/net/if.h:111:8: note: originally defined here
|
||||
struct ifmap
|
||||
^
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/a6ee162cf04b70b144b54e1ca4b7b2421071c50c
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
[Retrieved from:
|
||||
https://github.com/uoaerg/wavemon/commit/4ac1482bb40376e47805c3737dfed60abb1dd3b4]
|
||||
---
|
||||
iw_if.h | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/iw_if.h b/iw_if.h
|
||||
index 9e7fa89..6607e0b 100644
|
||||
--- a/iw_if.h
|
||||
+++ b/iw_if.h
|
||||
@@ -28,7 +28,6 @@
|
||||
#include <net/ethernet.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
-#include <linux/if.h>
|
||||
|
||||
/* Definitions from linux/ieee80211.h (not necessarily part of distro headers) */
|
||||
#define WLAN_CAPABILITY_ESS (1<<0)
|
||||
@@ -1,8 +1,10 @@
|
||||
config BR2_PACKAGE_WAVEMON
|
||||
bool "wavemon"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on !BR2_STATIC_LIBS # libnl tools
|
||||
select BR2_PACKAGE_NCURSES
|
||||
select BR2_PACKAGE_LIBNL
|
||||
select BR2_PACKAGE_LIBNL_TOOLS
|
||||
help
|
||||
wavemon is a wireless device monitoring application that
|
||||
allows you to watch signal and noise levels, packet
|
||||
@@ -15,5 +17,5 @@ config BR2_PACKAGE_WAVEMON
|
||||
|
||||
https://github.com/uoaerg/wavemon
|
||||
|
||||
comment "wavemon needs a toolchain w/ threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
comment "wavemon needs a toolchain w/ threads, dynamic library"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 5ebd5b79d3b7c546bc16b95161872c699a75e9acdfc6e3f02ec48dad10802067 wavemon-0.9.1.tar.gz
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING
|
||||
sha256 e7e4167292136ca7ff12ddeb880904c10f33e97620ea6aa5f7838e859fdb40ed wavemon-0.9.4.tar.gz
|
||||
sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 LICENSE
|
||||
|
||||
@@ -4,13 +4,20 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
WAVEMON_VERSION = 0.9.1
|
||||
WAVEMON_VERSION = 0.9.4
|
||||
WAVEMON_SITE = $(call github,uoaerg,wavemon,v$(WAVEMON_VERSION))
|
||||
WAVEMON_LICENSE = GPL-3.0+
|
||||
WAVEMON_LICENSE_FILES = COPYING
|
||||
WAVEMON_LICENSE_FILES = LICENSE
|
||||
WAVEMON_DEPENDENCIES = host-pkgconf libnl ncurses
|
||||
|
||||
# Handwritten Makefile.in, automake isn't used
|
||||
WAVEMON_MAKE_OPTS = CC="$(TARGET_CC)"
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCAP),y)
|
||||
WAVEMON_CONF_OPTS += --with-libcap
|
||||
WAVEMON_DEPENDENCIES += libcap
|
||||
else
|
||||
WAVEMON_CONF_OPTS += --without-libcap
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
Reference in New Issue
Block a user