Created attachment 235365 [details] devel/ctypes.sh: fix build on FreeBSD 13 FreeBSD 13 has the mempcpy function which was absent before. Patch the port to add a configure test for this function. Work around the port shipping an extra file named config. While we are at it, also fix wrong getopt usage for platforms where char is an unsigned type. Tested with Poudriere on armv7 arm64 FreeBSD 13, arm64 FreeBSD 12.
Upstream issue opened: https://github.com/taviso/ctypes.sh/issues/57
Comment on attachment 235365 [details] devel/ctypes.sh: fix build on FreeBSD 13 maintainer timeout
maintainer timeout
^Triage: Reset Assignee, open to resolve Approved by: portmgr (maintainer timeout, ~1 month)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=2e73c354895691d93cee78b2efe81e5b260f637e commit 2e73c354895691d93cee78b2efe81e5b260f637e Author: Robert Clausecker <fuz@fuz.su> AuthorDate: 2022-08-17 05:59:40 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2022-08-17 16:16:10 +0000 devel/ctypes.sh: Fix build on FreeBSD 13 ChangeLog: https://github.com/taviso/ctypes.sh/issues/57 While here change old WWW (not working) PR: 265318 Reported by: fuz@fuz.su (maintainer) Approved by: portmgr (maintainer timeout, ~1 month) MFH: 2022Q3 devel/ctypes.sh/Makefile | 9 ++++++--- devel/ctypes.sh/pkg-descr | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-)
Committed and merged to 2022Q3. Thanks!
A commit in branch 2022Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=1a028d3fb4a778d1762010eaa4075e6a8b08f8e9 commit 1a028d3fb4a778d1762010eaa4075e6a8b08f8e9 Author: Robert Clausecker <fuz@fuz.su> AuthorDate: 2022-08-17 05:59:40 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2022-08-17 16:18:47 +0000 devel/ctypes.sh: Fix build on FreeBSD 13 ChangeLog: https://github.com/taviso/ctypes.sh/issues/57 While here change old WWW (not working) PR: 265318 Reported by: fuz@fuz.su (maintainer) Approved by: portmgr (maintainer timeout, ~1 month) MFH: 2022Q3 (cherry picked from commit 2e73c354895691d93cee78b2efe81e5b260f637e) devel/ctypes.sh/Makefile | 9 ++++++--- devel/ctypes.sh/pkg-descr | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=505d19cfeea99671eecfa7a151e2665eece96a5f commit 505d19cfeea99671eecfa7a151e2665eece96a5f Author: Fernando Apesteguía <fernape@FreeBSD.org> AuthorDate: 2022-08-17 16:40:36 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2022-08-17 16:40:36 +0000 devel/ctypes.sh: Add missing patches Add patches missing from last update. PR: 265318 Fixes: 79f9679c7e795de9a15451910526cea3ea50c21f devel/ctypes.sh/files/patch-configure.ac (new) | 20 ++++++++++++++++++++ devel/ctypes.sh/files/patch-include_builtins.h (new) | 13 +++++++++++++ devel/ctypes.sh/files/patch-src_callback.c (new) | 11 +++++++++++ devel/ctypes.sh/files/patch-src_unpack.c (new) | 11 +++++++++++ 4 files changed, 55 insertions(+)
A commit in branch 2022Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=f8275f75cd903e78a3110e61f6b20edc64f38231 commit f8275f75cd903e78a3110e61f6b20edc64f38231 Author: Fernando Apesteguía <fernape@FreeBSD.org> AuthorDate: 2022-08-17 16:40:36 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2022-08-17 16:43:30 +0000 devel/ctypes.sh: Add missing patches Add patches missing from last update. PR: 265318 Fixes: 79f9679c7e795de9a15451910526cea3ea50c21f (cherry picked from commit 505d19cfeea99671eecfa7a151e2665eece96a5f) devel/ctypes.sh/files/patch-configure.ac (new) | 20 ++++++++++++++++++++ devel/ctypes.sh/files/patch-include_builtins.h (new) | 13 +++++++++++++ devel/ctypes.sh/files/patch-src_callback.c (new) | 11 +++++++++++ devel/ctypes.sh/files/patch-src_unpack.c (new) | 11 +++++++++++ 4 files changed, 55 insertions(+)