apr: Fix several format sizes

The configure script assumes that several sizes are 64-bit when cross
compiling. Backport a patch from the Yotco project to fix this.

Fixes apache compilation issue as Apache passes -Werror.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2018-10-30 19:26:29 -07:00
parent a20433e813
commit 3ad6e4a259
2 changed files with 80 additions and 2 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=apr
PKG_VERSION:=1.6.5
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@APACHE/apr/
@@ -29,7 +29,7 @@ define Package/libapr
CATEGORY:=Libraries
DEPENDS:=+libpthread +librt +libuuid
TITLE:=Apache Portable Runtime Library
URL:=http://apr.apache.org/
URL:=https://apr.apache.org/
endef
TARGET_CFLAGS += $(FPIC)