aports/community/tilix/undead-xml.patch
2023-03-13 11:02:24 +01:00

37 lines
1.2 KiB
Diff

Patch-Source: https://github.com/archlinux/svntogit-community/blob/722423733c05cb5ed8e7a6ae64b79799795e51e6/trunk/undeaD-xml.patch
--
diff --git a/meson.build b/meson.build
index 79981a96..c7e9cc34 100644
--- a/meson.build
+++ b/meson.build
@@ -7,7 +7,7 @@ project(
compiler = meson.get_compiler('d')
if compiler.get_id() == 'llvm'
- d_extra_args = ['-vcolumns']
+ d_extra_args = ['-vcolumns', '-I=../undeaD/src']
d_link_args = []
else
d_extra_args = []
@@ -29,6 +29,7 @@ iconsdir = datadir / 'icons' / 'hicolor'
appdir = datadir / 'applications'
tilix_sources = [
+ 'undeaD/src/undead/xml.d',
'source/gx/gtk/actions.d',
'source/gx/gtk/cairo.d',
'source/gx/gtk/clipboard.d',
diff --git a/source/gx/tilix/prefeditor/prefdialog.d b/source/gx/tilix/prefeditor/prefdialog.d
index a5c3ce37..9b94042f 100644
--- a/source/gx/tilix/prefeditor/prefdialog.d
+++ b/source/gx/tilix/prefeditor/prefdialog.d
@@ -957,7 +957,7 @@ private:
return;
}
- import std.xml: DocumentParser, ElementParser, Element, XMLException;
+ import undead.xml: DocumentParser, ElementParser, Element, XMLException;
try {
DocumentParser parser = new DocumentParser(ui);