mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-17 18:34:38 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
44 lines
1.3 KiB
Diff
44 lines
1.3 KiB
Diff
From c5d0574182d76af3bf286dce0bb147ae3f098916 Mon Sep 17 00:00:00 2001
|
|
From: annalee <150648636+a-n-n-a-l-e-e@users.noreply.github.com>
|
|
Date: Tue, 28 Nov 2023 12:57:18 +0000
|
|
Subject: [PATCH] fix compiler error: use zero, not NULL, in calls to IVinit
|
|
|
|
---
|
|
ETree/src/transform.c | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/ETree/src/transform.c b/ETree/src/transform.c
|
|
index 1e36981..dbdfc70 100644
|
|
--- a/ETree/src/transform.c
|
|
+++ b/ETree/src/transform.c
|
|
@@ -291,7 +291,7 @@ etree2 = ETree_compress(etree, mapIV) ;
|
|
remap the nzeros[] vector
|
|
-------------------------
|
|
*/
|
|
-temp = IVinit(nfront, NULL) ;
|
|
+temp = IVinit(nfront, 0) ;
|
|
IVcopy(nfront, temp, nzeros) ;
|
|
IV_setSize(nzerosIV, nnew) ;
|
|
nzeros = IV_entries(nzerosIV) ;
|
|
@@ -453,7 +453,7 @@ etree2 = ETree_compress(etree, mapIV) ;
|
|
remap the nzeros[] vector
|
|
-------------------------
|
|
*/
|
|
-temp = IVinit(nfront, NULL) ;
|
|
+temp = IVinit(nfront, 0) ;
|
|
IVcopy(nfront, temp, nzeros) ;
|
|
IV_setSize(nzerosIV, nnew) ;
|
|
nzeros = IV_entries(nzerosIV) ;
|
|
@@ -614,7 +614,7 @@ etree2 = ETree_compress(etree, mapIV) ;
|
|
remap the nzeros[] vector
|
|
-------------------------
|
|
*/
|
|
-temp = IVinit(nfront, NULL) ;
|
|
+temp = IVinit(nfront, 0) ;
|
|
IVcopy(nfront, temp, nzeros) ;
|
|
IV_setSize(nzerosIV, nnew) ;
|
|
nzeros = IV_entries(nzerosIV) ;
|
|
--
|
|
2.42.0
|
|
|