1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00

sysutils/fusefs-libs3: fix build with base GCC

PR:		231700
Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>
Approved by:	maintainer timeout (se, >2 weeks)
This commit is contained in:
Steve Wills 2018-10-09 18:29:02 +00:00
parent 2738da4adf
commit 7f7230565b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=481649
2 changed files with 10 additions and 4 deletions

View File

@ -12,10 +12,6 @@ COMMENT= FUSE library version 3 for filesystems implemented in userspace
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING.LIB
BROKEN_mips= fails to compile: unrecognized command line option "-Wno-unused-result"
BROKEN_mips64= fails to compile: unrecognized command line option "-Wno-unused-result"
BROKEN_powerpc64= fails to compile: unrecognized command line option "-Wno-unused-result"
USES= meson
USE_LDCONFIG= yes

View File

@ -0,0 +1,10 @@
--- meson.build.orig 2018-09-24 22:55:28 UTC
+++ meson.build
@@ -80,7 +80,6 @@ int main(void) {
}'''
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
# '.' will refer to current build directory, which contains config.h