aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPjotr Prins2015-12-27 12:14:59 +0300
committerPjotr Prins2015-12-27 12:14:59 +0300
commit35b9422cb94c5d760bb3c139f5f553b6fb3251de (patch)
tree7668604009c8bb531696b5f1e79cf4161244bf3b
parent57f3a825f579de4deb9c2cb35410418ee358f487 (diff)
downloadguix-bioinformatics-35b9422cb94c5d760bb3c139f5f553b6fb3251de.tar.gz
ldc: trying to fix test
-rw-r--r--ldc-disable-tests.patch12
1 files changed, 10 insertions, 2 deletions
diff --git a/ldc-disable-tests.patch b/ldc-disable-tests.patch
index 67f55e3..abf8089 100644
--- a/ldc-disable-tests.patch
+++ b/ldc-disable-tests.patch
@@ -1,5 +1,5 @@
diff --git a/std/datetime.d b/std/datetime.d
-index 8e4ed3b..4a733e6 100644
+index 8e4ed3b..e4716aa 100644
--- a/std/datetime.d
+++ b/std/datetime.d
@@ -28018,6 +28018,7 @@ public:
@@ -10,7 +10,15 @@ index 8e4ed3b..4a733e6 100644
enum defaultTZDatabaseDir = "/usr/share/zoneinfo/";
}
else version(Windows)
-@@ -28076,7 +28077,7 @@ assert(tz.dstName == "PDT");
+@@ -28069,14 +28070,14 @@ assert(tz.dstName == "PDT");
+ import std.range : retro;
+ import std.format : format;
+
+- name = strip(name);
++ name = "."+strip(name);
+
+ enforce(tzDatabaseDir.exists(), new DateTimeException(format("Directory %s does not exist.", tzDatabaseDir)));
+ enforce(tzDatabaseDir.isDir, new DateTimeException(format("%s is not a directory.", tzDatabaseDir)));
immutable file = buildNormalizedPath(tzDatabaseDir, name);