Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160359704
D21067.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D21067.id.diff
View Options
Index: head/devel/py-llfuse/Makefile
===================================================================
--- head/devel/py-llfuse/Makefile
+++ head/devel/py-llfuse/Makefile
@@ -12,8 +12,6 @@
LICENSE= LGPL20+
-BROKEN_powerpc64= Does not build: error: conversion to mode_t from int may alter its value
-
USES= compiler:c++11-lang fuse pkgconfig python tar:bz2
USE_PYTHON= autoplist distutils
Index: head/devel/py-llfuse/files/files/patch-setup.py
===================================================================
--- head/devel/py-llfuse/files/files/patch-setup.py
+++ head/devel/py-llfuse/files/files/patch-setup.py
@@ -0,0 +1,36 @@
+--- setup.py.orig 2017-01-22 22:24:10 UTC
++++ setup.py
+@@ -80,24 +80,24 @@ def main():
+ # We may have unused functions if we compile for older FUSE versions
+ compile_args.append('-Wno-unused-function')
+
+- # Value-changing conversions should always be explicit.
+- compile_args.append('-Werror=conversion')
+-
+- # Note that (i > -1) is false if i is unsigned (-1 will be converted to
+- # a large positive value). We certainly don't want to do this by
+- # accident.
+- compile_args.append('-Werror=sign-compare')
+-
+ # Enable all fatal warnings only when compiling from Mercurial tip.
+ # (otherwise we break forward compatibility because compilation with newer
+ # compiler may fail if additional warnings are added)
+- if DEVELOPER_MODE:
++ if 0:
+ compile_args.append('-Werror')
+ compile_args.append('-Wfatal-errors')
+
+ # Unreachable code is expected because we need to support multiple
+ # platforms and architectures.
+ compile_args.append('-Wno-error=unreachable-code')
++
++ # Value-changing conversions should always be explicit.
++ compile_args.append('-Werror=conversion')
++
++ # Note that (i > -1) is false if i is unsigned (-1 will be converted to
++ # a large positive value). We certainly don't want to do this by
++ # accident.
++ compile_args.append('-Werror=sign-compare')
+
+ # http://bugs.python.org/issue7576
+ if sys.version_info[0] == 3 and sys.version_info[1] < 2:
Index: head/devel/py-llfuse/files/patch-setup.py
===================================================================
--- head/devel/py-llfuse/files/patch-setup.py
+++ head/devel/py-llfuse/files/patch-setup.py
@@ -0,0 +1,36 @@
+--- setup.py.orig 2017-01-22 22:24:10 UTC
++++ setup.py
+@@ -80,24 +80,24 @@ def main():
+ # We may have unused functions if we compile for older FUSE versions
+ compile_args.append('-Wno-unused-function')
+
+- # Value-changing conversions should always be explicit.
+- compile_args.append('-Werror=conversion')
+-
+- # Note that (i > -1) is false if i is unsigned (-1 will be converted to
+- # a large positive value). We certainly don't want to do this by
+- # accident.
+- compile_args.append('-Werror=sign-compare')
+-
+ # Enable all fatal warnings only when compiling from Mercurial tip.
+ # (otherwise we break forward compatibility because compilation with newer
+ # compiler may fail if additional warnings are added)
+- if DEVELOPER_MODE:
++ if 0:
+ compile_args.append('-Werror')
+ compile_args.append('-Wfatal-errors')
+
+ # Unreachable code is expected because we need to support multiple
+ # platforms and architectures.
+ compile_args.append('-Wno-error=unreachable-code')
++
++ # Value-changing conversions should always be explicit.
++ compile_args.append('-Werror=conversion')
++
++ # Note that (i > -1) is false if i is unsigned (-1 will be converted to
++ # a large positive value). We certainly don't want to do this by
++ # accident.
++ compile_args.append('-Werror=sign-compare')
+
+ # http://bugs.python.org/issue7576
+ if sys.version_info[0] == 3 and sys.version_info[1] < 2:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jun 24, 4:31 PM (17 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34256976
Default Alt Text
D21067.id.diff (3 KB)
Attached To
Mode
D21067: devel/py-llfuse: Fix build (warning=error), remove -Werror
Attached
Detach File
Event Timeline
Log In to Comment