diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-09-30 04:25:11 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-09-30 06:48:10 -0400 |
commit | 217142f087fe51b19bdb82b37e0ffbd64aac7cff (patch) | |
tree | 3aebdea92c456b09d0d64a8ec3a6c1cc9b08f9a4 /net-misc/vncrec | |
parent | net-misc/vncrec: force gcc -E for imake's generation (diff) | |
download | gentoo-217142f087fe51b19bdb82b37e0ffbd64aac7cff.tar.gz gentoo-217142f087fe51b19bdb82b37e0ffbd64aac7cff.tar.bz2 gentoo-217142f087fe51b19bdb82b37e0ffbd64aac7cff.zip |
net-misc/vncrec: fix build with clang
Closes: https://bugs.gentoo.org/740826
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'net-misc/vncrec')
-rw-r--r-- | net-misc/vncrec/files/vncrec-0.2-clang.patch | 8 | ||||
-rw-r--r-- | net-misc/vncrec/vncrec-0.2-r3.ebuild | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/net-misc/vncrec/files/vncrec-0.2-clang.patch b/net-misc/vncrec/files/vncrec-0.2-clang.patch new file mode 100644 index 000000000000..ce4936df5a11 --- /dev/null +++ b/net-misc/vncrec/files/vncrec-0.2-clang.patch @@ -0,0 +1,8 @@ +https://bugs.gentoo.org/740826 +--- a/vncpasswd/vncpasswd.c ++++ b/vncpasswd/vncpasswd.c +@@ -86,3 +86,3 @@ + passwd[i] = passwd1[i] = '\0'; +- return; ++ return 0; + } diff --git a/net-misc/vncrec/vncrec-0.2-r3.ebuild b/net-misc/vncrec/vncrec-0.2-r3.ebuild index 6a0309fe400b..e3295a4579be 100644 --- a/net-misc/vncrec/vncrec-0.2-r3.ebuild +++ b/net-misc/vncrec/vncrec-0.2-r3.ebuild @@ -31,6 +31,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${P}-includes.patch + "${FILESDIR}"/${P}-clang.patch ) src_prepare() { |