git: cb1c68d55322 - 2024Q1 - misc/librepo: Attempt to fix compilation failure on 13.2 amd64 and i386:
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 12 Jan 2024 02:34:48 UTC
The branch 2024Q1 has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=cb1c68d5532276e0c285a0e528a1ad523e43efba commit cb1c68d5532276e0c285a0e528a1ad523e43efba Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-01-12 02:31:08 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-01-12 02:34:42 +0000 misc/librepo: Attempt to fix compilation failure on 13.2 amd64 and i386: This error is due to the label at the very end of tghe function: /wrkdirs/usr/ports/misc/librepo/work/librepo-1.17.0/librepo/gpg_gpgme.c:147:1: error: expected statement } ^ 1 error generated. Reported by: fallout (cherry picked from commit b7dad6afacd4660808c90eb2d5b6a0309f047434) --- misc/librepo/files/patch-librepo_gpg__gpgme.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/misc/librepo/files/patch-librepo_gpg__gpgme.c b/misc/librepo/files/patch-librepo_gpg__gpgme.c new file mode 100644 index 000000000000..d6a1a7a99613 --- /dev/null +++ b/misc/librepo/files/patch-librepo_gpg__gpgme.c @@ -0,0 +1,10 @@ +--- librepo/gpg_gpgme.c.orig 2024-01-12 02:28:14 UTC ++++ librepo/gpg_gpgme.c +@@ -144,6 +144,7 @@ exit: + } + freecon(old_default_context); + #endif ++ return; // w/out this there's error only on i386: librepo/gpg_gpgme.c:147:1: error: expected statement + } + + static gpgme_ctx_t