1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

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
This commit is contained in:
Yuri Victorovich 2024-01-11 18:31:08 -08:00
parent f96aa1ad3a
commit b7dad6afac

View File

@ -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