From 9f6f3c1e42b0cb94d14098846359bade02a68e92 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Tue, 26 Jul 2022 08:14:32 +0200 Subject: xfce-extra/xfce4-wavelan-plugin: Remove old MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- xfce-extra/xfce4-wavelan-plugin/Manifest | 1 - ...ce4-wavelan-plugin-0.6.2-close-definition.patch | 55 ---------------------- .../xfce4-wavelan-plugin-0.6.2-r1.ebuild | 30 ------------ 3 files changed, 86 deletions(-) delete mode 100644 xfce-extra/xfce4-wavelan-plugin/files/xfce4-wavelan-plugin-0.6.2-close-definition.patch delete mode 100644 xfce-extra/xfce4-wavelan-plugin/xfce4-wavelan-plugin-0.6.2-r1.ebuild (limited to 'xfce-extra') diff --git a/xfce-extra/xfce4-wavelan-plugin/Manifest b/xfce-extra/xfce4-wavelan-plugin/Manifest index e90c1002d3d4..62f363b21448 100644 --- a/xfce-extra/xfce4-wavelan-plugin/Manifest +++ b/xfce-extra/xfce4-wavelan-plugin/Manifest @@ -1,2 +1 @@ -DIST xfce4-wavelan-plugin-0.6.2.tar.bz2 356954 BLAKE2B 982ffbc5f72d5771650b4e8d6c64f468bf927febca8c65d8a20258043e1c9433ee9c4631eb501e620f6a1037852494e3f66fe2700e08063ee770cedcad857475 SHA512 90e0d5f2e9add1f177f0f69e537ccdeeaf518a122feb776cb8bce139b9af6ea7d248e758ae381b69041bbdefe2d38f2162d08b25fd246d98c3a028d743892123 DIST xfce4-wavelan-plugin-0.6.3.tar.bz2 364789 BLAKE2B 3d39eb0716efaccd8effd6f6a89da9e0f749cbffdf2bdebeb021ebd8ed9c8f3f5eb728db8ebacf52cc977db827d9b0536c9c42a94caa40469172fce800fc71ef SHA512 a49af2c59f59890790081525a793638c673446b4a3f77584013cf87201fc0cf3218622834c32918daeb3fd2d87511db19512b903c60f8ccd58ae5c4f78507b7a diff --git a/xfce-extra/xfce4-wavelan-plugin/files/xfce4-wavelan-plugin-0.6.2-close-definition.patch b/xfce-extra/xfce4-wavelan-plugin/files/xfce4-wavelan-plugin-0.6.2-close-definition.patch deleted file mode 100644 index bc27e2c12afc..000000000000 --- a/xfce-extra/xfce4-wavelan-plugin/files/xfce4-wavelan-plugin-0.6.2-close-definition.patch +++ /dev/null @@ -1,55 +0,0 @@ -https://gitlab.xfce.org/panel-plugins/xfce4-wavelan-plugin/-/merge_requests/4 -https://bugs.gentoo.org/799827 - -From: Olaf Hering -Date: Fri, 25 Jun 2021 19:37:09 +0200 -Subject: [PATCH] remove bogus close function - -Just close the file descriptor, instead of doing shutdown. - -Not doing so was already wrong in 2006. - -wi_linux.c:83:1: error: conflicting types for 'close' - close(int fd) - ^~~~~ -In file included from /usr/include/glib-2.0/gio/gcredentials.h:32:0, - from /usr/include/glib-2.0/gio/gio.h:46, - from /usr/include/xfce4/libxfce4util/xfce-gio-extensions.h:28, - from /usr/include/xfce4/libxfce4util/libxfce4util.h:40, - from wi_linux.c:32: -/usr/include/unistd.h:353:12: note: previous declaration of 'close' was here - extern int close (int __fd); - ^~~~~ -make[2]: *** [Makefile:525: libwavelan_la-wi_linux.lo] Error 1 -make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/xfce4-wavelan-plugin-20210505T194034.7ba466b/panel-plugin' - -Signed-off-by: Olaf Hering ---- a/panel-plugin/wi_linux.c -+++ b/panel-plugin/wi_linux.c -@@ -31,6 +31,7 @@ - - #include - -+#include - #include - #include - #include -@@ -79,17 +80,9 @@ wi_open(const char *interface) - return(device); - } - --static void --close(int fd) --{ -- shutdown(fd, SHUT_RDWR); --} -- - void - wi_close(struct wi_device *device) - { -- g_return_if_fail(device != NULL); -- - close(device->socket); - g_free(device); - } -GitLab diff --git a/xfce-extra/xfce4-wavelan-plugin/xfce4-wavelan-plugin-0.6.2-r1.ebuild b/xfce-extra/xfce4-wavelan-plugin/xfce4-wavelan-plugin-0.6.2-r1.ebuild deleted file mode 100644 index 32d002845fc5..000000000000 --- a/xfce-extra/xfce4-wavelan-plugin/xfce4-wavelan-plugin-0.6.2-r1.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="A panel plug-in to display wireless interface statistics" -HOMEPAGE="https://goodies.xfce.org/projects/panel-plugins/xfce4-wavelan-plugin" -SRC_URI="https://archive.xfce.org/src/panel-plugins/${PN}/${PV%.*}/${P}.tar.bz2" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~riscv x86" - -DEPEND=">=xfce-base/libxfce4ui-4.12:=[gtk3(+)] - >=xfce-base/xfce4-panel-4.12:=" -RDEPEND="${DEPEND} - kernel_linux? ( sys-apps/net-tools )" -BDEPEND=" - dev-util/intltool - sys-devel/gettext - virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/${P}-close-definition.patch -) - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -} -- cgit v1.2.3-65-gdbad