aboutsummaryrefslogtreecommitdiffstats
path: root/community/xrdp/remove-werror.patch
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-09-07 02:15:20 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-09-07 02:15:20 -0300
commitc59eabc6dacb56b4f760b3dddb9241ee8dae2df5 (patch)
tree2b9bbb5dda1701a59e0f6f9c193432f9b0db5c03 /community/xrdp/remove-werror.patch
parentbcfcede97160ee03c1b4484934edbd5de5ea9158 (diff)
downloadaports-c59eabc6dacb56b4f760b3dddb9241ee8dae2df5.tar.gz
aports-c59eabc6dacb56b4f760b3dddb9241ee8dae2df5.tar.bz2
aports-c59eabc6dacb56b4f760b3dddb9241ee8dae2df5.tar.xz
community/xrdp: upgrade to 0.9.14
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])],