diff --git a/srcpkgs/dmd/files/default_ddoc_theme.ddoc b/srcpkgs/dmd/files/default_ddoc_theme.ddoc
new file mode 100644
index 00000000000..93c8f6c192b
--- /dev/null
+++ b/srcpkgs/dmd/files/default_ddoc_theme.ddoc
@@ -0,0 +1,735 @@
+LPAREN = (
+RPAREN = )
+BACKTICK = `
+DOLLAR = $
+
+ESCAPES =
+ /</
+ />/>/
+ /&/&/
+
+B = $0
+I = $0
+U = $0
+P =
$0
+DL = $0
+DT = $0
+DD = $0
+TABLE =
+TR = $0
+TH = $0 |
+TD = $0 |
+OL = $0
+UL =
+LI = $0
+BIG = $0
+SMALL = $0
+BR =
+LINK = $0
+LINK2 = $+
+DEPRECATED = $0
+
+RED = $0
+BLUE = $0
+GREEN = $0
+YELLOW = $0
+BLACK = $0
+WHITE = $0
+
+D_CODE =
+
+
+D_INLINECODE = $0
+DDOC_BACKQUOTED = $(D_INLINECODE $0)
+D_COMMENT =
+D_STRING = $0
+D_KEYWORD = $0
+D_PSYMBOL = $0
+D_PARAM = $0
+
+DDOC_BLANKLINE =
+DDOC_COMMENT =
+
+DDOC =
+
+
+
+
+ $(TITLE)
+
+
+
+
+
+
+
+DDOC_MODULE_MEMBERS =
+
+ $(DDOC_MEMBERS $0)
+
+
+
+DDOC_CLASS_MEMBERS = $(DDOC_MEMBERS $0)
+DDOC_STRUCT_MEMBERS = $(DDOC_MEMBERS $0)
+DDOC_ENUM_MEMBERS = $(DDOC_MEMBERS $0)
+DDOC_TEMPLATE_MEMBERS = $(DDOC_MEMBERS $0)
+
+DDOC_MEMBERS =
+
+DDOC_MEMBER =
+ $0
+
+
+DDOC_MEMBER_HEADER =
+
+DDOC_HEADER_ANCHOR =
+
+DDOC_DECL =
+
+DDOC_ANCHOR =
+
+DDOC_DECL_DD =
+ $0
+
+
+DDOC_SECTIONS =
+
+DDOC_SUMMARY =
+
+DDOC_DESCRIPTION =
+
+DDOC_EXAMPLES =
+
+DDOC_RETURNS =
+
Return Value
+
+ $0
+
+
+
+DDOC_PARAMS =
+
+DDOC_PARAM_ROW =
+ $0
+
+
+DDOC_PARAM_ID =
+
+ $0
+
+ |
+
+DDOC_PARAM_DESC =
+
+ |
+
+DDOC_LICENSE =
+
+DDOC_AUTHORS =
+
+DDOC_BUGS =
+
+DDOC_COPYRIGHT =
+
+DDOC_DATE =
+
+DDOC_DEPRECATED =
+
+DDOC_HISTORY =
+
+DDOC_SEE_ALSO =
+
+DDOC_STANDARDS =
+
+DDOC_THROWS =
+
+DDOC_VERSION =
+
+DDOC_SECTION =
+
+DDOC_SECTION_H = $0
+
+DDOC_DITTO =
+$0
+
+DDOC_PSYMBOL = $0
+DDOC_ENUM_BASETYPE = $0
+DDOC_PSUPER_SYMBOL = $0
+DDOC_KEYWORD = $0
+DDOC_PARAM = $0
+DDOC_CONSTRAINT = $(DDOC_CONSTRAINT) if ($0)
+DDOC_OVERLOAD_SEPARATOR = $0
+DDOC_TEMPLATE_PARAM_LIST = $0
+DDOC_TEMPLATE_PARAM = $0
diff --git a/srcpkgs/dmd/template b/srcpkgs/dmd/template
index 5b7980e9399..26f9d77fbc0 100644
--- a/srcpkgs/dmd/template
+++ b/srcpkgs/dmd/template
@@ -1,14 +1,14 @@
# Template file for 'dmd'
pkgname=dmd
-version=2.072.0
+version=2.074.1
revision=1
wrksrc="dmd2"
short_desc="The Digital Mars D compiler"
maintainer="Juan RP "
homepage="http://www.digitalmars.com/d/2.0/"
-license="GPL-2"
+license="Boost Software License 1.0"
distfiles="http://downloads.dlang.org/releases/2.x/${version}/dmd.${version}.linux.tar.xz"
-checksum=70341c2e8a90c46224d60f3bef200d5b2ddd6946b176ac2321e47d8ada2ad512
+checksum=e48783bd91d77bfdcd702bd268c5ac5d322975dd4b3ad68831babd74509d2ce9
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
_archbits=64
@@ -25,6 +25,10 @@ depends="libphobos>=${version} gcc"
do_build() {
cd src
+ # missing file in archive for some reason?
+ mkdir -p res
+ cp ${FILESDIR}/default_ddoc_theme.ddoc res
+
cd dmd
make ${makejobs} -f posix.mak MODEL=${_archbits} AUTO_BOOTSTRAP=1