pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/openconnect Define environ before it's used, to fi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/310769ab96c3
branches: trunk
changeset: 387051:310769ab96c3
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Thu Oct 20 19:12:57 2022 +0000
description:
Define environ before it's used, to fix build on at least NetBSD.
Take MAINTAINER.
diffstat:
net/openconnect/Makefile | 4 ++--
net/openconnect/distinfo | 3 ++-
net/openconnect/patches/patch-main.c | 15 +++++++++++++++
3 files changed, 19 insertions(+), 3 deletions(-)
diffs (47 lines):
diff -r 3f45088af727 -r 310769ab96c3 net/openconnect/Makefile
--- a/net/openconnect/Makefile Thu Oct 20 17:27:14 2022 +0000
+++ b/net/openconnect/Makefile Thu Oct 20 19:12:57 2022 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.23 2022/10/18 01:18:10 schmonz Exp $
+# $NetBSD: Makefile,v 1.24 2022/10/20 19:12:57 schmonz Exp $
DISTNAME= openconnect-9.01
CATEGORIES= net security
MASTER_SITES= https://www.infradead.org/openconnect/download/ \
ftp://ftp.infradead.org/pub/openconnect/
-MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+MAINTAINER= schmonz%NetBSD.org@localhost
HOMEPAGE= http://www.infradead.org/openconnect/
COMMENT= Open source VPN client
LICENSE= gnu-lgpl-v2.1
diff -r 3f45088af727 -r 310769ab96c3 net/openconnect/distinfo
--- a/net/openconnect/distinfo Thu Oct 20 17:27:14 2022 +0000
+++ b/net/openconnect/distinfo Thu Oct 20 19:12:57 2022 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.14 2022/10/18 01:18:10 schmonz Exp $
+$NetBSD: distinfo,v 1.15 2022/10/20 19:12:57 schmonz Exp $
BLAKE2s (openconnect-9.01.tar.gz) = a56f3914b696aa3a11ea5a1732dec1b77c2aa8d6de72c3fb8f8abb3f9078ccfd
SHA512 (openconnect-9.01.tar.gz) = b7428847a90f8ca9d1f1f61653c1f2486f0a07989f3b7435b746c5e901998194f4ee2b4f9569a548a23bba368bb1e9f273674c0759aac9df30208d2a6a303c34
Size (openconnect-9.01.tar.gz) = 2718526 bytes
+SHA1 (patch-main.c) = 040fb724052c5bf2e007b322f103d37f06a2bfb2
diff -r 3f45088af727 -r 310769ab96c3 net/openconnect/patches/patch-main.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/openconnect/patches/patch-main.c Thu Oct 20 19:12:57 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-main.c,v 1.1 2022/10/20 19:12:57 schmonz Exp $
+
+Define environ before it's used. Fixes build on at least NetBSD.
+
+--- main.c.orig 2022-04-29 15:36:04.000000000 +0000
++++ main.c
+@@ -899,6 +899,8 @@ static BOOL WINAPI console_ctrl_handler(
+ #endif
+
+ #ifdef HAVE_POSIX_SPAWN
++extern char **environ;
++
+ static int spawn_browser(struct openconnect_info *vpninfo, const char *url, void *cbdata)
+ {
+ vpn_progress(vpninfo, PRG_TRACE,
Home |
Main Index |
Thread Index |
Old Index