Patch taken from the Sage packaging system. From 4a5e1c8c3c11efdb1cbb4239825a6bf4bf1c52f8 Mon Sep 17 00:00:00 2001 From: Anders Skovsted Buch Date: Sun, 29 Nov 2015 16:25:56 -0500 Subject: [PATCH] Patch by Jeroen Demeyer to change include to "vector.h", plus similar cases. --- src/lrcalc.c | 2 +- src/maple.c | 4 ++-- src/schublib.h | 2 +- src/symfcn.c | 6 +++--- src/symfcn.h | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/lrcalc.c b/src/lrcalc.c index aff3f75..60df49e 100644 --- a/src/lrcalc.c +++ b/src/lrcalc.c @@ -8,7 +8,7 @@ #include extern char *optarg; -#include +#include "vectarg.h" #include "symfcn.h" #include "maple.h" diff --git a/src/maple.c b/src/maple.c index fdc0768..a5f4d14 100644 --- a/src/maple.c +++ b/src/maple.c @@ -4,8 +4,8 @@ */ #include -#include -#include +#include "vector.h" +#include "hashtab.h" #include "maple.h" diff --git a/src/schublib.h b/src/schublib.h index a8e8511..864850c 100644 --- a/src/schublib.h +++ b/src/schublib.h @@ -1,7 +1,7 @@ #ifndef _SCHUBLIB_H #define _SCHUBLIB_H -#include +#include "hashtab.h" hashtab *trans(vector *w, int vars, hashtab *res); hashtab *monk(int i, hashtab *slc, int rank); diff --git a/src/symfcn.c b/src/symfcn.c index 4ffbe4b..fd5df5d 100644 --- a/src/symfcn.c +++ b/src/symfcn.c @@ -5,9 +5,9 @@ #include -#include -#include -#include +#include "alloc.h" +#include "vector.h" +#include "hashtab.h" #include "symfcn.h" diff --git a/src/symfcn.h b/src/symfcn.h index b8543b1..29bb00d 100644 --- a/src/symfcn.h +++ b/src/symfcn.h @@ -1,8 +1,8 @@ #ifndef _SYMFCN_H #define _SYMFCN_H -#include -#include +#include "hashtab.h" +#include "vector.h" int part_itr_sz(vector *part); int part_itr_sub(vector *part, vector *outer); -- 2.1.1.1.g1fb337f rch'/>
AgeCommit message (Expand)Author
2023-08-15refresh: Add --target-version option....* guix/scripts/refresh.scm (%options): Register 'target-version' long version. (update-specification->update-spec): Add a fallback-version argument. (options->update-specs): Honor target-version option. * tests/guix-refresh.sh: Test it. * doc/guix.texi (Invoking guix refresh): Document it. Reviewed-by: Ludovic Courtès <ludo@gnu.org> Maxim Cournoyer
2023-05-31upstream: Honor package properties for ignored and extra inputs....* guix/upstream.scm (update-package-inputs)[filtered-inputs] [regular-inputs, native-inputs, propagated-inputs]: New procedures. Use them in 'update-field' calls. * tests/guix-refresh.sh (GUIX_TEST_UPDATER_TARGETS): Add "libreoffice" to the dependencies of "the-test-package". Add 'updater-ignored-inputs' property to "the-test-package". * doc/guix.texi (Invoking guix refresh): Document it. Ludovic Courtès
2023-05-31upstream: 'update-package-source' edits input fields....Previously, 'guix refresh r-ggplot2 -u' and similar commands would print of list of input changes that would have to be made manually. With this change, 'guix refresh -u' takes care of updating input fields automatically. * guix/upstream.scm (update-package-inputs): New procedure. (update-package-source): Call it when 'upstream-source-inputs' returns true. * guix/scripts/refresh.scm (update-package): Remove iteration over the result of 'changed-inputs'. * guix/import/test.scm (available-updates): Add support for input lists. * tests/guix-refresh.sh (GUIX_TEST_UPDATER_TARGETS): Add input list for "the-test-package". Make sure 'guix refresh -u' updates 'inputs' accordingly. * doc/guix.texi (Invoking guix refresh): Mention it. Ludovic Courtès
2023-04-21tests: Relax two tests that expected a non-zero error code....* tests/guix-package-aliases.sh: "guix upgrade foo bar" has always returned zero; adjust accordingly. * tests/guix-refresh.sh: "guix refresh -t test idutils" and similar return zero; adjust accordingly. Ludovic Courtès
2023-04-21tests: Fix checks for expected failures....Addresses <https://issues.guix.gnu.org/62406>. With 'set -e', a return status inverted with '!' does not cause the shell to exit immediately. Instead use '&& false' to indicate an expected failure. * tests/guix-archive.sh, tests/guix-build-branch.sh, tests/guix-build.sh, tests/guix-daemon.sh, tests/guix-download.sh, tests/guix-environment-container.sh, tests/guix-environment.sh, tests/guix-gc.sh, tests/guix-git-authenticate.sh, tests/guix-graph.sh, tests/guix-hash.sh, tests/guix-home.sh, tests/guix-pack-relocatable.sh, tests/guix-pack.sh, tests/guix-package-aliases.sh, tests/guix-package-net.sh, tests/guix-package.sh, tests/guix-refresh.sh, tests/guix-shell.sh, tests/guix-style.sh, tests/guix-system.sh: Replace uses of '! ...' with '... && false' or `test ! ...` as appropriate. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Eric Bavier
2023-01-25tests: Do not try to create "$HOME/.config"....Previously this test would fail when HOME=/homeless-shelter and said directory cannot be created. * tests/guix-refresh.sh: Pass '--keyring' together with '-u'. Ludovic Courtès
2023-01-08refresh: Add CLI tests....* guix/import/test.scm, tests/guix-refresh.sh: New files. * Makefile.am (MODULES, SH_TESTS): Add them. Ludovic Courtès