summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Pielmeier <billie@gentoo.org>2021-08-19 20:29:46 +0200
committerDaniel Pielmeier <billie@gentoo.org>2021-08-19 20:29:46 +0200
commite5e82df6de628f9453d24d487ac5b6b944046bb7 (patch)
tree8e0741e107fd0aaf284e315a958fd3a4169ad339 /app-admin
parentapp-admin/conky: Remove old. (diff)
downloadgentoo-e5e82df6de628f9453d24d487ac5b6b944046bb7.tar.gz
gentoo-e5e82df6de628f9453d24d487ac5b6b944046bb7.tar.bz2
gentoo-e5e82df6de628f9453d24d487ac5b6b944046bb7.zip
app-admin/conky: Remove unused patch.
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Daniel Pielmeier <billie@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/conky/files/conky-1.11.6-fpermissive.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/app-admin/conky/files/conky-1.11.6-fpermissive.patch b/app-admin/conky/files/conky-1.11.6-fpermissive.patch
deleted file mode 100644
index f608769b6433..000000000000
--- a/app-admin/conky/files/conky-1.11.6-fpermissive.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- old/src/conky.cc 2021-01-24 17:05:43.361378726 +0100
-+++ new/src/conky.cc 2021-01-24 17:05:49.055378611 +0100
-@@ -317,17 +321,22 @@
- static FILE *append_fpointer = nullptr;
-
- #ifdef BUILD_HTTP
-+#ifdef MHD_YES
-+/* older API */
-+#define MHD_Result int
-+#endif /* MHD_YES */
- std::string webpage;
- struct MHD_Daemon *httpd;
- static conky::simple_config_setting<bool> http_refresh("http_refresh", false,
- true);
-
--int sendanswer(void *cls, struct MHD_Connection *connection, const char *url,
-- const char *method, const char *version, const char *upload_data,
-- size_t *upload_data_size, void **con_cls) {
-+MHD_Result sendanswer(void *cls, struct MHD_Connection *connection,
-+ const char *url, const char *method, const char *version,
-+ const char *upload_data, size_t *upload_data_size,
-+ void **con_cls) {
- struct MHD_Response *response = MHD_create_response_from_buffer(
- webpage.length(), (void *)webpage.c_str(), MHD_RESPMEM_PERSISTENT);
-- int ret = MHD_queue_response(connection, MHD_HTTP_OK, response);
-+ MHD_Result ret = MHD_queue_response(connection, MHD_HTTP_OK, response);
- MHD_destroy_response(response);
- if (cls || url || method || version || upload_data || upload_data_size ||
- con_cls) {} // make compiler happy