diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2023-05-27 10:01:52 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2023-05-27 10:01:52 +0000 |
commit | 6fdee4fe02bfe36a805a7f384b59ae21d55dd320 (patch) | |
tree | 7485f7a9462c239ac80b00026bf8942e0fe2a8ab /usr.sbin | |
parent | 631963045dc9feb5dc275b0ec6918da87d2382c7 (diff) |
comments
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/OldLibs.pm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/OldLibs.pm b/usr.sbin/pkg_add/OpenBSD/OldLibs.pm index 646f66286e4..e4e214d1267 100644 --- a/usr.sbin/pkg_add/OpenBSD/OldLibs.pm +++ b/usr.sbin/pkg_add/OpenBSD/OldLibs.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: OldLibs.pm,v 1.15 2023/05/21 16:07:35 espie Exp $ +# $OpenBSD: OldLibs.pm,v 1.16 2023/05/27 10:01:51 espie Exp $ # # Copyright (c) 2004-2010 Marc Espie <espie@openbsd.org> # @@ -19,6 +19,8 @@ use warnings; package OpenBSD::PackingElement; +# $self->mark_lib($libs, $libpatterns) +# store libs into hashes sub mark_lib { } @@ -27,6 +29,8 @@ sub unmark_lib { } +# $self->separate_element($libs, $c1, $c2) +# based on libs hash, do we sort it into clone 1 or clone 2 sub separate_element { my ($self, $libs, $c1, $c2) = @_; @@ -41,6 +45,7 @@ sub special_deep_copy package OpenBSD::PackingElement::Meta; +# so every meta element ends up in both sub separate_element { my ($self, $libs, $c1, $c2) = @_; |