summaryrefslogtreecommitdiff
path: root/sysutils/fusefs-sshfs/files
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2018-11-05 23:30:50 +0000
committerMark Linimon <linimon@FreeBSD.org>2018-11-05 23:30:50 +0000
commite51bdde5a4e12465090fa82a2e603f570b62a868 (patch)
tree20b3cc8d13b34ec2de07c9ba1416c194f0941af8 /sysutils/fusefs-sshfs/files
parent- While major 6.4 update still cooking (authors dropped openssl support at all (diff)
On architectures that use GCC in base, the "-Wno-unused-result" flag
must be disabled to fix the build. PR: 231944 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket)
Notes
Notes: svn path=/head/; revision=484258
Diffstat (limited to 'sysutils/fusefs-sshfs/files')
-rw-r--r--sysutils/fusefs-sshfs/files/patch-meson.build22
1 files changed, 18 insertions, 4 deletions
diff --git a/sysutils/fusefs-sshfs/files/patch-meson.build b/sysutils/fusefs-sshfs/files/patch-meson.build
index 7922ced06d4f..e63e4db55cfb 100644
--- a/sysutils/fusefs-sshfs/files/patch-meson.build
+++ b/sysutils/fusefs-sshfs/files/patch-meson.build
@@ -1,13 +1,27 @@
---- meson.build.orig 2017-10-25 18:32:34 UTC
+--- meson.build.orig 2018-06-29 08:34:57 UTC
+++ meson.build
-@@ -63,10 +63,5 @@ else
+@@ -19,12 +19,7 @@ int main(void) {
+ (void) get_4();
+ return 0;
+ }'''
+-if not cc.compiles(code, args: [ '-O0', '-Werror=unused-result' ])
+- message('Compiler warns about unused result even when casting to void')
+- add_global_arguments('-Wno-unused-result', language: 'c')
+-endif
+
+-
+ rst2man = find_program('rst2man', required: false)
+
+ cfg = configuration_data()
+@@ -62,11 +57,6 @@ if rst2man.found()
+ else
message('rst2man not found, not building manual page.')
endif
-
+-
-meson.add_install_script('utils/install_helper.sh',
- get_option('sbindir'),
- get_option('bindir'))
-
--
+
subdir('test')