summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/apt/files/db_linking_hack.patch
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-05-31 17:52:51 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-06-04 13:27:31 +0100
commitcae9a6c9c8cc1991b8e68b0816fc2db22e3ae129 (patch)
tree64e897bae1d8e17be8a8cbc9cd369e6e813245d3 /meta/recipes-devtools/apt/files/db_linking_hack.patch
parentfbb498abd98128a196d059175e3fec99eecee7dc (diff)
downloadpoky-cae9a6c9c8cc1991b8e68b0816fc2db22e3ae129.tar.gz
apt: update to 1.8.2.1
I took the opportunity to rewrite the recipe from scratch; there was just too much baggage in it. (From OE-Core rev: f058272de9cba188d96940c8c921cf31727fe4d1) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/apt/files/db_linking_hack.patch')
-rw-r--r--meta/recipes-devtools/apt/files/db_linking_hack.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/meta/recipes-devtools/apt/files/db_linking_hack.patch b/meta/recipes-devtools/apt/files/db_linking_hack.patch
deleted file mode 100644
index a61d4b07c2..0000000000
--- a/meta/recipes-devtools/apt/files/db_linking_hack.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1Upstream-Status: Backport
2
3Index: apt-0.7.3/configure.ac
4===================================================================
5--- apt-0.7.3.orig/configure.ac 2007-07-01 10:38:45.000000000 +0000
6+++ apt-0.7.3/configure.ac 2007-08-21 13:39:26.000000000 +0000
7@@ -67,8 +67,20 @@
8 [AC_DEFINE(HAVE_BDB)
9 BDBLIB="-ldb"
10 AC_MSG_RESULT(yes)],
11- [BDBLIB=""
12- AC_MSG_RESULT(no)]
13+
14+ LIBS="$LIBS -lpthread"
15+ [AC_MSG_CHECKING(if we can link against BerkeleyDB with pthread)
16+ AC_LINK_IFELSE(
17+ [AC_LANG_PROGRAM(
18+ [#include <db.h>],
19+ [int r, s, t; db_version(&r, &s, &t);]
20+ )],
21+ [AC_DEFINE(HAVE_BDB)
22+ BDBLIB="-ldb -lpthread"
23+ AC_MSG_RESULT(yes)],
24+ [BDBLIB=""
25+ AC_MSG_RESULT(no)]
26+ )]
27 )]
28 )
29