[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#321799: Patch



Package: apt
Version: 0.6.40.1
Tags: patch
Followup-For: Bug #321799

Hello,

here's the patch that fixes the problem.  As soon as this bug is closed,
I'll be able to upload the new (cool) version of debtags-edit based on
libapt-front: I look forward to it.

===================================================================================
diff -Naur apt-0.6.40.1/apt-pkg/policy.h apt-0.6.40.1.enrico/apt-pkg/policy.h
--- apt-0.6.40.1/apt-pkg/policy.h	2005-08-05 11:58:35.000000000 +0200
+++ apt-0.6.40.1.enrico/apt-pkg/policy.h	2005-08-10 11:48:33.463108008 +0200
@@ -45,6 +45,8 @@
 
 class pkgPolicy : public pkgDepCache::Policy
 {
+   protected:
+   
    struct Pin
    {
       pkgVersionMatch::MatchType Type;
@@ -58,8 +60,6 @@
       string Pkg;
    };
    
-   protected:
-   
    Pin *Pins;
    signed short *PFPriority;
    vector<Pin> Defaults;
===================================================================================

Ciao,

Enrico

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)

Versions of packages apt depends on:
ii  libc6                         2.3.5-3    GNU C Library: Shared libraries an
ii  libgcc1                       1:4.0.1-4  GCC support library
ii  libstdc++6                    4.0.1-4    The GNU Standard C++ Library v3

apt recommends no packages.

-- no debconf information



Reply to: