Page MenuHomeFreeBSD

D58486.id182836.diff
No OneTemporary

D58486.id182836.diff

Index: ports-mgmt/pkg/Makefile
===================================================================
--- ports-mgmt/pkg/Makefile
+++ ports-mgmt/pkg/Makefile
@@ -1,5 +1,6 @@
PORTNAME= pkg
DISTVERSION= 2.8.1
+PORTREVISION= 1
_PKG_VERSION= ${DISTVERSION}
CATEGORIES= ports-mgmt
Index: ports-mgmt/pkg/files/patch-libpkg_pkg__jobs.c
===================================================================
--- /dev/null
+++ ports-mgmt/pkg/files/patch-libpkg_pkg__jobs.c
@@ -0,0 +1,12 @@
+--- libpkg/pkg_jobs.c.orig 2026-07-21 09:50:31 UTC
++++ libpkg/pkg_jobs.c
+@@ -925,7 +925,8 @@ pkg_jobs_find_upgrade(struct pkg_jobs *j, const char *
+ "remote repo", pattern);
+ rc = pkg_jobs_universe_add_pkg(j->universe, p, &unit);
+ if (rc == EPKG_END) {
+- pkg_free(p);
++ if (!pkg_in_universe(j->universe, p))
++ pkg_free(p);
+ rc = EPKG_OK;
+ }
+ }

File Metadata

Mime Type
text/plain
Expires
Wed, Oct 7, 9:50 PM (4 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40378843
Default Alt Text
D58486.id182836.diff (858 B)

Event Timeline