Fixing build in x86_64.

I took a approach very aarch64 specific without knowing.
This commit is contained in:
sergiotarxz 2021-11-04 21:56:50 +01:00
parent af0aab72b8
commit aad920661e
Signed by untrusted user who does not match committer: sergiotarxz
GPG Key ID: E5903508B6510AC2
2 changed files with 5 additions and 1 deletions

View File

@ -8,6 +8,8 @@ command: openmg
finish-args: finish-args:
- "--share=ipc" - "--share=ipc"
- "--socket=x11" - "--socket=x11"
- "--socket=wayland"
- "--socket=session-bus"
- "--share=network" - "--share=network"
- "--device=dri" - "--device=dri"
modules: modules:

View File

@ -198,7 +198,9 @@ mg_backend_readmng_fetch_xml_details (MgBackendReadmng *self,
static xmlDocPtr static xmlDocPtr
mg_backend_readmng_fetch_xml_main_page (MgBackendReadmng *self) { mg_backend_readmng_fetch_xml_main_page (MgBackendReadmng *self) {
size_t size_response_text = 0; size_t size_response_text = 0;
return htmlReadMemory (mg_backend_readmng_get_main_page (self, &size_response_text), const char *html_response = mg_backend_readmng_get_main_page (self, &size_response_text);
return htmlReadMemory (html_response,
size_response_text, size_response_text,
NULL, NULL,
NULL, NULL,