Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Oct 2018 18:29:03 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r481649 - in head/sysutils/fusefs-libs3: . files
Message-ID:  <201810091829.w99IT39n040386@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Tue Oct  9 18:29:02 2018
New Revision: 481649
URL: https://svnweb.freebsd.org/changeset/ports/481649

Log:
  sysutils/fusefs-libs3: fix build with base GCC
  
  PR:		231700
  Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>
  Approved by:	maintainer timeout (se, >2 weeks)

Added:
  head/sysutils/fusefs-libs3/files/
  head/sysutils/fusefs-libs3/files/patch-meson.build   (contents, props changed)
Modified:
  head/sysutils/fusefs-libs3/Makefile   (contents, props changed)

Modified: head/sysutils/fusefs-libs3/Makefile
==============================================================================
--- head/sysutils/fusefs-libs3/Makefile	Tue Oct  9 18:17:37 2018	(r481648)
+++ head/sysutils/fusefs-libs3/Makefile	Tue Oct  9 18:29:02 2018	(r481649)
@@ -12,10 +12,6 @@ COMMENT=	FUSE library version 3 for filesystems implem
 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
 

Added: head/sysutils/fusefs-libs3/files/patch-meson.build
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/fusefs-libs3/files/patch-meson.build	Tue Oct  9 18:29:02 2018	(r481649)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810091829.w99IT39n040386>