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

libpsl library #20

Open
walkero-gr opened this issue Jan 5, 2023 · 1 comment
Open

libpsl library #20

walkero-gr opened this issue Jan 5, 2023 · 1 comment
Assignees

Comments

@walkero-gr
Copy link
Collaborator

We need to port libpsl
https://github.com/rockdaboot/libpsl

@walkero-gr walkero-gr self-assigned this Jan 5, 2023
@walkero-gr walkero-gr converted this from a draft issue Jan 5, 2023
@walkero-gr
Copy link
Collaborator Author

walkero-gr commented Jan 11, 2023

Created a fast port at
https://git.walkero.gr/walkero/libpsl/releases/tag/v0.21.2r1

newlib version is not included since I get the following errors

psl.c: In function ‘isip’:
psl.c:1605:25: error: storage size of ‘addr6’ isn’t known
 1605 |         struct in6_addr addr6;
      |                         ^~~~~
psl.c:1607:65: error: ‘AF_INET6’ undeclared (first use in this function); did you mean ‘AF_INET’?
 1607 |         return inet_pton(AF_INET, hostname, &addr) || inet_pton(AF_INET6, hostname, &addr6);
      |                                                                 ^~~~~~~~
      |                                                                 AF_INET
psl.c:1607:65: note: each undeclared identifier is reported only once for each function it appears in

Also, I had to disable the runtime, which uses the libicu, because of errors that need to be investigated further.

@walkero-gr walkero-gr moved this from In Progress to QA Review in OS4WebKit port Jan 11, 2023
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

1 participant