summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/apr/apr/cleanup.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/apr/apr/cleanup.patch')
-rw-r--r--meta/recipes-support/apr/apr/cleanup.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/meta/recipes-support/apr/apr/cleanup.patch b/meta/recipes-support/apr/apr/cleanup.patch
new file mode 100644
index 0000000000..b6784e015d
--- /dev/null
+++ b/meta/recipes-support/apr/apr/cleanup.patch
@@ -0,0 +1,43 @@
1Upstream-Status: Inappropriate [configuration]
2
3Index: apr-1.4.2/build/buildcheck.sh
4===================================================================
5--- apr-1.4.2.orig/build/buildcheck.sh 2009-11-13 08:27:16.000000000 +0800
6+++ apr-1.4.2/build/buildcheck.sh 2010-11-26 15:44:00.000000000 +0800
7@@ -32,35 +32,4 @@
8 echo "buildconf: autoconf version $ac_version (ok)"
9 fi
10
11-# Sample libtool --version outputs:
12-# ltmain.sh (GNU libtool) 1.3.3 (1.385.2.181 1999/07/02 15:49:11)
13-# ltmain.sh (GNU libtool 1.1361 2004/01/02 23:10:52) 1.5a
14-# output is multiline from 1.5 onwards
15-
16-# Require libtool 1.4 or newer
17-libtool=`build/PrintPath glibtool1 glibtool libtool libtool15 libtool14`
18-lt_pversion=`$libtool --version 2>/dev/null|sed -e 's/([^)]*)//g;s/^[^0-9]*//;s/[- ].*//g;q'`
19-if test -z "$lt_pversion"; then
20-echo "buildconf: libtool not found."
21-echo " You need libtool version 1.4 or newer installed"
22-echo " to build APR from SVN."
23-exit 1
24-fi
25-lt_version=`echo $lt_pversion|sed -e 's/\([a-z]*\)$/.\1/'`
26-IFS=.; set $lt_version; IFS=' '
27-lt_status="good"
28-if test "$1" = "1"; then
29- if test "$2" -lt "4"; then
30- lt_status="bad"
31- fi
32-fi
33-if test $lt_status = "good"; then
34- echo "buildconf: libtool version $lt_pversion (ok)"
35- exit 0
36-fi
37-
38-echo "buildconf: libtool version $lt_pversion found."
39-echo " You need libtool version 1.4 or newer installed"
40-echo " to build APR from SVN."
41-
42-exit 1
43+exit 0