summaryrefslogtreecommitdiffstats
path: root/recipes-sota/ostree/files/0001-Allow-building-without-libsoup.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-sota/ostree/files/0001-Allow-building-without-libsoup.patch')
-rw-r--r--recipes-sota/ostree/files/0001-Allow-building-without-libsoup.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-sota/ostree/files/0001-Allow-building-without-libsoup.patch b/recipes-sota/ostree/files/0001-Allow-building-without-libsoup.patch
new file mode 100644
index 0000000..f45bae4
--- /dev/null
+++ b/recipes-sota/ostree/files/0001-Allow-building-without-libsoup.patch
@@ -0,0 +1,26 @@
1From 666e80acda17680e20d363ddc6fcf0a63f9c1dde Mon Sep 17 00:00:00 2001
2From: Anton Gerasimov <anton.gerasimov@openmailbox.org>
3Date: Thu, 21 Dec 2017 22:36:06 +0100
4Subject: [PATCH] Allow building without libsoup
5
6---
7 configure.ac | 3 ---
8 1 file changed, 3 deletions(-)
9
10diff --git a/configure.ac b/configure.ac
11index 92248af8..baf66e4f 100644
12--- a/configure.ac
13+++ b/configure.ac
14@@ -182,9 +182,6 @@ AM_COND_IF(BUILDOPT_TRIVIAL_HTTPD,
15 [AC_DEFINE([BUILDOPT_ENABLE_TRIVIAL_HTTPD_CMDLINE], 1, [Define if we are enabling ostree trivial-httpd entrypoint])]
16 )
17
18-AS_IF([test x$with_curl = xyes && test x$with_soup = xno], [
19- AC_MSG_ERROR([Curl enabled, but libsoup is not; libsoup is needed for tests])
20-])
21 AM_CONDITIONAL(USE_CURL_OR_SOUP, test x$with_curl != xno || test x$with_soup != xno)
22 AS_IF([test x$with_curl != xno || test x$with_soup != xno],
23 [AC_DEFINE([HAVE_LIBCURL_OR_LIBSOUP], 1, [Define if we have soup or curl])])
24--
252.15.0
26