git: 07e4c1f12cd0 - main - japanese/ruby-uconv: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 19 Jul 2023 19:27:29 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=07e4c1f12cd01d35a8a9e563ff6fbb15d9487449 commit 07e4c1f12cd01d35a8a9e563ff6fbb15d9487449 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-07-19 19:01:44 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-07-19 19:27:16 +0000 japanese/ruby-uconv: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- japanese/ruby-uconv/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/japanese/ruby-uconv/Makefile b/japanese/ruby-uconv/Makefile index f19116e3900a..d41ed161e394 100644 --- a/japanese/ruby-uconv/Makefile +++ b/japanese/ruby-uconv/Makefile @@ -25,6 +25,12 @@ OPTIONS_DEFINE= DOCS PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX} +post-patch: +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 + @${REINPLACE_CMD} -e 's|fdeclspec|fdeclspec -Wno-error=incompatible-function-pointer-types|g' \ + ${WRKSRC}/extconf.rb +.endif + post-install: ${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${RUBY_MODDOCDIR}/