Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jan 2024 02:33:41 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b7dad6afacd4 - main - misc/librepo: Attempt to fix compilation failure on 13.2 amd64 and i386:
Message-ID:  <202401120233.40C2Xf53040093@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b7dad6afacd4660808c90eb2d5b6a0309f047434

commit b7dad6afacd4660808c90eb2d5b6a0309f047434
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:31:08 +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
---
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401120233.40C2Xf53040093>