summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/xrootd/files/xrootd-no-werror.patch')
-rw-r--r--net-libs/xrootd/files/xrootd-no-werror.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-libs/xrootd/files/xrootd-no-werror.patch b/net-libs/xrootd/files/xrootd-no-werror.patch
new file mode 100644
index 000000000000..d9f3b1c52f7b
--- /dev/null
+++ b/net-libs/xrootd/files/xrootd-no-werror.patch
@@ -0,0 +1,11 @@
+--- cmake/XRootDOSDefs.cmake.orig 2014-06-04 20:31:15.000000000 +0400
++++ cmake/XRootDOSDefs.cmake 2014-08-21 12:12:55.397368485 +0400
+@@ -15,7 +15,7 @@
+ # GCC
+ #-------------------------------------------------------------------------------
+ if( CMAKE_COMPILER_IS_GNUCXX )
+- set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror" )
++ set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra" )
+ set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-parameter" )
+ # gcc 4.1 is retarded
+ execute_process( COMMAND ${CMAKE_C_COMPILER} -dumpversion