diff options
author | gutteridge <gutteridge@pkgsrc.org> | 2022-04-10 03:53:32 +0000 |
---|---|---|
committer | gutteridge <gutteridge@pkgsrc.org> | 2022-04-10 03:53:32 +0000 |
commit | 5bc568b85d35d8b675c2979d4052630e5268151b (patch) | |
tree | 8a95b9d06f092692ff53d9c20a618e78c11f400f /x11 | |
parent | 7cf9865c4555221efe5f06c21726077ec3686b47 (diff) | |
download | pkgsrc-5bc568b85d35d8b675c2979d4052630e5268151b.tar.gz |
vte3: functional fix for NetBSD
Since the update to 0.68, this package doesn't actually work on NetBSD.
The first problem is addressed in this patch, but there are still hangs
occurring on startup of xfce4-terminal and mate-terminal (and probably
gnome-terminal, but I haven't tested it). Checking this in as this is
all I have time for right now.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/vte3/Makefile | 3 | ||||
-rw-r--r-- | x11/vte3/distinfo | 3 | ||||
-rw-r--r-- | x11/vte3/patches/patch-src_missing.cc | 15 |
3 files changed, 19 insertions, 2 deletions
diff --git a/x11/vte3/Makefile b/x11/vte3/Makefile index d64aff62940..75fabcdc475 100644 --- a/x11/vte3/Makefile +++ b/x11/vte3/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.48 2022/04/07 00:31:14 gutteridge Exp $ +# $NetBSD: Makefile,v 1.49 2022/04/10 03:53:32 gutteridge Exp $ DISTNAME= vte-0.68.0 PKGNAME= ${DISTNAME:S/vte/vte3/} +PKGREVISION= 1 CATEGORIES= x11 MASTER_SITES= ${MASTER_SITE_GITHUB:=GNOME/} GITHUB_PROJECT= vte diff --git a/x11/vte3/distinfo b/x11/vte3/distinfo index 6438b318ff6..58fd870aa4b 100644 --- a/x11/vte3/distinfo +++ b/x11/vte3/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.17 2022/04/05 15:51:57 jperkin Exp $ +$NetBSD: distinfo,v 1.18 2022/04/10 03:53:32 gutteridge Exp $ BLAKE2s (vte-0.68.0.tar.gz) = 1583ddbed30f848687a1ce02df9d03ce89a5b905a72a9cd1d866195931acbcb1 SHA512 (vte-0.68.0.tar.gz) = fb2260ae1363203cdccd0e0c6cafe29e5fb25947d2830a7ce1051f672fdc11c067791a8b74cb3017548e366976763fec2022e0c196ed501f46abb08876ad24d6 @@ -9,5 +9,6 @@ SHA1 (patch-src_app_app.cc) = 2548e01629aa563595387328638a52a5616ff0bd SHA1 (patch-src_dumpkeys.c) = 102f24d7404d46b13194f3431d0a864d480e5da7 SHA1 (patch-src_meson.build) = a8e159688fb36e4cfac40249e279a670c9c6cda8 SHA1 (patch-src_mev.c) = b38dc42e02a8d5fa1e579349319f0b8c8b31dbce +SHA1 (patch-src_missing.cc) = 4bd47362721afb27594ea12aa2c80495205bd906 SHA1 (patch-src_pty.cc) = bf65a5384090772eafb441cd8d3aae4eb8383d5b SHA1 (patch-src_widget.cc) = cbc8b715b21248996bfb7c6abe355c5f4e510539 diff --git a/x11/vte3/patches/patch-src_missing.cc b/x11/vte3/patches/patch-src_missing.cc new file mode 100644 index 00000000000..aa82afb6136 --- /dev/null +++ b/x11/vte3/patches/patch-src_missing.cc @@ -0,0 +1,15 @@ +$NetBSD: patch-src_missing.cc,v 1.1 2022/04/10 03:53:33 gutteridge Exp $ + +Fix basic file limit functionality on NetBSD. + +--- src/missing.cc.orig 2022-03-27 17:52:19.000000000 +0000 ++++ src/missing.cc +@@ -119,7 +119,7 @@ getrlimit_NOFILE_max(void) + + #endif /* HAVE_SYS_RESOURCE_H */ + +-#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__APPLE__) ++#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__APPLE__) || defined(__NetBSD__) + /* Use sysconf() function provided by the system if it is known to be + * async-signal safe. + */ |