Browse Source

apr: upgrade to 1.5.4

Signed-off-by: heil <heil@terminal-consulting.de>
lilik-openwrt-22.03
heil 10 years ago
parent
commit
7c331284e0
3 changed files with 20 additions and 19 deletions
  1. +2
    -2
      libs/apr/Makefile
  2. +9
    -5
      libs/apr/patches/001-autoconf-compat.patch
  3. +9
    -12
      libs/apr/patches/201-upgrade-and-fix-1.5.1.patch

+ 2
- 2
libs/apr/Makefile View File

@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=apr
PKG_VERSION:=1.5.1
PKG_VERSION:=1.5.2
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://mirrors.ibiblio.org/apache/apr/
PKG_MD5SUM:=5486180ec5a23efb5cae6d4292b300ab
PKG_MD5SUM:=4e9769f3349fe11fc0a5e1b224c236aa
PKG_MAINTAINER:=Thomas Heil <heil@terminal-consulting.de>
PKG_LICENSE:=Apache License


+ 9
- 5
libs/apr/patches/001-autoconf-compat.patch View File

@ -1,5 +1,7 @@
--- a/Makefile.in
+++ b/Makefile.in
Index: apr-1.5.2/Makefile.in
===================================================================
--- apr-1.5.2.orig/Makefile.in
+++ apr-1.5.2/Makefile.in
@@ -3,6 +3,7 @@ srcdir=@srcdir@
VPATH=@srcdir@
top_srcdir=@apr_srcdir@
@ -8,9 +10,11 @@
#
# APR (Apache Portable Runtime) library Makefile.
--- a/configure.in
+++ b/configure.in
@@ -246,9 +246,6 @@ case $host in
Index: apr-1.5.2/configure.in
===================================================================
--- apr-1.5.2.orig/configure.in
+++ apr-1.5.2/configure.in
@@ -245,9 +245,6 @@ case $host in
gcc $CFLAGS $CPPFLAGS -o $LIBTOOL.exe $LIBTOOL.c
;;
*)


+ 9
- 12
libs/apr/patches/201-upgrade-and-fix-1.5.1.patch View File

@ -15,10 +15,10 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Makefile.in | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
Index: apr-1.5.1/Makefile.in
Index: apr-1.5.2/Makefile.in
===================================================================
--- apr-1.5.1.orig/Makefile.in
+++ apr-1.5.1/Makefile.in
--- apr-1.5.2.orig/Makefile.in
+++ apr-1.5.2/Makefile.in
@@ -20,7 +20,7 @@ INCDIR=./include
OSDIR=$(top_srcdir)/include/arch/@OSDIR@
DEFOSDIR=$(INCDIR)/arch/@DEFAULT_OSDIR@
@ -36,19 +36,16 @@ Index: apr-1.5.1/Makefile.in
include/private/apr_escape_test_char.h
DISTCLEAN_TARGETS = config.cache config.log config.status \
include/apr.h include/arch/unix/apr_private.h \
@@ -130,13 +129,8 @@ check: $(TARGET_LIB)
etags:
etags `find . -name '*.[ch]'`
@@ -135,9 +134,9 @@ tools/gen_test_char.lo: tools/gen_test_c
$(APR_MKDIR) tools
$(LT_COMPILE)
-make_tools_dir:
- $(APR_MKDIR) tools
-
-OBJECTS_gen_test_char = tools/gen_test_char.lo $(LOCAL_LIBS)
-tools/gen_test_char.lo: make_tools_dir
-tools/gen_test_char@EXEEXT@: $(OBJECTS_gen_test_char)
- $(LINK_PROG) $(OBJECTS_gen_test_char) $(ALL_LIBS)
-
+tools/gen_test_char@EXEEXT@: tools/gen_test_char.c
+ $(BUILDCC) $(CFLAGS_FOR_BUILD) $< -o $@
+
include/private/apr_escape_test_char.h: tools/gen_test_char@EXEEXT@
$(APR_MKDIR) include/private
tools/gen_test_char@EXEEXT@ > $@

Loading…
Cancel
Save