summaryrefslogtreecommitdiff
path: root/lang/erlang
diff options
context:
space:
mode:
authorjoerg <joerg>2013-01-11 13:28:36 +0000
committerjoerg <joerg>2013-01-11 13:28:36 +0000
commitc458da105ee503f8c0f6bf54510c7dbe2d54ff39 (patch)
treed0702f8f6e8c3d5b13bd50f257a697748570686e /lang/erlang
parent5fbc53e78f692f2f9ad818884ad7f008203b52d7 (diff)
downloadpkgsrc-c458da105ee503f8c0f6bf54510c7dbe2d54ff39.tar.gz
Explicitly include sys/vmmeter.h on NetBSD.
Diffstat (limited to 'lang/erlang')
-rw-r--r--lang/erlang/distinfo3
-rw-r--r--lang/erlang/patches/patch-lib_os__mon_c__src_memsup.c14
2 files changed, 16 insertions, 1 deletions
diff --git a/lang/erlang/distinfo b/lang/erlang/distinfo
index 59deebc0b36..5cd5d791b9d 100644
--- a/lang/erlang/distinfo
+++ b/lang/erlang/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.28 2012/09/12 19:13:27 asau Exp $
+$NetBSD: distinfo,v 1.29 2013/01/11 13:28:36 joerg Exp $
SHA1 (erlang/otp_src_R15B02.tar.gz) = 86a73cdabf8cd3f4fff5b9bf4c551dad25ac34ce
RMD160 (erlang/otp_src_R15B02.tar.gz) = 0ccfaa5abd3556f679ef1a6f4d2fcb9bfd3c14e8
@@ -8,5 +8,6 @@ SHA1 (patch-ai) = 203d1208b3a8a6aa248cfe0e16c9c19ae25fe0ad
SHA1 (patch-am) = 11ff769b6954f950d6447e69b033cdc0bfa767e9
SHA1 (patch-ao) = a4ee17b0a81415d541cb55d76b3c1ecc3148c2c2
SHA1 (patch-ay) = 7d1a7f79e8c3ea909b2f4476d9ff271ed1318234
+SHA1 (patch-lib_os__mon_c__src_memsup.c) = 1a6ae70dff9e6468c9c84d3fe1964dab6624a8c3
SHA1 (patch-lib_wx_configure) = 22f75e683f58e613cf4332f8af389f626321cf9d
SHA1 (patch-lib_wx_configure.in) = acbde22abdedeafc8f5a585acbddbdb4cc99489e
diff --git a/lang/erlang/patches/patch-lib_os__mon_c__src_memsup.c b/lang/erlang/patches/patch-lib_os__mon_c__src_memsup.c
new file mode 100644
index 00000000000..4a42fc0faa2
--- /dev/null
+++ b/lang/erlang/patches/patch-lib_os__mon_c__src_memsup.c
@@ -0,0 +1,14 @@
+$NetBSD: patch-lib_os__mon_c__src_memsup.c,v 1.1 2013/01/11 13:28:36 joerg Exp $
+
+--- lib/os_mon/c_src/memsup.c.orig 2013-01-11 11:51:56.000000000 +0000
++++ lib/os_mon/c_src/memsup.c
+@@ -116,6 +116,9 @@
+ #if !defined (__OpenBSD__) && !defined (__NetBSD__)
+ #include <vm/vm_param.h>
+ #endif
++#if defined (__NetBSD__)
++#include <sys/vmmeter.h>
++#endif
+ #if defined (__FreeBSD__) || defined(__DragonFly__)
+ #include <sys/vmmeter.h>
+ #endif