uncommitted - lix

Ready changes

Summary

Import uploads missing from VCS:

Diff

diff --git a/debian/changelog b/debian/changelog
index 15cad33..6643866 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+lix (0.9.29-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ Peter Michael Green <plugwash@raspbian.org> ]
+  * Add patch from upstream pull request to fix build with new libphobos
+    (Closes: 961986)
+
+ -- Gianfranco Costamagna <locutusofborg@debian.org>  Wed, 10 Jun 2020 13:11:32 +0200
+
 lix (0.9.29-1) unstable; urgency=medium
 
   * New upstream version. (Closes: #941390)
diff --git a/debian/patches/phobos-2.091.patch b/debian/patches/phobos-2.091.patch
new file mode 100644
index 0000000..8ba605e
--- /dev/null
+++ b/debian/patches/phobos-2.091.patch
@@ -0,0 +1,39 @@
+Patch taken from https://github.com/Abscissa/SDLang-D/pull/70/commits/90e5bdad1d803a507b34d46c5ecf82cb1feb7cd4
+with paths adjusted to apply to the Debian lix package.
+
+commit 90e5bdad1d803a507b34d46c5ecf82cb1feb7cd4
+Author: Steven Schveighoffer <schveiguy@yahoo.com>
+Date:   Fri Mar 20 17:26:58 2020 -0400
+
+    Remove FracSec usage if not available in Phobos (2.091+) Fixes #68.
+
+diff --git a/sdlang-d-0.10.4/sdlang-d/src/sdlang/token.d b/sdlang-d-0.10.4/sdlang-d/src/sdlang/token.d
+index 593746c..074c705 100644
+--- a/sdlang-d-0.10.4/sdlang-d/src/sdlang/token.d
++++ b/sdlang-d-0.10.4/sdlang-d/src/sdlang/token.d
+@@ -24,9 +24,11 @@ struct DateTimeFrac
+ {
+ 	DateTime dateTime;
+ 	Duration fracSecs;
+-	deprecated("Use fracSecs instead.") {
++	static if(is(FracSec)) {
++	    deprecated("Use fracSecs instead.") {
+ 		@property FracSec fracSec() const { return FracSec.from!"hnsecs"(fracSecs.total!"hnsecs"); }
+ 		@property void fracSec(FracSec v) { fracSecs = v.hnsecs.hnsecs; }
++	    }
+ 	}
+ }
+ 
+@@ -44,9 +46,11 @@ struct DateTimeFracUnknownZone
+ {
+ 	DateTime dateTime;
+ 	Duration fracSecs;
+-	deprecated("Use fracSecs instead.") {
++	static if(is(FracSec)) {
++	    deprecated("Use fracSecs instead.") {
+ 		@property FracSec fracSec() const { return FracSec.from!"hnsecs"(fracSecs.total!"hnsecs"); }
+ 		@property void fracSec(FracSec v) { fracSecs = v.hnsecs.hnsecs; }
++	    }
+ 	}
+ 	string timeZone;
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 4cfc7ba..067ede4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 dub-i-dub-i-dub-dub-dub
+phobos-2.091.patch

Run locally

More details

Full run details

Historical runs