Annotation of pkgsrc/sysutils/lsof/patches/patch-ab, revision 1.35
1.35 ! atatat 1: $NetBSD: patch-ab,v 1.34 2005/03/19 19:47:33 atatat Exp $
1.31 atatat 2:
1.35 ! atatat 3: Fix build on 3.0 branch and 3.99.x current.
1.10 atatat 4:
1.34 atatat 5: --- Configure.orig 2005-01-17 08:24:32.000000000 -0500
6: +++ Configure
1.35 ! atatat 7: @@ -2346,15 +2346,28 @@ return(0); }
! 8: LSOF_TSTBIGF=" "
! 9: LSOF_VERS="2099010"
! 10: ;;
! 11: - 2.99.11)
! 12: + 2.99.*)
! 13: LSOF_TSTBIGF=" "
! 14: - LSOF_VERS="2099011"
! 15: + LSOF_VERS="2099010"
! 16: ;;
! 17: 2*)
! 18: LSOF_VERS="2000000"
1.34 atatat 19: echo "!!!WARNING!!! Unsupported NetBSD version: $LSOF_VSTR"
20: echo "!!!WARNING!!! Configuring for NetBSD 2.0"
21: ;;
1.35 ! atatat 22: + 3.0*)
! 23: + LSOF_TSTBIGF=" "
! 24: + LSOF_VERS="3000000"
! 25: + ;;
1.34 atatat 26: + 3.99.*)
27: + LSOF_TSTBIGF=" "
28: + LSOF_VERS="3099000"
29: + ;;
1.35 ! atatat 30: + 3*)
! 31: + LSOF_VERS="3000000"
! 32: + echo "!!!WARNING!!! Unsupported NetBSD version: $LSOF_VSTR"
! 33: + echo "!!!WARNING!!! Configuring for NetBSD 3.0"
! 34: + ;;
1.34 atatat 35: *)
36: echo "Unknown NetBSD release: $LSOF_VSTR"
37: echo Assuming NetBSD 1.6
1.35 ! atatat 38: @@ -2366,7 +2379,11 @@ return(0); }
! 39: # Test for legal NetBSD version.
! 40:
1.34 atatat 41: case $LSOF_VERS in # {
1.35 ! atatat 42: - 1002000|1003000|1004000|1005000|1006000|2000000|2099009|2099010|2099011)
! 43: + 1002000|1003000|1004000|1005000|1006000)
! 44: + ;;
! 45: + 2000000|2099009|2099010)
! 46: + ;;
! 47: + 3000000|3099000)
1.34 atatat 48: ;;
49: *)
50: echo "Unknown NetBSD version: $LSOF_VERS"
CVSweb <webmaster@jp.NetBSD.org>