Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mxml Update breaks current code #28

Closed
korbosoft opened this issue Jan 6, 2024 · 2 comments
Closed

mxml Update breaks current code #28

korbosoft opened this issue Jan 6, 2024 · 2 comments

Comments

@korbosoft
Copy link

source/xml.c: In function '_get_cdata':
source/xml.c:39:30: error: invalid use of incomplete typedef 'mxml_node_t' {aka 'struct _mxml_node_s'}
   39 |         mxml_node_t *n = node->child;
      |                              ^~
source/xml.c:42:22: error: invalid use of incomplete typedef 'mxml_node_t' {aka 'struct _mxml_node_s'}
   42 |                 if (n->type == MXML_OPAQUE)
      |                      ^~
source/xml.c:43:33: error: invalid use of incomplete typedef 'mxml_node_t' {aka 'struct _mxml_node_s'}
   43 |                         return n->value.opaque;
      |                                 ^~
make[3]: *** [Makefile:180: build/xml.o] Error 1
@carstene1ns
Copy link

The private api used here has been made private with version 3.0, the getter functions like mxmlGetFirstChild, mxmlGetElement and mxmlGetOpaque should be used. That being said, it should be an easy change, that is backward compatible.

@ItzSwirlz
Copy link

I've fixed it here in hbc-rebrewed: ItzSwirlz@b94ef47

Additionally, removing apps will appear to throw an error because it tries using unlink on the directory instead of rmdir: ItzSwirlz@3616373

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants