I don't have time to maintain
emulators/fs-uae
So it's time for me to release it to someone else or abandon it.
emulators/fs-uae
So it's time for me to release it to someone else or abandon it.
--- src/od-fs/bsdsocket_host.o ---
In file included from src/od-fs/bsdsocket_host.cpp:5:
./src/od-fs/bsdsocket_posix.cpp:1260:20: error: assigning to 'uae_u32' (aka 'unsigned int') from incompatible type '__bind<int &, sockaddr *, int &>'
if ((success = bind (s, (struct sockaddr *)&addr, len)) != 0) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
*** [src/od-fs/bsdsocket_host.o] Error code 1
Have a look at this thread: https://stackoverflow.com/questions...t-uses-socket-function-bind-with-libcxx-failsSo I tried again this weekend, keep running into the same problem. Both the current 2.8.4 version and the new 3.0.0 version croak on the same weird type casting.
Code:--- src/od-fs/bsdsocket_host.o --- In file included from src/od-fs/bsdsocket_host.cpp:5: ./src/od-fs/bsdsocket_posix.cpp:1260:20: error: assigning to 'uae_u32' (aka 'unsigned int') from incompatible type '__bind<int &, sockaddr *, int &>' if ((success = bind (s, (struct sockaddr *)&addr, len)) != 0) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. *** [src/od-fs/bsdsocket_host.o] Error code 1
It's part of the 'glue' that connects the bsdsocket.library on the Amiga side to the host's socket(2) libraries. The thing that's perplexing is that it's been defined as an unsigned integer. But bind(2) returns a signed integer (it can return -1 if there's an error).
Unfortunately, I can't seem to find a source repository (I suspect it's a private repository) so I can't look at the history. I might try to build 2.8.3 or an older version, if that works I can have a look at the code differences. I've also signed up on their forums, if I can find anything I'm going to ask for help there.
First rudimentary patch seems to work, this looks to be the problem. I'll finish this up later today and submit a PR for it.so replace bind with ::bind (in 2 files)
Can you file a pr in bugzilla? Change the maintainer address to ports@FreeBSD.orgThanks, but the purpose of this post is that I want to stop being a maintainer of the port, as I have no time nor any setup running to maintain it.
When I finish up I'll create a PR for it and set the maintainer to me. I'll be happy to take over.Thanks, but the purpose of this post is that I want to stop being a maintainer of the port, as I have no time nor any setup running to maintain it.
What PR number?just created a PR to change it to ports