karheinz / pird

A simple cd ripper written in D.
5 stars 0 forks source link

Compiling on a Mac #5

Closed jdobber closed 12 years ago

jdobber commented 12 years ago

With this patch it compiles on my Mac.

diff --git a/Makefile b/Makefile index 4ce5626..1cdcf3b 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ pird: Makefile .d c/cdio/.d readers/.d writers/.d sources/.d usages/.txt dmd .d c/cdio/.d readers/.d writers/.d sources/*.d -ofpird \

diff --git a/commands.d b/commands.d index 29b2482..83549a2 100644 --- a/commands.d +++ b/commands.d @@ -26,6 +26,8 @@ import std.stdio; import std.string; import std.variant;

+import core.vararg; + import c.cdio.logging;

static import introspection; diff --git a/utils.d b/utils.d index 5e9261d..c20aafa 100644 --- a/utils.d +++ b/utils.d @@ -34,7 +34,7 @@ import c.cdio.types; T bufferTo( T )( char[] buffer ) { char[] tmp;

qno commented 12 years ago

Could you please send or attach the patch as "raw" patch? The issue tracker is interpreting some of the code as markup and therefore it's not useable.