update Fri Feb 26 06:37:01 PST 2010
[pkgsrc.git] / misc / root / patches / patch-be
1 $NetBSD: patch-be,v 1.1 2010/02/26 10:56:38 drochner Exp $
2
3 --- cint/cint/src/DataMbr.cxx.orig      2010-02-25 16:10:17.000000000 +0000
4 +++ cint/cint/src/DataMbr.cxx
5 @@ -234,6 +234,8 @@ int Cint::G__DataMemberInfo::MaxIndex(in
6        else {
7          // -- For first dimension divide number of elements by stride.
8          // Note: This may be zero, if this is not an array!
9 +       if (!var->varlabel[index][0])
10 +               return -1;
11         return var->varlabel[index][1] /* num of elements*/ / var->varlabel[index][0] /* stride */;
12        }
13      }