This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: upset request


Thanks Chris.

The following patch should move the requires: line out to be per-version,
but it doesn't address the upset internal representation to allow true
per-version requires. I'll have a longer study of this issue next weekend.

Cheers,
Rob
===
Index: upset
===================================================================
RCS file: /cvs/sourceware/infra/bin/cygwin/upset,v
retrieving revision 1.13
diff -u -p -r1.13 upset
--- upset 24 May 2002 02:53:04 -0000 1.13
+++ upset 8 Jul 2002 02:39:02 -0000
@@ -106,8 +106,6 @@ for my $p ($package->names) {
   warn "upset: *** warning package $p requires non-existent package $r\n";
      }
  }
- print "requires: ", $pkgbase->{'requires'}, "\n";
- delete $pkgbase->{'requires'};
     };
     for my $g ('', 'prev', 'test') {
  my $ver = $pkg->{$g} or next;
@@ -130,6 +128,8 @@ for my $p ($package->names) {
       next yup;
   }
      }
+     print "requires: ", $pkgbase->{'requires'}, "\n";
+     delete $pkgbase->{'requires'};
      warn "upset: *** warning package $p refers to non-existent
external-source version: $pkg->{''}{'external-source'}-$v\n";
  }
     }
===


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]