summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2004-06-08 19:51:36 +0000
committerjschauma <jschauma@pkgsrc.org>2004-06-08 19:51:36 +0000
commit3968a3afd079e036a04999b8f7d874ade21a07af (patch)
tree505a4838b5aef9ca0699fe48aaa651c3d17069e1
parent732f4974925ee361a86a5a6ab676bf9292200eea (diff)
downloadpkgsrc-3968a3afd079e036a04999b8f7d874ade21a07af.tar.gz
Make this compile under Linux.
-rw-r--r--devel/electricfence/distinfo4
-rw-r--r--devel/electricfence/patches/patch-ab4
2 files changed, 4 insertions, 4 deletions
diff --git a/devel/electricfence/distinfo b/devel/electricfence/distinfo
index 8dd2f1b24be..505f2e49aea 100644
--- a/devel/electricfence/distinfo
+++ b/devel/electricfence/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2004/02/04 13:33:36 grant Exp $
+$NetBSD: distinfo,v 1.6 2004/06/08 19:51:36 jschauma Exp $
SHA1 (ElectricFence-2.1.tar.gz) = 1794db6d446f31045ebf845543cf6759cbab1e4f
Size (ElectricFence-2.1.tar.gz) = 47917 bytes
SHA1 (patch-aa) = 53c7c23d6d0a5b4f9814125bce8d6280f474fd56
-SHA1 (patch-ab) = 85d3ae4197e520c6718367d60836c1378e71f33c
+SHA1 (patch-ab) = d69757ff0d7b85b755303be9ed25d4334bbbaab7
SHA1 (patch-ac) = 4c56eeea0b8e53cdf260b61aa8fdef16f601b186
diff --git a/devel/electricfence/patches/patch-ab b/devel/electricfence/patches/patch-ab
index 5b6cb7966e7..456c6b76ee4 100644
--- a/devel/electricfence/patches/patch-ab
+++ b/devel/electricfence/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.3 2001/11/09 00:39:39 hubertf Exp $
+$NetBSD: patch-ab,v 1.4 2004/06/08 19:51:36 jschauma Exp $
--- page.c.orig Sat Apr 27 00:57:38 1996
+++ page.c
@@ -15,7 +15,7 @@ $NetBSD: patch-ab,v 1.3 2001/11/09 00:39:39 hubertf Exp $
static caddr_t startAddr = (caddr_t) 0;
-#if ( !defined(sgi) && !defined(_AIX) )
-+#if ( !defined(sgi) && !defined(_AIX) && !(defined(BSD) && BSD >= 199306))
++#if ( !defined(sgi) && !defined(_AIX) && !(defined(BSD) && BSD >= 199306)) && !defined(linux)
extern int sys_nerr;
extern char * sys_errlist[];
#endif