Created attachment 252738 [details] patch to lib/socket.c (replaces the existing file) Please place the attached two patches into net/libiscsi/files to fix the port on i386. Looking at the code, which does not seem to be very type-clean, it might be better to just use ONLY_FOR_ARCHS=amd64 instead. -- Martin
Created attachment 252739 [details] patch to utils/discard.c
After you create patches and copied to net/libiscsi/files/ do steps: 1. cd /usr/ports/net/libiscsi && make patch 2. make makepatch 3. check patches in net/libiscsi/files/ I refresh patches.
Also post patches to upstream please.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=2056579a4bfc05bf601d9d943a025da8fbb2552e commit 2056579a4bfc05bf601d9d943a025da8fbb2552e Author: Martin Birgmeier <d8zNeCFG@aon.at> AuthorDate: 2024-08-13 18:31:59 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2024-08-13 18:31:59 +0000 net/libiscsi: fix build on i386 While here refresh patches with "make makepatch". PR: 280800 MFH: 2024Q3 net/libiscsi/files/patch-configure.ac | 6 +++--- net/libiscsi/files/patch-lib_socket.c | 15 ++++++++++++--- net/libiscsi/files/patch-utils_iscsi-discard.c (new) | 14 ++++++++++++++ 3 files changed, 29 insertions(+), 6 deletions(-)
A commit in branch 2024Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=372f92b8f59ee61d1f9b1bf0d1801b5b6d6fd276 commit 372f92b8f59ee61d1f9b1bf0d1801b5b6d6fd276 Author: Martin Birgmeier <d8zNeCFG@aon.at> AuthorDate: 2024-08-13 18:31:59 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2024-08-13 18:42:18 +0000 net/libiscsi: fix build on i386 While here refresh patches with "make makepatch". PR: 280800 MFH: 2024Q3 (cherry picked from commit 2056579a4bfc05bf601d9d943a025da8fbb2552e) net/libiscsi/files/patch-configure.ac | 6 +++--- net/libiscsi/files/patch-lib_socket.c | 15 ++++++++++++--- net/libiscsi/files/patch-utils_iscsi-discard.c (new) | 14 ++++++++++++++ 3 files changed, 29 insertions(+), 6 deletions(-)
Thanks.