summaryrefslogtreecommitdiff
path: root/lang/erlang/patches
diff options
context:
space:
mode:
authoris <is@pkgsrc.org>2007-10-30 13:47:18 +0000
committeris <is@pkgsrc.org>2007-10-30 13:47:18 +0000
commitc16abd20a503b445d5da2df981ddd131ffa2cabb (patch)
tree54f07db9e06ba888d7ea92077856f9f4d8104a8f /lang/erlang/patches
parent56414444663bde22facd5919da0fb1cc412e5216 (diff)
downloadpkgsrc-c16abd20a503b445d5da2df981ddd131ffa2cabb.tar.gz
Make the memsup port program compile, so that the PLIST ist correct on
NetBSD-4 (at least). Else pkg_sync and pkg_tarup won't work.
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..c0c5f8fb47b 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.4.2.1 2007/10/30 13:47:19 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__