mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-02 11:03:57 +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.
31 lines
882 B
Diff
31 lines
882 B
Diff
[xen0n: this is https://github.com/sunhaiyong1978/CLFS-for-LoongArch/blob/1.0/patches/stack-direction-add-loongarch.patch with line number tweak, and change to generated file added as well.]
|
|
From: Sun Haiyong <youbest@sina.com>
|
|
Date: Tue, 31 Aug 2021 11:11:52 +0800
|
|
Subject: [PATCH] stack-direction: Add support for loongarch CPU
|
|
|
|
* m4/stack-direction.m4 (SV_STACK_DIRECTION): When the CPU is loongarch,
|
|
set "sv_cv_stack_direction" to "-1" .
|
|
--- a/m4/stack-direction.m4
|
|
+++ b/m4/stack-direction.m4
|
|
@@ -31,6 +31,7 @@ AC_DEFUN([SV_STACK_DIRECTION],
|
|
i?86 | x86_64 | \
|
|
i860 | \
|
|
ia64 | \
|
|
+ loongarch* | \
|
|
m32r | \
|
|
m68* | \
|
|
m88k | \
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -46399,6 +46399,7 @@ else $as_nop
|
|
i?86 | x86_64 | \
|
|
i860 | \
|
|
ia64 | \
|
|
+ loongarch* | \
|
|
m32r | \
|
|
m68* | \
|
|
m88k | \
|
|
--
|
|
2.17.2
|
|
|