Skip to content

Some fixes to compat code for legacy OS#144

Open
barracuda156 wants to merge 5 commits intoopeniked:masterfrom
barracuda156:compat
Open

Some fixes to compat code for legacy OS#144
barracuda156 wants to merge 5 commits intoopeniked:masterfrom
barracuda156:compat

Conversation

@barracuda156
Copy link
Contributor

This is not a complete solution yet. At the very minimum, we need open_memstream

/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_openiked/openiked/work/openiked-portable-7.4/iked/ikev2.c: In function 'ikev2_handle_delete':
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_openiked/openiked/work/openiked-portable-7.4/iked/ikev2.c:3099:21: error: implicit declaration of function 'open_memstream' [-Wimplicit-function-declaration]
 3099 |         if ((spif = open_memstream(&spibuf, &dummy)) == NULL) {
      |                     ^~~~~~~~~~~~~~

Fails at 91%, so possibly this is the last one.

@tobhe I do not know what to do with other systems. I am neither particularly motivated to deal them, nor can test anything. But maybe restore headers at least?

@tobhe
Copy link
Member

tobhe commented Apr 12, 2025

@tobhe I do not know what to do with other systems. I am neither particularly motivated to deal them, nor can test anything. But maybe restore headers at least?

I think it is fine to ignore them for now until someone cares enough to report an issue. Newer version of posix standardized arc4random and getentropy so only older releases should be affected anyway.

@barracuda156
Copy link
Contributor Author

@tobhe This builds for me without legacy-support now.

@tobhe tobhe marked this pull request as ready for review April 15, 2025 21:06
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

Successfully merging this pull request may close these issues.

2 participants