diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/db/db_4.2.52.bb | 3 | ||||
-rw-r--r-- | meta/packages/db/files/configure_fixes.patch | 18 |
2 files changed, 20 insertions, 1 deletions
diff --git a/meta/packages/db/db_4.2.52.bb b/meta/packages/db/db_4.2.52.bb index f1ea534d5f..7229e91471 100644 --- a/meta/packages/db/db_4.2.52.bb +++ b/meta/packages/db/db_4.2.52.bb | |||
@@ -16,7 +16,8 @@ VIRTUAL_NAME ?= "virtual/db" | |||
16 | CONFLICTS = "db3" | 16 | CONFLICTS = "db3" |
17 | PR = "r7" | 17 | PR = "r7" |
18 | 18 | ||
19 | SRC_URI = "http://downloads.sleepycat.com/db-${PV}.tar.gz" | 19 | SRC_URI = "http://downloads.sleepycat.com/db-${PV}.tar.gz \ |
20 | file://configure_fixes.patch;patch=1 " | ||
20 | #SRC_URI_MD5 = "http://downloads.sleepycat.com/db-${PV}.tar.gz.md5" | 21 | #SRC_URI_MD5 = "http://downloads.sleepycat.com/db-${PV}.tar.gz.md5" |
21 | #TODO SRC_URI += "file://arm-thumb-mutex.patch;patch=1" | 22 | #TODO SRC_URI += "file://arm-thumb-mutex.patch;patch=1" |
22 | 23 | ||
diff --git a/meta/packages/db/files/configure_fixes.patch b/meta/packages/db/files/configure_fixes.patch new file mode 100644 index 0000000000..80aa0e7c1c --- /dev/null +++ b/meta/packages/db/files/configure_fixes.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | If LD is a binary name + parameters db will fail to work out its GNU ld | ||
2 | and disable shared libraries. We don't want this. | ||
3 | |||
4 | RP - 22/11/2007 | ||
5 | |||
6 | Index: dist/configure | ||
7 | =================================================================== | ||
8 | --- dist.orig/configure 2007-11-23 00:47:27.000000000 +0000 | ||
9 | +++ dist/configure 2007-11-23 00:53:22.000000000 +0000 | ||
10 | @@ -5658,7 +5661,7 @@ if test "${lt_cv_prog_gnu_ld+set}" = set | ||
11 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12 | else | ||
13 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. | ||
14 | -case `"$LD" -v 2>&1 </dev/null` in | ||
15 | +case `$LD -v 2>&1 </dev/null` in | ||
16 | *GNU* | *'with BFD'*) | ||
17 | lt_cv_prog_gnu_ld=yes | ||
18 | ;; | ||