diff options
author | tmclaugh <tmclaugh@FreeBSD.org> | 2006-02-27 05:53:33 +0800 |
---|---|---|
committer | tmclaugh <tmclaugh@FreeBSD.org> | 2006-02-27 05:53:33 +0800 |
commit | 7a4fb10ebce15b1aff3e7fa1351974504a23cbc2 (patch) | |
tree | 79c49d18649bc355f0288b209575aa2a76f02761 /security/openvpn-admin | |
parent | e95cbb8c7a78a1815c4c8359b5eb4df24d1d026a (diff) | |
download | freebsd-ports-gnome-7a4fb10ebce15b1aff3e7fa1351974504a23cbc2.tar.gz freebsd-ports-gnome-7a4fb10ebce15b1aff3e7fa1351974504a23cbc2.tar.zst freebsd-ports-gnome-7a4fb10ebce15b1aff3e7fa1351974504a23cbc2.zip |
Fix build after Mono 1.1.13.2 namespace moveage
Mono.Unix.Syscall.kill --> Mono.Unix.Native.Syscall.kill
Notified by: krisbot
Approved by: portmgr (kris)
Diffstat (limited to 'security/openvpn-admin')
-rw-r--r-- | security/openvpn-admin/Makefile | 2 | ||||
-rw-r--r-- | security/openvpn-admin/files/patch-src_Configuration.cs | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/security/openvpn-admin/Makefile b/security/openvpn-admin/Makefile index 0f34588d8655..182716280559 100644 --- a/security/openvpn-admin/Makefile +++ b/security/openvpn-admin/Makefile @@ -7,7 +7,7 @@ PORTNAME= openvpn-admin PORTVERSION= 1.9.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security gnome MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= openvpnadmin diff --git a/security/openvpn-admin/files/patch-src_Configuration.cs b/security/openvpn-admin/files/patch-src_Configuration.cs new file mode 100644 index 000000000000..fd69e84a1904 --- /dev/null +++ b/security/openvpn-admin/files/patch-src_Configuration.cs @@ -0,0 +1,13 @@ +--- src/Configuration.cs.orig Tue Nov 22 01:46:04 2005 ++++ src/Configuration.cs Sun Feb 26 15:09:48 2006 +@@ -459,8 +459,8 @@ + int pid = Int32.Parse(Configuration.GetFileContents(pidfile, true)); + + // Only for Mono after 1.9.1 releases. +- //Mono.Unix.Native.Syscall.kill(pid, Mono.Unix.Native.Signum.SIGKILL); +- Mono.Unix.Syscall.kill(pid, Mono.Unix.Signum.SIGKILL); ++ Mono.Unix.Native.Syscall.kill(pid, Mono.Unix.Native.Signum.SIGKILL); ++ //Mono.Unix.Syscall.kill(pid, Mono.Unix.Signum.SIGKILL); + + File.Delete(pidfile); + File.Delete(stafile); |