mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 11:44:48 +00:00
xinetd: fix musl compatibility
Pass HAVE_RLIM_T via TARGET_CPPFLAGS since configure uses that define but never actually declares it. Without doing that, `config.h` tries to declare `rlim_t` itself which leads to `config.h:126:16: error: 'long long long' is too long for GCC` with musl on at least x86_64. Also refresh patches while we're at it. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2006-2014 OpenWrt.org
|
||||
# Copyright (C) 2006-2015 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=xinetd
|
||||
PKG_VERSION:=2.3.15
|
||||
PKG_RELEASE:=3
|
||||
PKG_RELEASE:=4
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://www.xinetd.org
|
||||
@@ -42,6 +42,7 @@ define Package/xinetd/conffiles
|
||||
endef
|
||||
|
||||
TARGET_CFLAGS += -DNO_RPC
|
||||
TARGET_CPPFLAGS += -DHAVE_RLIM_T
|
||||
|
||||
CONFIGURE_ARGS += \
|
||||
--without-libwrap \
|
||||
|
||||
Reference in New Issue
Block a user