mirror of
https://github.com/novatiq/packages.git
synced 2026-04-24 21:14:40 +01:00
minidlna: fix build with newer musl
The configure script is totally broken and does not check for clock_gettime. Define it manually. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=minidlna
|
PKG_NAME:=minidlna
|
||||||
PKG_RELEASE:=5
|
PKG_RELEASE:=6
|
||||||
|
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_URL:=https://git.code.sf.net/p/minidlna/git
|
PKG_SOURCE_URL:=https://git.code.sf.net/p/minidlna/git
|
||||||
@@ -48,7 +48,7 @@ define Package/minidlna/conffiles
|
|||||||
/etc/config/minidlna
|
/etc/config/minidlna
|
||||||
endef
|
endef
|
||||||
|
|
||||||
CONFIGURE_ARGS +=\
|
CONFIGURE_ARGS += \
|
||||||
--with-libiconv-prefix="$(ICONV_PREFIX)" \
|
--with-libiconv-prefix="$(ICONV_PREFIX)" \
|
||||||
--with-libintl-prefix="$(INTL_PREFIX)" \
|
--with-libintl-prefix="$(INTL_PREFIX)" \
|
||||||
--with-os-name="OpenWrt Linux" \
|
--with-os-name="OpenWrt Linux" \
|
||||||
@@ -57,6 +57,8 @@ CONFIGURE_ARGS +=\
|
|||||||
--with-db-path="/var/run/minidlna" \
|
--with-db-path="/var/run/minidlna" \
|
||||||
--with-log-path="/var/log"
|
--with-log-path="/var/log"
|
||||||
|
|
||||||
|
TARGET_CFLAGS += -DHAVE_CLOCK_GETTIME
|
||||||
|
|
||||||
define Package/minidlna/install
|
define Package/minidlna/install
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin
|
$(INSTALL_DIR) $(1)/usr/sbin
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/minidlnad $(1)/usr/sbin/minidlnad
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/minidlnad $(1)/usr/sbin/minidlnad
|
||||||
|
|||||||
Reference in New Issue
Block a user