diff options
author | tnn <tnn@pkgsrc.org> | 2015-02-07 22:35:24 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2015-02-07 22:35:24 +0000 |
commit | b63ad0a02c270af0acfd6980085d1bea7c881997 (patch) | |
tree | 5d66f89240d8df20f98fbd02ddd070030633aa07 /lang/openjdk7/patches | |
parent | 1da956db0b386b7b5d1e8079596159bea7d61eb5 (diff) | |
download | pkgsrc-b63ad0a02c270af0acfd6980085d1bea7c881997.tar.gz |
No reason to keep netbsd-4 hacks when we don't have it in ONLY_FOR_PLATFORM
Diffstat (limited to 'lang/openjdk7/patches')
-rw-r--r-- | lang/openjdk7/patches/patch-ai | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/lang/openjdk7/patches/patch-ai b/lang/openjdk7/patches/patch-ai deleted file mode 100644 index 4bceaa7e433..00000000000 --- a/lang/openjdk7/patches/patch-ai +++ /dev/null @@ -1,23 +0,0 @@ -$NetBSD: patch-ai,v 1.3 2013/06/15 09:31:05 jperkin Exp $ - -Support older NetBSD. - ---- hotspot/src/os/bsd/vm/attachListener_bsd.cpp.orig 2012-08-10 16:24:15.000000000 +0000 -+++ hotspot/src/os/bsd/vm/attachListener_bsd.cpp -@@ -345,11 +345,16 @@ BsdAttachOperation* BsdAttachListener::d - #ifdef _ALLBSD_SOURCE - uid_t puid; - gid_t pgid; -+#if defined(__NetBSD__) && __NetBSD_Version__ < 500000000 -+ /* no support for LOCAL_PEEREID here */ -+ return NULL; -+#else - if (::getpeereid(s, &puid, &pgid) != 0) { - int res; - RESTARTABLE(::close(s), res); - continue; - } -+#endif - #else - struct ucred cred_info; - socklen_t optlen = sizeof(cred_info); |