aboutsummaryrefslogtreecommitdiff
path: root/ldc-disable-tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ldc-disable-tests.patch')
-rw-r--r--ldc-disable-tests.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/ldc-disable-tests.patch b/ldc-disable-tests.patch
index 871089e..d88aa21 100644
--- a/ldc-disable-tests.patch
+++ b/ldc-disable-tests.patch
@@ -1,3 +1,20 @@
+diff --git a/std/datetime.d b/std/datetime.d
+index 8e4ed3b..d904a49 100644
+--- a/std/datetime.d
++++ b/std/datetime.d
+@@ -28018,7 +28018,11 @@ public:
+ The default directory where the TZ Database files are. It's empty
+ for Windows, since Windows doesn't have them.
+ +/
+- enum defaultTZDatabaseDir = "/usr/share/zoneinfo/";
++
++ pragma(msg, "test disabled on GNU Guix");
++
++ // enum defaultTZDatabaseDir = "/usr/share/zoneinfo/";
++ enum defaultTZDatabaseDir = "";
+ }
+ else version(Windows)
+ {
diff --git a/std/path.d b/std/path.d
index 254d8f0..b0fc04d 100644
--- a/std/path.d