From da9ea89b034e040b12ce35e4b6e96500ae617793 Mon Sep 17 00:00:00 2001 From: Robert Clausecker Date: Wed, 5 Nov 2025 19:57:43 +0100 Subject: databases/proxysql: fix build on armv7 for real Seems like I forgot to check in the patch files last time. Write the patch files anew and add them to the tree. Fixes: 0586757c29f879c3375f7a782d1d4824851d360a Approved by: portmgr (build fix blanket) MFH: 2025Q4 --- databases/proxysql/files/patch-lib_ProxySQL__Admin.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 databases/proxysql/files/patch-lib_ProxySQL__Admin.cpp (limited to 'databases/proxysql/files/patch-lib_ProxySQL__Admin.cpp') diff --git a/databases/proxysql/files/patch-lib_ProxySQL__Admin.cpp b/databases/proxysql/files/patch-lib_ProxySQL__Admin.cpp new file mode 100644 index 000000000000..3d4ca9be6b03 --- /dev/null +++ b/databases/proxysql/files/patch-lib_ProxySQL__Admin.cpp @@ -0,0 +1,11 @@ +--- lib/ProxySQL_Admin.cpp.orig 2025-11-05 18:44:48 UTC ++++ lib/ProxySQL_Admin.cpp +@@ -332,7 +332,7 @@ char rand_del[6]; + char rand_del[6]; + + //static int http_handler(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 **ptr) { +-MHD_Result http_handler(void *cls, struct MHD_Connection *connection, const char *url, const char *method, const char *version, const char *upload_data, long unsigned int *upload_data_size, void **ptr) { ++MHD_Result http_handler(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 **ptr) { + return (MHD_Result) GloAdmin->AdminHTTPServer->handler(cls, connection, url, method, version, upload_data, upload_data_size, ptr); + } + -- cgit v1.2.3