mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
darkstat: Remove libbsd dependency
darkstat includes its own strlcat and strlcpy, making the dependency somewhat pointless. Fixes compilation ever since glibc dependency on libbsd was removed. Also removed std=gnu99 as it's not needed with GCC7. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -25,7 +25,7 @@ include $(INCLUDE_DIR)/package.mk
|
|||||||
define Package/darkstat
|
define Package/darkstat
|
||||||
SECTION:=net
|
SECTION:=net
|
||||||
CATEGORY:=Network
|
CATEGORY:=Network
|
||||||
DEPENDS:=+libpcap +zlib +USE_GLIBC:libbsd
|
DEPENDS:=+libpcap +zlib
|
||||||
TITLE:=Network bandwidth monitor
|
TITLE:=Network bandwidth monitor
|
||||||
URL:=http://unix4lyfe.org/darkstat/
|
URL:=http://unix4lyfe.org/darkstat/
|
||||||
endef
|
endef
|
||||||
@@ -44,7 +44,10 @@ CONFIGURE_ARGS += \
|
|||||||
--disable-debug \
|
--disable-debug \
|
||||||
--with-chroot-dir=/var/empty
|
--with-chroot-dir=/var/empty
|
||||||
|
|
||||||
TARGET_CFLAGS += -std=gnu99
|
CONFIGURE_VARS += \
|
||||||
|
ac_cv_search_setproctitle=no \
|
||||||
|
ac_cv_search_strlcpy=no \
|
||||||
|
ac_cv_search_strlcat=no
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(HOSTCC) $(PKG_BUILD_DIR)/static/c-ify.c \
|
$(HOSTCC) $(PKG_BUILD_DIR)/static/c-ify.c \
|
||||||
|
|||||||
Reference in New Issue
Block a user