Browse Source

libuwifi: update to latest version

Signed-off-by: Nick Hainke <vincent@systemli.org>
lilik-openwrt-22.03
Nick Hainke 5 years ago
parent
commit
2c35ddce70
2 changed files with 4 additions and 107 deletions
  1. +4
    -7
      libs/libuwifi/Makefile
  2. +0
    -100
      libs/libuwifi/patches/500-ccan-includes.patch

+ 4
- 7
libs/libuwifi/Makefile View File

@ -6,13 +6,13 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=libuwifi PKG_NAME:=libuwifi
PKG_VERSION:=2019-05-27
PKG_RELEASE:=2
PKG_VERSION:=2019-12-05
PKG_RELEASE:=3
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/br101/libuwifi.git PKG_SOURCE_URL:=https://github.com/br101/libuwifi.git
PKG_SOURCE_VERSION:=bb92bc9b041a077488f2fa5a1716902c7bb23e5b
PKG_MIRROR_HASH:=c6dc795ef6c2cc87d411d3f907974f634a132c3e732db2597f96ff25a05faa05
PKG_SOURCE_VERSION:=089bfebd3a8da6e39fd93e33c44368b044c23dde
PKG_MIRROR_HASH:=a99801ad1dfcf459b00adc582d5e6a31dae9ed10529d114e1e26f5760c6a74f8
PKG_MAINTAINER:=Bruno Randolf <br1@einfach.org>, Nick Hainke <vincent@systemli.org> PKG_MAINTAINER:=Bruno Randolf <br1@einfach.org>, Nick Hainke <vincent@systemli.org>
PKG_LICENSE:=LGPL-3.0-only PKG_LICENSE:=LGPL-3.0-only
@ -41,9 +41,6 @@ define Build/InstallDev
$(CP) $(PKG_BUILD_DIR)/include/uwifi/*.h $(1)/usr/include/uwifi $(CP) $(PKG_BUILD_DIR)/include/uwifi/*.h $(1)/usr/include/uwifi
$(CP) $(PKG_BUILD_DIR)/linux/*.h $(1)/usr/include/uwifi $(CP) $(PKG_BUILD_DIR)/linux/*.h $(1)/usr/include/uwifi
$(CP) $(PKG_BUILD_DIR)/ccan $(1)/usr/include/
$(CP) $(PKG_BUILD_DIR)/config.h $(1)/usr/include/ccan/
$(INSTALL_DIR) $(1)/usr/lib $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/build/libuwifi.{a,so*} $(1)/usr/lib/ $(CP) $(PKG_BUILD_DIR)/build/libuwifi.{a,so*} $(1)/usr/lib/
endef endef


+ 0
- 100
libs/libuwifi/patches/500-ccan-includes.patch View File

@ -1,100 +0,0 @@
Index: libuwifi-2019-05-27/ccan/build_assert/_info
===================================================================
--- libuwifi-2019-05-27.orig/ccan/build_assert/_info
+++ libuwifi-2019-05-27/ccan/build_assert/_info
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "../config.h"
#include <stdio.h>
#include <string.h>
Index: libuwifi-2019-05-27/ccan/check_type/_info
===================================================================
--- libuwifi-2019-05-27.orig/ccan/check_type/_info
+++ libuwifi-2019-05-27/ccan/check_type/_info
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "../config.h"
#include <stdio.h>
#include <string.h>
Index: libuwifi-2019-05-27/ccan/check_type/check_type.h
===================================================================
--- libuwifi-2019-05-27.orig/ccan/check_type/check_type.h
+++ libuwifi-2019-05-27/ccan/check_type/check_type.h
@@ -1,7 +1,7 @@
/* CC0 (Public domain) - see LICENSE file for details */
#ifndef CCAN_CHECK_TYPE_H
#define CCAN_CHECK_TYPE_H
-#include "config.h"
+#include "../config.h"
/**
* check_type - issue a warning or build failure if type is not correct.
Index: libuwifi-2019-05-27/ccan/container_of/_info
===================================================================
--- libuwifi-2019-05-27.orig/ccan/container_of/_info
+++ libuwifi-2019-05-27/ccan/container_of/_info
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "../config.h"
#include <stdio.h>
#include <string.h>
Index: libuwifi-2019-05-27/ccan/container_of/container_of.h
===================================================================
--- libuwifi-2019-05-27.orig/ccan/container_of/container_of.h
+++ libuwifi-2019-05-27/ccan/container_of/container_of.h
@@ -3,7 +3,7 @@
#define CCAN_CONTAINER_OF_H
#include <stddef.h>
-#include "config.h"
+#include "../config.h"
#include <ccan/check_type/check_type.h>
/**
Index: libuwifi-2019-05-27/ccan/list/_info
===================================================================
--- libuwifi-2019-05-27.orig/ccan/list/_info
+++ libuwifi-2019-05-27/ccan/list/_info
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "../config.h"
#include <stdio.h>
#include <string.h>
Index: libuwifi-2019-05-27/ccan/str/_info
===================================================================
--- libuwifi-2019-05-27.orig/ccan/str/_info
+++ libuwifi-2019-05-27/ccan/str/_info
@@ -1,4 +1,4 @@
-#include "config.h"
+#include "../config.h"
#include <stdio.h>
#include <string.h>
Index: libuwifi-2019-05-27/ccan/str/debug.c
===================================================================
--- libuwifi-2019-05-27.orig/ccan/str/debug.c
+++ libuwifi-2019-05-27/ccan/str/debug.c
@@ -1,5 +1,5 @@
/* CC0 (Public domain) - see LICENSE file for details */
-#include "config.h"
+#include "../config.h"
#include <ccan/str/str_debug.h>
#include <assert.h>
#include <ctype.h>
Index: libuwifi-2019-05-27/ccan/str/str.h
===================================================================
--- libuwifi-2019-05-27.orig/ccan/str/str.h
+++ libuwifi-2019-05-27/ccan/str/str.h
@@ -1,7 +1,7 @@
/* CC0 (Public domain) - see LICENSE file for details */
#ifndef CCAN_STR_H
#define CCAN_STR_H
-#include "config.h"
+#include "../config.h"
#include <string.h>
#include <stdbool.h>
#include <limits.h>

Loading…
Cancel
Save