pkgsrc-Changes archive

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

CVS commit: pkgsrc/pkgtools/pkgin



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue May 20 07:59:20 UTC 2025

Modified Files:
        pkgsrc/pkgtools/pkgin: Makefile distinfo
Added Files:
        pkgsrc/pkgtools/pkgin/patches: patch-actions.c

Log Message:
pkgin: fix 'pkgin ug' on NetBSD

An uninitialized variable led to realloc errors.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.137 -r1.138 pkgsrc/pkgtools/pkgin/Makefile
cvs rdiff -u -r1.82 -r1.83 pkgsrc/pkgtools/pkgin/distinfo
cvs rdiff -u -r0 -r1.4 pkgsrc/pkgtools/pkgin/patches/patch-actions.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/pkgtools/pkgin/Makefile
diff -u pkgsrc/pkgtools/pkgin/Makefile:1.137 pkgsrc/pkgtools/pkgin/Makefile:1.138
--- pkgsrc/pkgtools/pkgin/Makefile:1.137        Mon May 19 09:00:11 2025
+++ pkgsrc/pkgtools/pkgin/Makefile      Tue May 20 07:59:20 2025
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.137 2025/05/19 09:00:11 jperkin Exp $
+# $NetBSD: Makefile,v 1.138 2025/05/20 07:59:20 wiz Exp $
 
 DISTNAME=              pkgin-25.5.0
+PKGREVISION=           1
 CATEGORIES=            pkgtools
 MASTER_SITES=          ${MASTER_SITE_GITHUB:=NetBSDfr/}
 GITHUB_TAG=            v${PKGVERSION_NOREV}

Index: pkgsrc/pkgtools/pkgin/distinfo
diff -u pkgsrc/pkgtools/pkgin/distinfo:1.82 pkgsrc/pkgtools/pkgin/distinfo:1.83
--- pkgsrc/pkgtools/pkgin/distinfo:1.82 Mon May 19 09:00:11 2025
+++ pkgsrc/pkgtools/pkgin/distinfo      Tue May 20 07:59:20 2025
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.82 2025/05/19 09:00:11 jperkin Exp $
+$NetBSD: distinfo,v 1.83 2025/05/20 07:59:20 wiz Exp $
 
 BLAKE2s (pkgin-25.5.0.tar.gz) = dc419ce5c99cf9a7e1bf89bc989c6f8fab75d4b0e8f08f6c2287ed8225f535e3
 SHA512 (pkgin-25.5.0.tar.gz) = 27deedc825ab1763217db9c37b6d790c73b50ec7cd700760fce267bd39d628da9b0e546e7e5acd901f47e652eb9c2d3d696f9122b2719801af88ae21e18a1297
 Size (pkgin-25.5.0.tar.gz) = 268186 bytes
+SHA1 (patch-actions.c) = 9dd682e588d2a8e7cc4dd5dfb13c7179bdd8c04b

Added files:

Index: pkgsrc/pkgtools/pkgin/patches/patch-actions.c
diff -u /dev/null pkgsrc/pkgtools/pkgin/patches/patch-actions.c:1.4
--- /dev/null   Tue May 20 07:59:20 2025
+++ pkgsrc/pkgtools/pkgin/patches/patch-actions.c       Tue May 20 07:59:20 2025
@@ -0,0 +1,14 @@
+$NetBSD: patch-actions.c,v 1.4 2025/05/20 07:59:20 wiz Exp $
+
+Initialize variable, fixes problem updating core packages on NetBSD.
+
+--- actions.c.orig     2025-05-20 06:41:24.657109454 +0000
++++ actions.c
+@@ -576,6 +576,7 @@ get_core_pkgs(void)
+       };
+       size_t n, p;
+       char **corepkgs = NULL;
++      n = 0;
+ 
+       for (p = 0; pkgs[p] != NULL; p++) {
+               if (find_local_pkg(pkgs[p], NULL) != NULL) {



Home | Main Index | Thread Index | Old Index