From 2ccbb422f93cca66aaad8593292788b4e3ab3304 Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 20 Jan 2006 00:24:42 +0000 Subject: Use sa_family_t hack only on NetBSD, other platforms might be added later if necessary. --- security/scanssh/distinfo | 4 ++-- security/scanssh/patches/patch-aa | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'security') diff --git a/security/scanssh/distinfo b/security/scanssh/distinfo index fa610ddcbd6..5861b216a68 100644 --- a/security/scanssh/distinfo +++ b/security/scanssh/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.6 2005/04/02 11:55:29 adrianp Exp $ +$NetBSD: distinfo,v 1.7 2006/01/20 00:24:42 joerg Exp $ SHA1 (scanssh-2.1.tar.gz) = 69d35bab7fbe3ebc7e2e0dba37b3b1935b3cc194 RMD160 (scanssh-2.1.tar.gz) = c768f6dca5abe0998f0520bc4cb9be506bf038e6 Size (scanssh-2.1.tar.gz) = 111481 bytes -SHA1 (patch-aa) = 1ddaafe6b8d65d44f8bf5a54c2d10548a6455a00 +SHA1 (patch-aa) = f5815d6bdf1c44c139f8c34f26f4518304a78d74 diff --git a/security/scanssh/patches/patch-aa b/security/scanssh/patches/patch-aa index 3cf71055b15..4a45fb7fb89 100644 --- a/security/scanssh/patches/patch-aa +++ b/security/scanssh/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.2 2004/08/17 19:43:22 adrianp Exp $ +$NetBSD: patch-aa,v 1.3 2006/01/20 00:24:42 joerg Exp $ --- exclude.h.orig Tue Mar 16 08:32:44 2004 +++ exclude.h Mon Aug 16 20:36:27 2004 @@ -6,7 +6,7 @@ $NetBSD: patch-aa,v 1.2 2004/08/17 19:43:22 adrianp Exp $ #ifndef _EXCLUDE_H_ #define _EXCLUDE_H_ -+#ifndef sa_family_t ++#if defined(__NetBSD__) && !defined(sa_family_t) +typedef int sa_family_t; /* NetBSD 1.5 needs this */ +#define sa_family_t int /* ditto, taken from -current */ +#endif -- cgit v1.2.3