aboutsummaryrefslogtreecommitdiffstats
path: root/community/xrdp/remove-werror.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/xrdp/remove-werror.patch')
-rw-r--r--community/xrdp/remove-werror.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/community/xrdp/remove-werror.patch b/community/xrdp/remove-werror.patch
new file mode 100644
index 0000000000..078ab13ec3
--- /dev/null
+++ b/community/xrdp/remove-werror.patch
@@ -0,0 +1,16 @@
+Upstream: Not applicable but they are doing it wrong
+Reason: Upstream is enabling Werror for non-debug builds
+
+diff --git a/configure.ac b/configure.ac
+index 8a2d230..7c9fdc2 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -156,8 +156,6 @@ AX_TYPE_SOCKLEN_T
+ AX_CFLAGS_WARN_ALL
+ AX_APPEND_COMPILE_FLAGS([-Wwrite-strings])
+
+-AM_COND_IF([LINUX],
+- [AX_APPEND_COMPILE_FLAGS([-Werror])]) # bsd has warnings that have not been fixed yet
+
+ AM_COND_IF([XRDP_DEBUG],
+ [AX_APPEND_COMPILE_FLAGS([-g -O0])],