Date: Tue, 2 May 2023 16:27:25 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: dd6d333a6fa0 - main - devel/libinjection: Fix build on 14-CURRENT Message-ID: <202305021627.342GRPGV073750@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=dd6d333a6fa0e3d7604cf3e4d3e57dedff7f2986 commit dd6d333a6fa0e3d7604cf3e4d3e57dedff7f2986 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-05-02 16:17:40 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-05-02 16:17:40 +0000 devel/libinjection: Fix build on 14-CURRENT libinjection_sqli.c:1200:33: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] const char* libinjection_version() ^ void 1 error generated. Reference: https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/pdf5b273c8e36_s83d5725005/logs/libinjection-3.10.0_1.log --- devel/libinjection/files/patch-libinjection_sqli.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/devel/libinjection/files/patch-libinjection_sqli.c b/devel/libinjection/files/patch-libinjection_sqli.c new file mode 100644 index 000000000000..a3fde4725949 --- /dev/null +++ b/devel/libinjection/files/patch-libinjection_sqli.c @@ -0,0 +1,11 @@ +--- libinjection_sqli.c.orig 2017-05-21 20:44:26 UTC ++++ libinjection_sqli.c +@@ -1197,7 +1197,7 @@ static size_t parse_number(struct libinjection_sqli_st + * without having to regenerated the SWIG (or other binding) in minor + * releases. + */ +-const char* libinjection_version() ++const char* libinjection_version(void) + { + return LIBINJECTION_VERSION; + }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202305021627.342GRPGV073750>