Edit

IABSD.fr/ports/sysutils/pkg_mgr/patches

Branch :

  • Show log

    Commit

  • Author : landry
    Date : 2015-01-24 10:58:41
    Hash : a22cd453
    Message : Update to pkg_mgr 0.2.2. Fixes a bug when listing installed packages, maybe a perl update or a pkg_add 'recent' change was overwriting $_, and breaking OpenBSD::RequiredBy further calls. Reported by Bastiaan Egberts (and maybe others, dont remember..)

  • patch-OpenBSD_PackageManager_DBIModel_pm
  • $OpenBSD: patch-OpenBSD_PackageManager_DBIModel_pm,v 1.1 2011/07/17 19:47:13 jasper Exp $
    --- OpenBSD/PackageManager/DBIModel.pm.orig	Thu Jul 14 14:36:44 2011
    +++ OpenBSD/PackageManager/DBIModel.pm	Thu Jul 14 14:37:09 2011
    @@ -50,7 +50,7 @@ sub init
     	$self->{orphaned} = (); # list of orphaned ids
     	$self->{portslist} = undef; # key=category id, value=port id array
     	$self->{dbh}->disconnect if defined $self->{dbh};
    -	$self->{dbh} = DBI->connect("dbi:SQLite:/usr/local/share/sqlports-compact");
    +	$self->{dbh} = DBI->connect("dbi:SQLite:${LOCALBASE}/share/sqlports-compact");
     	$self->get_allports;
     	$self->update_installed;
     }