From 3059f20995d5ac642b7b4a38d538fdf1cc45d90d Mon Sep 17 00:00:00 2001
From: V3n3RiX <venerix@koprulu.sector>
Date: Wed, 30 Nov 2022 07:22:57 +0000
Subject: gentoo auto-resync : 30:11:2022 - 07:22:56

---
 app-admin/Manifest.gz                              | Bin 32545 -> 32544 bytes
 app-admin/whowatch/Manifest                        |   5 +--
 .../files/whowatch-1.8.4-configure-clang16.patch   |  24 ++++++++++++++
 app-admin/whowatch/metadata.xml                    |   3 ++
 app-admin/whowatch/whowatch-1.8.6-r1.ebuild        |  34 --------------------
 app-admin/whowatch/whowatch-1.8.6-r2.ebuild        |  35 +++++++++++++++++++++
 6 files changed, 65 insertions(+), 36 deletions(-)
 create mode 100644 app-admin/whowatch/files/whowatch-1.8.4-configure-clang16.patch
 delete mode 100644 app-admin/whowatch/whowatch-1.8.6-r1.ebuild
 create mode 100644 app-admin/whowatch/whowatch-1.8.6-r2.ebuild

(limited to 'app-admin')

diff --git a/app-admin/Manifest.gz b/app-admin/Manifest.gz
index 629e16bafcad..9a74151c4dc0 100644
Binary files a/app-admin/Manifest.gz and b/app-admin/Manifest.gz differ
diff --git a/app-admin/whowatch/Manifest b/app-admin/whowatch/Manifest
index d0a4983dfcd5..2c88c63733d9 100644
--- a/app-admin/whowatch/Manifest
+++ b/app-admin/whowatch/Manifest
@@ -1,4 +1,5 @@
+AUX whowatch-1.8.4-configure-clang16.patch 816 BLAKE2B 0cf94974e391d70c733612058a1ce66ad39191a5fbe3c0d9c38c8fa6f6b1b8211a80ed6188a5a4c2b618cc6a06ff6760c04caadf143adf257af920965fa4e1a1 SHA512 73ab95654f0f94c78aeea3f8a4584420321421fa69ef35b370f9e0f8a332aa08f04bb2878822e30054ca8feca0842806fceebc2d4175b6a4b2e1eebcd6683666
 AUX whowatch-1.8.4-tinfo.patch 627 BLAKE2B 2b7a5623188bda62a038a07ad6796e66821f8e34d53d82605f0ea462171a2145578dc97fa2b374933fac0d710f68c69f90efab52a341510b0e461b67e53e21aa SHA512 7d256fc59184839a1ce6168689763c0b2a1e32c841438979c00ab8c2c2fc0e87e5e8f6002e1433326b94ebf9b917348b2f19b126562e01ab387bfbed79184c7a
 DIST whowatch-1.8.6.tar.gz 141801 BLAKE2B d52ae8304d25c570873c65cc3b91d8fe227bf71f1802cc8055332f4614b9ca9f6c17dea10b07bbd20f834623f9e10456b19c6393996f6c66819e7e921ffb6240 SHA512 49aa45b0a88a41c98fb7b548f0f098004c8bcca9ec078e977fcec8bc109c9beab25989003bfff4b3dc38a9d62d69378f64441753a1cca62729d2013d2ed73cb0
-EBUILD whowatch-1.8.6-r1.ebuild 706 BLAKE2B bb21a02393fa4ceb3948cd933e41f5d8452f1ac00f81b1df9f35743e8036b97fe86504c13fd14091f432c33580fd01216f485b25ea6b9c96a5f3b9e578228971 SHA512 049dee6fc4c34493dcd872603c65bacf18da65aff19821aa8edc59b812b195e3e21d9c670a1be99a7a9c4e5d56ccff5b48d674aa6fcbe02b967c59078deb09dd
-MISC metadata.xml 312 BLAKE2B 9b4eae6b1b7ed9168425f0f1a7b556658a2ad76209736a24937bdf1428a4e6383ede4efd65b44aaf501581fa353ba89707dd2ec2c2a97e384e36ed59973f24d2 SHA512 6f821797941b94408e5b3b6358791bd68b67cbf8553a7eef77934167e08b5a293144e147a1cdbae0d32cb0458cd611a6c411e391f41fc97b7d73c4f99d0f024f
+EBUILD whowatch-1.8.6-r2.ebuild 757 BLAKE2B 9a70ec201ab62df5979225a9951b6ccd93ea28126eccc3b6bd29a8bb0075d5ce299681eec299b1f53ec9e95b8a3fa41bfeee67aca0b7e121d7bcc73ebf2f5b5c SHA512 4de0613c3b79e3c15cbbfe104ab6b8fad2c2bb44fb1729d52d2cad9bf560b6cb89df0e223b2f43dae7706c1be67e87751086d46b65b78dbece58ae56ff27b312
+MISC metadata.xml 396 BLAKE2B d2c6f1a79b556093c9f91b822b5f242b1c173851b3f979673b4ce927425566061406556b9a0245feac4f48065b34b56b255571e18fbe4e337aa8f485e306391d SHA512 21888c13e5a6bc3810f40f2cb2df00513d56f310de995468535e3b07ebadd1c8846a2b61c2aac3dd460d1fde8f3115c72b5152fa5924e8dd51f18ee895421a74
diff --git a/app-admin/whowatch/files/whowatch-1.8.4-configure-clang16.patch b/app-admin/whowatch/files/whowatch-1.8.4-configure-clang16.patch
new file mode 100644
index 000000000000..243a1e543a0c
--- /dev/null
+++ b/app-admin/whowatch/files/whowatch-1.8.4-configure-clang16.patch
@@ -0,0 +1,24 @@
+https://github.com/mtsuszycki/whowatch/pull/12
+
+From 62688e7316de7d4c80591f83afc97d55d73ad272 Mon Sep 17 00:00:00 2001
+From: Florian Weimer <fweimer@redhat.com>
+Date: Sat, 26 Nov 2022 17:45:23 +0100
+Subject: [PATCH] configure.ac: Do not call undeclared exit function
+
+Implicit function declarations were removed from the C language in
+1999, and future compilers are likely to treat them as errors by
+default.
+--- a/configure.ac
++++ b/configure.ac
+@@ -120,8 +120,8 @@ fd_set rfds;
+ struct timeval tv = {1, 0};
+ FD_ZERO(&rfds); FD_SET(0,&rfds);
+ select(1,&rfds,0,0,&tv);
+-if(tv.tv_sec == 0) exit(0);
+-else exit(1);
++if(tv.tv_sec == 0) return 0;
++else return 1;
+ }
+ ]])],[AC_MSG_RESULT(yes); AC_DEFINE([RETURN_TV_IN_SELECT],[1],[define if select() modifies the time value])],[AC_MSG_RESULT(no)],[AC_MSG_RESULT(no)])
+ 
+
diff --git a/app-admin/whowatch/metadata.xml b/app-admin/whowatch/metadata.xml
index a1b469c0cd79..fab25be381f0 100644
--- a/app-admin/whowatch/metadata.xml
+++ b/app-admin/whowatch/metadata.xml
@@ -5,4 +5,7 @@
 	<longdescription>
 		A interactive who program that displays information about the users currently logged into the machine.
 	</longdescription>
+	<upstream>
+		<remote-id type="github">mtsuszycki/whowatch</remote-id>
+	</upstream>
 </pkgmetadata>
diff --git a/app-admin/whowatch/whowatch-1.8.6-r1.ebuild b/app-admin/whowatch/whowatch-1.8.6-r1.ebuild
deleted file mode 100644
index 75f41120c58b..000000000000
--- a/app-admin/whowatch/whowatch-1.8.6-r1.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-DESCRIPTION="Displays information about users currently logged on in real time"
-HOMEPAGE="http://wizard.ae.krakow.pl/~mike/ https://github.com/mtsuszycki/whowatch/"
-SRC_URI="https://github.com/mtsuszycki/${PN}/releases/download/${P}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~hppa ~mips ppc x86"
-
-RDEPEND="sys-libs/ncurses:="
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-1.8.4-tinfo.patch
-)
-
-src_prepare() {
-	default
-
-	eautoreconf
-}
-
-src_install() {
-	dobin src/${PN}
-	doman ${PN}.1
-	dodoc AUTHORS ChangeLog README TODO
-}
diff --git a/app-admin/whowatch/whowatch-1.8.6-r2.ebuild b/app-admin/whowatch/whowatch-1.8.6-r2.ebuild
new file mode 100644
index 000000000000..bc6d1d06f686
--- /dev/null
+++ b/app-admin/whowatch/whowatch-1.8.6-r2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Displays information about users currently logged on in real time"
+HOMEPAGE="http://wizard.ae.krakow.pl/~mike/ https://github.com/mtsuszycki/whowatch/"
+SRC_URI="https://github.com/mtsuszycki/${PN}/releases/download/${P}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~hppa ~mips ppc x86"
+
+RDEPEND="sys-libs/ncurses:="
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.8.4-tinfo.patch
+	"${FILESDIR}"/${PN}-1.8.4-configure-clang16.patch
+)
+
+src_prepare() {
+	default
+
+	eautoreconf
+}
+
+src_install() {
+	dobin src/${PN}
+	doman ${PN}.1
+	dodoc AUTHORS ChangeLog README TODO
+}
-- 
cgit v1.2.3