This patch is from upstream From 3a236241bbec3f15b012b6f0dbe94353d8094557 Mon Sep 17 00:00:00 2001 From: Andrew Childs Date: Sat, 2 May 2020 12:36:46 +0900 Subject: [PATCH] davinci: fix build with glibc >= 2.28 From glibc 2.28 release notes: * The macros 'major', 'minor', and 'makedev' are now only available from the header ; not from or various other headers that happen to include . These macros are rarely used, not part of POSIX nor XSI, and their names frequently collide with user code; see https://sourceware.org/bugzilla/show_bug.cgi?id=19239 for further explanation. is a GNU extension. Portable programs that require these macros should first include , and then include if __GNU_LIBRARY__ is defined. https://lists.gnu.org/archive/html/info-gnu/2018-08/msg00000.html --- gfxdrivers/davinci/davinci_c64x.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gfxdrivers/davinci/davinci_c64x.c b/gfxdrivers/davinci/davinci_c64x.c index 431ffdd99..351250a03 100644 --- a/gfxdrivers/davinci/davinci_c64x.c +++ b/gfxdrivers/davinci/davinci_c64x.c @@ -39,6 +39,11 @@ #include #include +// Required for `makedev` in glibc >= 2.28 +#if defined(__GNU_LIBRARY__) +#include +#endif + #include #include ff/tests/guix-environment.sh?id=bf933e4f11bf0126f2d6038f5c65c55080f27a0e'>diff
AgeCommit message (Expand)Author
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
2021-10-31Merge remote-tracking branch 'origin/master' into core-updates-frozenEfraim Flashner
2021-10-25environment: Add tests for '--profile'....This is a followup to a643deac2de81755a1843a3b41dd53857678bebc. * tests/guix-environment-container.sh, tests/guix-environment.sh: Add tests for '--profile'. Ludovic Courtès