From 879c9abc24bc08a30cff0b510211b53567873616 Mon Sep 17 00:00:00 2001 From: "Sergey V. Lobanov" Date: Wed, 2 Feb 2022 00:38:57 +0300 Subject: [PATCH] bluelog: fix build on macos bluelog can not be compiled on macos due to Apple zcat is not compatible with GNU zcat. This patch replaces `zcat` with `gzip -dc`. `gzip -dc` has the same behavior on GNU and Apple environments. Signed-off-by: Sergey V. Lobanov --- utils/bluelog/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/bluelog/Makefile b/utils/bluelog/Makefile index 3c60d6108..35a0e2bf6 100644 --- a/utils/bluelog/Makefile +++ b/utils/bluelog/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=bluelog PKG_VERSION:=1.1.2 -PKG_RELEASE:=4 +PKG_RELEASE:=5 PKG_SOURCE:=Bluelog-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/MS3FGX/Bluelog/tar.gz/$(PKG_VERSION)? @@ -78,7 +78,7 @@ MAKE_FLAGS += \ define Build/Prepare $(eval $(call Download,oui.txt)) $(Build/Prepare/Default) - zcat $(DL_DIR)/$(OUI_SOURCE) > $(PKG_BUILD_DIR)/oui.tmp + gzip -dc $(DL_DIR)/$(OUI_SOURCE) > $(PKG_BUILD_DIR)/oui.tmp endef define Package/bluelog/install