summaryrefslogtreecommitdiff
path: root/chat/hexchat/patches/patch-plugins_sysinfo_meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'chat/hexchat/patches/patch-plugins_sysinfo_meson.build')
-rw-r--r--chat/hexchat/patches/patch-plugins_sysinfo_meson.build22
1 files changed, 22 insertions, 0 deletions
diff --git a/chat/hexchat/patches/patch-plugins_sysinfo_meson.build b/chat/hexchat/patches/patch-plugins_sysinfo_meson.build
new file mode 100644
index 00000000000..6fcf768fc42
--- /dev/null
+++ b/chat/hexchat/patches/patch-plugins_sysinfo_meson.build
@@ -0,0 +1,22 @@
+$NetBSD: patch-plugins_sysinfo_meson.build,v 1.1 2018/03/17 11:56:15 tnn Exp $
+
+XXX this is incomplete
+
+--- plugins/sysinfo/meson.build.orig 2018-03-14 02:27:13.000000000 +0000
++++ plugins/sysinfo/meson.build
+@@ -13,13 +13,13 @@ sysinfo_includes = []
+ sysinfo_cargs = []
+
+ system = host_machine.system()
+-if system == 'linux' or system == 'darwin'
++if system == 'linux' or system == 'darwin' or system == 'netbsd'
+ sysinfo_includes += 'shared'
+ sysinfo_sources += [
+ 'shared/df.c'
+ ]
+
+- if system == 'linux'
++ if system == 'linux' or system == 'netbsd'
+ libpci = dependency('libpci', required: false, method: 'pkg-config')
+ if libpci.found()
+ sysinfo_deps += libpci