diff options
Diffstat (limited to 'app-admin/conky/files/conky-1.10.8-fpermissive.patch')
-rw-r--r-- | app-admin/conky/files/conky-1.10.8-fpermissive.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app-admin/conky/files/conky-1.10.8-fpermissive.patch b/app-admin/conky/files/conky-1.10.8-fpermissive.patch new file mode 100644 index 000000000000..42abeb831cd6 --- /dev/null +++ b/app-admin/conky/files/conky-1.10.8-fpermissive.patch @@ -0,0 +1,14 @@ +--- conky-1.10.8/src/conky.cc.orig 2020-08-28 13:17:22.330113596 -0400 ++++ conky-1.10.8/src/conky.cc 2020-08-28 13:19:48.564891015 -0400 +@@ -478,9 +478,9 @@ + 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_data(webpage.length(), (void*) webpage.c_str(), MHD_NO, MHD_NO); +- 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 + return ret; |