mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
From 4eeb901b7aadb167e44f476fd665f7fedf491e51 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause@embedded.rocks>
|
||||
Date: Fri, 6 May 2016 09:28:36 +0200
|
||||
Subject: [PATCH] Fix missing include for caddr_t
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
caddr_t is defined in <sys/types.h>. This header file must be included to fix
|
||||
build with the musl C library:
|
||||
|
||||
netinfo.c: In function 'mc_net_info_get_permanent_mac':
|
||||
netinfo.c:116:28: error: 'caddr_t' undeclared (first use in this function)
|
||||
req.ifr_data = (caddr_t)epa;
|
||||
|
||||
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
|
||||
---
|
||||
src/netinfo.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/netinfo.c b/src/netinfo.c
|
||||
index 3525123..1aa3293 100644
|
||||
--- a/src/netinfo.c
|
||||
+++ b/src/netinfo.c
|
||||
@@ -28,6 +28,7 @@
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/ioctl.h>
|
||||
+#include <sys/types.h>
|
||||
|
||||
#include <linux/ethtool.h>
|
||||
#include <linux/sockios.h>
|
||||
--
|
||||
2.8.2
|
||||
|
||||
7
package/macchanger/Config.in
Normal file
7
package/macchanger/Config.in
Normal file
@@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_MACCHANGER
|
||||
bool "macchanger"
|
||||
help
|
||||
A GNU/Linux utility for viewing/manipulating the MAC address
|
||||
of network interfaces
|
||||
|
||||
http://www.gnu.org/software/macchanger
|
||||
2
package/macchanger/macchanger.hash
Normal file
2
package/macchanger/macchanger.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
sha256 dae2717c270fd5f62d790dbf80c19793c651b1b26b62c101b82d5fdf25a845bf macchanger-1.7.0.tar.gz
|
||||
12
package/macchanger/macchanger.mk
Normal file
12
package/macchanger/macchanger.mk
Normal file
@@ -0,0 +1,12 @@
|
||||
################################################################################
|
||||
#
|
||||
# macchanger
|
||||
#
|
||||
################################################################################
|
||||
|
||||
MACCHANGER_VERSION = 1.7.0
|
||||
MACCHANGER_SITE = https://github.com/alobbs/macchanger/releases/download/$(MACCHANGER_VERSION)
|
||||
MACCHANGER_LICENSE = GPL-2.0+
|
||||
MACCHANGER_LICENSE_FILES = COPYING
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user