OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 16-Sep-2003 12:06:36
Branch: HEAD Handle: 2003091611063600
Modified files:
openpkg-src/apt apt.patch
Log:
Try to fix absolute dist directory parsing
Summary:
Revision Changes Path
1.3 +11 -0 openpkg-src/apt/apt.patch
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/apt/apt.patch
============================================================================
$ cvs diff -u -r1.2 -r1.3 apt.patch
--- openpkg-src/apt/apt.patch 16 Sep 2003 09:14:44 -0000 1.2
+++ openpkg-src/apt/apt.patch 16 Sep 2003 10:06:36 -0000 1.3
@@ -504,3 +504,14 @@
if (srcListAppend == true && FileExists(buf)) {
outfd = fdOpen(buf, O_WRONLY|O_APPEND, 0644);
+--- apt-pkg/sourcelist.cc.orig 2003-09-16 12:02:35.000000000 +0200
++++ apt-pkg/sourcelist.cc 2003-09-16 12:05:04.000000000 +0200
+@@ -102,7 +102,7 @@
+ // Check for an absolute dists specification.
+ if (Dist.empty() == false && Dist[Dist.size() - 1] == '/')
+ {
+- if (ParseQuoteWord(Buffer,Section) == true)
++ if (ParseQuoteWord(Buffer,Section) == false)
+ return _error->Error(_("Malformed line %lu in source list %s (Absolute
dist)"),CurLine,File.c_str());
+ Dist = SubstVar(Dist,"$(ARCH)",_config->Find("APT::Architecture"));
+ return CreateItem(List,URI,Dist,Section,Vendor);
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]