public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: x11-misc/x2vnc/files/, x11-misc/x2vnc/
@ 2019-11-09 19:50 Michał Górny
  0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2019-11-09 19:50 UTC (permalink / raw
  To: gentoo-commits

commit:     dc5d0e9cc2224a38d29f6aade494ed9948155536
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov  9 19:42:58 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov  9 19:50:42 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc5d0e9c

x11-misc/x2vnc: Bump to EAPI 7

Closes: https://bugs.gentoo.org/697150
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 x11-misc/x2vnc/files/expectk.patch   |  4 ++--
 x11-misc/x2vnc/x2vnc-1.7.2-r1.ebuild | 18 +++++++-----------
 2 files changed, 9 insertions(+), 13 deletions(-)

diff --git a/x11-misc/x2vnc/files/expectk.patch b/x11-misc/x2vnc/files/expectk.patch
index 5c5ba6887cb..354dc4ffbe9 100644
--- a/x11-misc/x2vnc/files/expectk.patch
+++ b/x11-misc/x2vnc/files/expectk.patch
@@ -1,5 +1,5 @@
---- tkx2vnc	2010-03-14 21:31:49.000000000 +0100
-+++ tkx2vnc.new	2010-03-14 21:32:58.000000000 +0100
+--- a/contrib/tkx2vnc	2010-03-14 21:31:49.000000000 +0100
++++ b/contrib/tkx2vnc	2010-03-14 21:32:58.000000000 +0100
 @@ -1,10 +1,13 @@
 -#!/usr/bin/expectk -f
 +#!/usr/bin/wish

diff --git a/x11-misc/x2vnc/x2vnc-1.7.2-r1.ebuild b/x11-misc/x2vnc/x2vnc-1.7.2-r1.ebuild
index 7a41c7b368d..31f6fe487ba 100644
--- a/x11-misc/x2vnc/x2vnc-1.7.2-r1.ebuild
+++ b/x11-misc/x2vnc/x2vnc-1.7.2-r1.ebuild
@@ -1,15 +1,13 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=0
-
-inherit eutils
+EAPI=7
 
 DESCRIPTION="Control a remote computer running VNC from X"
 HOMEPAGE="http://fredrik.hubbe.net/x2vnc.html"
 SRC_URI="http://fredrik.hubbe.net/${PN}/${P}.tar.gz"
 
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="alpha amd64 ppc sparc x86"
 IUSE="tk"
@@ -22,15 +20,13 @@ DEPEND="${RDEPEND}
 	x11-base/xorg-proto
 	tk? ( dev-tcltk/expect )"
 
-src_unpack() {
-		unpack ${A}
-		cd "${S}/contrib"
-		epatch "${FILESDIR}/expectk.patch"
-}
+PATCHES=(
+	"${FILESDIR}/expectk.patch"
+)
 
 src_install() {
 	dodir /usr/share /usr/bin
-	make DESTDIR="${D}" install || die
+	emake DESTDIR="${D}" install
 	use tk && dobin contrib/tkx2vnc
 	dodoc ChangeLog README
 }


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: x11-misc/x2vnc/files/, x11-misc/x2vnc/
@ 2022-09-29  4:27 Ionen Wolkens
  0 siblings, 0 replies; 2+ messages in thread
From: Ionen Wolkens @ 2022-09-29  4:27 UTC (permalink / raw
  To: gentoo-commits

commit:     3e39e020cf77a03bf4672fc281dec55f1df53042
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 29 03:03:35 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Sep 29 04:17:54 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e39e020

x11-misc/x2vnc: fix build with clang16

Skipping revbump (for potential runtime fixes with other
compilers) given was done in previous commit.

Closes: https://bugs.gentoo.org/870652
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 x11-misc/x2vnc/files/x2vnc-1.7.2-clang16.patch | 33 ++++++++++++++++++++++++++
 x11-misc/x2vnc/x2vnc-1.7.2-r2.ebuild           |  1 +
 2 files changed, 34 insertions(+)

diff --git a/x11-misc/x2vnc/files/x2vnc-1.7.2-clang16.patch b/x11-misc/x2vnc/files/x2vnc-1.7.2-clang16.patch
new file mode 100644
index 000000000000..7b9cd1b50b69
--- /dev/null
+++ b/x11-misc/x2vnc/files/x2vnc-1.7.2-clang16.patch
@@ -0,0 +1,33 @@
+https://bugs.gentoo.org/870652
+--- a/rfbproto.c
++++ b/rfbproto.c
+@@ -25,2 +25,4 @@
+ 
++#include <ctype.h>
++#include <time.h>
+ #include <unistd.h>
+--- a/sockets.c
++++ b/sockets.c
+@@ -33,2 +33,3 @@
+ void PrintInHex(char *buf, int len);
++int tunnel(char *gatewayhost, char *remotehost, int remoteport);
+ 
+--- a/vncauth.c
++++ b/vncauth.c
+@@ -28,2 +28,4 @@
+ #include <sys/stat.h>
++#include <time.h>
++#include <unistd.h>
+ #include <vncauth.h>
+--- a/x.c
++++ b/x.c
+@@ -26,2 +26,3 @@
+ #include <sys/types.h>
++#include <time.h>
+ #include <unistd.h>
+--- a/x2vnc.c
++++ b/x2vnc.c
+@@ -25,2 +25,3 @@
+ 
++#include <time.h>
+ #include <unistd.h>

diff --git a/x11-misc/x2vnc/x2vnc-1.7.2-r2.ebuild b/x11-misc/x2vnc/x2vnc-1.7.2-r2.ebuild
index f148da4c7b74..03384930c47f 100644
--- a/x11-misc/x2vnc/x2vnc-1.7.2-r2.ebuild
+++ b/x11-misc/x2vnc/x2vnc-1.7.2-r2.ebuild
@@ -28,6 +28,7 @@ DEPEND="
 
 PATCHES=(
 	"${FILESDIR}"/expectk.patch
+	"${FILESDIR}"/${P}-clang16.patch
 )
 
 src_install() {


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-29  4:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-09 19:50 [gentoo-commits] repo/gentoo:master commit in: x11-misc/x2vnc/files/, x11-misc/x2vnc/ Michał Górny
  -- strict thread matches above, loose matches on Subject: below --
2022-09-29  4:27 Ionen Wolkens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox