Skip to content

Commit

Permalink
misc/librepo: Attempt to fix compilation failure on 13.2 amd64 and i386:
Browse files Browse the repository at this point in the history
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
  • Loading branch information
yurivict committed Jan 12, 2024
1 parent f96aa1a commit b7dad6a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions 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

0 comments on commit b7dad6a

Please sign in to comment.