summaryrefslogtreecommitdiff
path: root/lang/erlang/patches
diff options
context:
space:
mode:
authoris <is>2007-10-30 14:02:15 +0000
committeris <is>2007-10-30 14:02:15 +0000
commite64460ca6ee15e8b5a359748c9150301a8ac1a3a (patch)
treeb0c8f4e7a4b169905668ad129201eecc2e0b4f38 /lang/erlang/patches
parent52b6dd34d19e8dc0ede18d1e3a6bc176f7d07867 (diff)
downloadpkgsrc-e64460ca6ee15e8b5a359748c9150301a8ac1a3a.tar.gz
Make the port program memsup build again. This way, PLIST is correct, so
that pkg_sync and pkg_tarup work (on NetBSD-4). memsup.erl/memsup.c still need work to make it actually work on NetBSD.
Diffstat (limited to 'lang/erlang/patches')
-rw-r--r--lang/erlang/patches/patch-aa12
1 files changed, 8 insertions, 4 deletions
diff --git a/lang/erlang/patches/patch-aa b/lang/erlang/patches/patch-aa
index 191bb1162e4..2fd045b8687 100644
--- a/lang/erlang/patches/patch-aa
+++ b/lang/erlang/patches/patch-aa
@@ -1,9 +1,13 @@
-$NetBSD: patch-aa,v 1.4 2007/07/30 07:15:36 joerg Exp $
+$NetBSD: patch-aa,v 1.5 2007/10/30 14:02:15 is Exp $
---- lib/os_mon/c_src/memsup.c.orig 2007-07-30 06:46:25.000000000 +0000
+--- lib/os_mon/c_src/memsup.c.orig 2006-08-29 11:47:15.000000000 +0200
+++ lib/os_mon/c_src/memsup.c
-@@ -101,7 +101,7 @@
- #ifndef __OpenBSD__
+@@ -98,10 +98,10 @@
+ #ifdef BSD4_4
+ #include <sys/types.h>
+ #include <sys/sysctl.h>
+-#ifndef __OpenBSD__
++#if !defined(__OpenBSD__) && !defined(__NetBSD__)
#include <vm/vm_param.h>
#endif
-#ifdef __FreeBSD__