summaryrefslogtreecommitdiff
path: root/x11-misc/viewglob
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-02-11 00:12:38 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-02-11 00:12:38 +0000
commit0ec1e1dd7867c3dedcbea76c9b6e847d6b388c03 (patch)
tree65f42b72245de9fb9fa9ea30e6221dfff7dda7c5 /x11-misc/viewglob
parent3a81cede4783e464b7485722b2eaac0280dbc570 (diff)
gentoo auto-resync : 11:02:2025 - 00:12:37
Diffstat (limited to 'x11-misc/viewglob')
-rw-r--r--x11-misc/viewglob/Manifest3
-rw-r--r--x11-misc/viewglob/files/viewglob-2.0.4-C23.patch56
-rw-r--r--x11-misc/viewglob/viewglob-2.0.4-r1.ebuild7
3 files changed, 62 insertions, 4 deletions
diff --git a/x11-misc/viewglob/Manifest b/x11-misc/viewglob/Manifest
index cbfdbd7e9d4a..e0b9e82ea16e 100644
--- a/x11-misc/viewglob/Manifest
+++ b/x11-misc/viewglob/Manifest
@@ -1,6 +1,7 @@
AUX README.gentoo 550 BLAKE2B bcb14571e6403904ea35a0e8acf030986a7509a951921cb353db9e89bd3786b55c48949449026b0eee5900afe3f964d1a60256449d7508ec84178b4208d1d7cc SHA512 93a0a08cc7e3c612c78aeed2794ec66141aebe3be974605282e52d3adea48c79fae0a16bc427b2e80a83dc5914f009bb9aa7a241142d4976085c56768332fd0c
+AUX viewglob-2.0.4-C23.patch 1303 BLAKE2B 5a63a6fb5f1782277505ac7496173816346a32dd21ba39d108cc9c02a34e07389897f58b03e1f83aff9a82bba568506ae2fe71d6797101f7d52f30d30b745bfb SHA512 72080254be469023b67c0ff3b59049670c83370aa9da3a0784fd48fd97d2791caf4fb558c7985c003295a23509a018811e06471cf045ed8a2d606ff169d8198d
AUX viewglob-2.0.4-format-security.patch 1112 BLAKE2B 6fd80a43df9a2dda0e45fc993c27e70a0edd46fd02e189a01f0ff4625edb8033c57a72a0a368219f9c18271ef571b6f1a44bc4932921e439bb0a1259ac635d34 SHA512 1273b51c4a4bf67c53630965d641a95d30916026e8307878335bac95cb1982c3d3705954a3caa600eef27b41c8319131fd00ac8fae5fc85707be90409e064945
AUX viewglob-2.0.4-underlinking.patch 5015 BLAKE2B 721edfc97a630d303d56ec8df26c7a8ae153e01cb35f3815b9bc2479472e24d12afe225b8f28385b6055e7a2b2dab84734d27825afd0bbbfa995e404d65e527f SHA512 3dacc19e362bf5e69348eff097daf55c25bc4b9d3afe589ad49f28f01394da29f365708a15ce4c662918daefed95cb059b9d45d44b8269118812d5945a2997ee
DIST viewglob-2.0.4.tar.gz 324752 BLAKE2B 149b6e6f6e6cc825407724c227295ad744b5e5329ff0a30d3d2b069920be06d80de8898bf56a47f9cc6fad4f9ef650469789e4228f18ba7eb287863bad21ef7d SHA512 95fb5ef6dc412804cbff6a961ec08bf8e114eefb9ea5430aa1be2f8b2bcbb7e76ab8392e31148d4275debd6f4cada81d1ebfb08a741b8a579f749efdb8f7adb4
-EBUILD viewglob-2.0.4-r1.ebuild 776 BLAKE2B 17fdf913b6fa07fc18d10572bc5d518d8cda270972677743a37bf834d91b2889aef68542d10ab386a1e7f1e66135ed4eaa007b8d51208faf2f79347741d6eee1 SHA512 3bf8ae1aee606b3774cf0723475dbb62f9c35362a3874e41cdc49ced886a87586be5e02177f142b57498255efa35f9a49443ba372ac6b85dd4876d786fec2e9f
+EBUILD viewglob-2.0.4-r1.ebuild 807 BLAKE2B 057dd02311e0fd69bff8821e15525686b4ea7fb818914f0e44a51569089b9b96e8d282195ce20da3c3802d4799346d776ba9280e8d5c497f5e1f399c49a2f3fc SHA512 c2ff2db4bc9a61e55bdea0494eca0921c352d0d6b1cd7626c019124bb0c9aa8922d07f33a02d90ab1e5dcc819b72b304caee2ed32390d108a7c2d58afeb91a0d
MISC metadata.xml 731 BLAKE2B 9137dc4946306005f0598974b01523eb32e81b203447e32822049719bbdc9df9f474ce590c21fad0cbea6ec8fb9604bc38f38347b4c5a3a2103da9d51ee0504f SHA512 40b4e906995041a791d24a92567b7a58dd7020ab4aae4cab210d1513f42ba953bb6eb896dc0b16970300897973c861edc2e72199eeef1499418b83ee87719721
diff --git a/x11-misc/viewglob/files/viewglob-2.0.4-C23.patch b/x11-misc/viewglob/files/viewglob-2.0.4-C23.patch
new file mode 100644
index 000000000000..160a0e069162
--- /dev/null
+++ b/x11-misc/viewglob/files/viewglob-2.0.4-C23.patch
@@ -0,0 +1,56 @@
+https://bugs.gentoo.org/944019
+https://bugs.gentoo.org/921573
+Fix implicit defines in configure by defaulting to GNU_SOURCES, set include
+ordering straight for implicit define in code and fix sizes/declarations
+for C23
+--- a/configure.ac
++++ b/configure.ac
+@@ -1,6 +1,7 @@
+ dnl Process this file with autoconf to produce a configure script.
+ AC_INIT([viewglob], [2.0.4])
+ AM_INIT_AUTOMAKE
++AC_USE_SYSTEM_EXTENSIONS
+ AM_CONFIG_HEADER([config.h])
+ RELEASE_DATE="April 26, 2006"
+
+--- a/common/conf-to-args.c
++++ b/common/conf-to-args.c
+@@ -32,7 +32,7 @@
+ GString* arg_str = NULL;
+
+ gchar buf[1024];
+- gint nread;
++ gssize nread;
+
+ gchar* home = getenv("HOME");
+ if (!home) {
+--- a/vgd/tcp-listen.c
++++ b/vgd/tcp-listen.c
+@@ -26,6 +26,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++#include "common.h"
++
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>
+@@ -34,7 +36,6 @@
+
+ #include <string.h>
+
+-#include "common.h"
+ #include "tcp-listen.h"
+
+
+--- a/vgseer/ptytty.c
++++ b/vgseer/ptytty.c
+@@ -112,7 +112,7 @@
+ #if defined(HAVE_GRANTPT) && defined(HAVE_UNLOCKPT)
+ # if defined(PTYS_ARE_GETPT) || defined(PTYS_ARE_PTMX)
+ {
+- extern char *ptsname();
++ extern char *ptsname(int fd);
+
+ # ifdef PTYS_ARE_GETPT
+ pfd = getpt();
diff --git a/x11-misc/viewglob/viewglob-2.0.4-r1.ebuild b/x11-misc/viewglob/viewglob-2.0.4-r1.ebuild
index 5e6a315f0954..a130b2f633c8 100644
--- a/x11-misc/viewglob/viewglob-2.0.4-r1.ebuild
+++ b/x11-misc/viewglob/viewglob-2.0.4-r1.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit autotools readme.gentoo-r1
DESCRIPTION="Graphical display of directories and globs referenced at the shell prompt"
-HOMEPAGE="http://viewglob.sourceforge.net/"
+HOMEPAGE="https://viewglob.sourceforge.net/"
SRC_URI="https://downloads.sourceforge.net/viewglob/${P}.tar.gz"
LICENSE="GPL-2"
@@ -23,6 +23,7 @@ DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}"/${P}-underlinking.patch
"${FILESDIR}"/${P}-format-security.patch
+ "${FILESDIR}"/${P}-C23.patch
)
src_prepare() {