summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/apt/files/no-curl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/apt/files/no-curl.patch')
-rw-r--r--meta/recipes-devtools/apt/files/no-curl.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-devtools/apt/files/no-curl.patch b/meta/recipes-devtools/apt/files/no-curl.patch
new file mode 100644
index 0000000000..9fd3b3ab79
--- /dev/null
+++ b/meta/recipes-devtools/apt/files/no-curl.patch
@@ -0,0 +1,38 @@
1Upstream-Status: Inappropriate [configuration]
2
3---
4 configure.in | 6 ------
5 methods/makefile | 7 -------
6 2 files changed, 13 deletions(-)
7
8--- a/configure.in
9+++ b/configure.in
10@@ -86,12 +86,6 @@ AC_CHECK_HEADER(db.h,
11
12 LIBS="$saveLIBS"
13
14-AC_CHECK_LIB(curl, curl_easy_init,
15- [AC_CHECK_HEADER(curl/curl.h,
16- curl_ok=yes,
17- curl_ok=no)],
18- AC_MSG_ERROR([failed: I need CURL due https support]),
19-)
20
21 AC_SUBST(BDBLIB)
22
23--- a/methods/makefile
24+++ b/methods/makefile
25@@ -51,13 +51,6 @@ LIB_MAKES = apt-pkg/makefile
26 SOURCE = http.cc http_main.cc rfc2553emu.cc connect.cc
27 include $(PROGRAM_H)
28
29-# The https method
30-PROGRAM=https
31-SLIBS = -lapt-pkg -lcurl $(INTLLIBS)
32-LIB_MAKES = apt-pkg/makefile
33-SOURCE = https.cc
34-include $(PROGRAM_H)
35-
36 # The ftp method
37 PROGRAM=ftp
38 SLIBS = -lapt-pkg $(SOCKETLIBS) $(INTLLIBS)