Apply patch: ncpfs-2.2.6-fix-build-with-gcc14.patch

This commit is contained in:
Mario Fetka
2026-04-28 21:12:45 +02:00
parent a92164d627
commit 470ed23b98
2 changed files with 4 additions and 1 deletions

View File

@@ -1215,7 +1215,7 @@ NWDSCCODE NWDSCreateContextHandle(NWDSContextHandle *ctx) {
#endif
};
err = NWDSSetTransport(tmp, sizeof(t)/sizeof(t[0]), t);
err = NWDSSetTransport(tmp, sizeof(t)/sizeof(t[0]), (const NET_ADDRESS_TYPE *) t);
}
if (err) {
NWDSFreeContext(tmp);

View File

@@ -64,6 +64,9 @@
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/errno.h>
#include <ncp/nwcalls.h>
#include <ncp/nwnet.h>