From 2efa3eec2da99eaf91241b792ca403114ae6914f Mon Sep 17 00:00:00 2001 From: is Date: Tue, 30 Oct 2007 14:02:15 +0000 Subject: 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. --- lang/erlang/Makefile | 4 ++-- lang/erlang/distinfo | 4 ++-- lang/erlang/patches/patch-aa | 12 ++++++++---- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile index 56c398414eb..9d2a4076e0c 100644 --- a/lang/erlang/Makefile +++ b/lang/erlang/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.31 2007/08/03 11:01:37 obache Exp $ +# $NetBSD: Makefile,v 1.32 2007/10/30 14:02:15 is Exp $ DISTNAME= otp_src_${DIST_VERSION} PKGNAME= erlang-${ERLANG_VERSION} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= lang MASTER_SITES= http://www.erlang.org/download/ diff --git a/lang/erlang/distinfo b/lang/erlang/distinfo index cb992fd5bba..6ebf9fc951c 100644 --- a/lang/erlang/distinfo +++ b/lang/erlang/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.11 2007/07/30 07:15:36 joerg Exp $ +$NetBSD: distinfo,v 1.12 2007/10/30 14:02:15 is Exp $ SHA1 (erlang/otp_src_R11B-5.tar.gz) = c03569f0387b04b0afcc5f59983792676fd4382b RMD160 (erlang/otp_src_R11B-5.tar.gz) = 67eac12a891df0e8d46b383ea0997f9de3aa6ac6 Size (erlang/otp_src_R11B-5.tar.gz) = 38332865 bytes -SHA1 (patch-aa) = 0e7876830697a053bfa2103f9514a8568441f3ae +SHA1 (patch-aa) = 795bca5194b365ddaff8b10d46246423d44f7bda SHA1 (patch-ab) = 1bf4d079f0138d97b0a86a8d75e87fce14586c49 SHA1 (patch-ae) = fba8ebcba12fae810f1c554b678f0b434e364833 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 + #include +-#ifndef __OpenBSD__ ++#if !defined(__OpenBSD__) && !defined(__NetBSD__) #include #endif -#ifdef __FreeBSD__ -- cgit v1.2.3