[BACK]Return to patch-aa CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / security / tct / patches

File: [cvs.NetBSD.org] / pkgsrc / security / tct / patches / patch-aa (download)

Revision 1.2, Sat Jan 22 15:59:58 2005 UTC (14 years, 10 months ago) by ben
Branch: MAIN
CVS Tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4, pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2, pkgsrc-2005Q1-base, pkgsrc-2005Q1
Changes since 1.1: +5 -3 lines

Make tct build and run on NetBSD 2.0 and bump PKGREVISION.
This does not add support for ffsv2 filesystems nor superblocks.
This addresses PR#28357.

$NetBSD: patch-aa,v 1.2 2005/01/22 15:59:58 ben Exp $

--- src/aux/makedefs.orig	2001-10-04 12:34:08.000000000 -0700
+++ src/aux/makedefs
@@ -2,6 +2,10 @@ SYSTEM=`(uname -s) 2>/dev/null`
 RELEASE=`(uname -r) 2>/dev/null`
 
 case "$SYSTEM.$RELEASE" in
+   NetBSD.1*)	DEFS="-DNETBSD1"
+		;;
+   NetBSD.2*)	DEFS="-DNETBSD2"
+		;;
   FreeBSD.2*)   DEFS="-DFREEBSD2"
                 ;;
   FreeBSD.3*)   DEFS="-DFREEBSD3"