diff options
author | Pjotr Prins <pjotr.public12@thebird.nl> | 2018-09-09 17:57:42 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-09-10 17:47:52 +0200 |
commit | 633e8aab6990b9eff1f2f0e77d27dc17f163bbc4 (patch) | |
tree | 3c513db836c2e6933208aa418afbd4f26bbcdb5b /gnu/packages/patches/ldc-disable-phobos-tests.patch | |
parent | f80d6ea251601c63580f63ad5df5ca5c0151dfa0 (diff) | |
download | gnu-guix-633e8aab6990b9eff1f2f0e77d27dc17f163bbc4.tar gnu-guix-633e8aab6990b9eff1f2f0e77d27dc17f163bbc4.tar.gz |
gnu: ldc: Update to 1.10.0.
* gnu/packages/ldc.scm (ldc): Update to 1.10.0.
[native-inputs]: Switch to LLVM and CLANG.
(ldc-bootstrap)[synopsis, description]: Tweak.
* gnu/packages/patches/ldc-disable-phobos-tests.patch: New file.
* gnu/packages/patches/ldc-1.7.0-disable-phobos-tests.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/patches/ldc-disable-phobos-tests.patch')
-rw-r--r-- | gnu/packages/patches/ldc-disable-phobos-tests.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/patches/ldc-disable-phobos-tests.patch b/gnu/packages/patches/ldc-disable-phobos-tests.patch new file mode 100644 index 0000000000..f8a9743d59 --- /dev/null +++ b/gnu/packages/patches/ldc-disable-phobos-tests.patch @@ -0,0 +1,22 @@ +diff --git a/std/socket.d b/std/socket.d +index 111cd17..6d23da9 100644 +--- a/std/socket.d ++++ b/std/socket.d +@@ -448,7 +448,7 @@ class Protocol + // Skip this test on Android because getprotobyname/number are + // unimplemented in bionic. + version(CRuntime_Bionic) {} else +-@safe unittest ++@safe version(hasNetwork) unittest + { + // import std.stdio : writefln; + softUnittest({ +@@ -770,7 +770,7 @@ class InternetHost + } + + /// +-@safe unittest ++@safe version(hasNetwork) unittest + { + InternetHost ih = new InternetHost; + |