[debian-edu-commits] debian-edu/ 01/07: Add patch to remove -Werror and -pedantic.

Dominik George natureshadow-guest at moszumanska.debian.org
Fri Oct 7 13:06:34 UTC 2016


This is an automated email from the git hooks/post-receive script.

natureshadow-guest pushed a commit to branch master
in repository guacamole-server.

commit c23a175a61795f0e8d1280ee89b91ba3d0fc1563
Author: Dominik George <nik at naturalnet.de>
Date:   Fri Oct 7 12:54:11 2016 +0200

    Add patch to remove -Werror and -pedantic.
---
 debian/patches/fix-buildsystem.patch | 150 +++++++++++++++++++++++++++++++++++
 debian/patches/series                |   1 +
 2 files changed, 151 insertions(+)

diff --git a/debian/patches/fix-buildsystem.patch b/debian/patches/fix-buildsystem.patch
new file mode 100644
index 0000000..99bf5c4
--- /dev/null
+++ b/debian/patches/fix-buildsystem.patch
@@ -0,0 +1,150 @@
+Subject: Remove -Werror and -pedantic from build options
+Author: Dominik George <nik at naturalnet.de>
+--- a/configure.ac
++++ b/configure.ac
+@@ -22,7 +22,7 @@
+ 
+ AC_PREREQ([2.61])
+ AC_INIT([guacamole-server], [0.9.9])
+-AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
++AM_INIT_AUTOMAKE([-Wall foreign subdir-objects])
+ AM_SILENT_RULES([yes])
+ 
+ LT_PREREQ([2.2])
+--- a/src/common-ssh/Makefile.am
++++ b/src/common-ssh/Makefile.am
+@@ -40,7 +40,7 @@ noinst_HEADERS =      \
+     guac_ssh_user.h
+ 
+ libguac_common_ssh_la_CFLAGS = \
+-    -Werror -Wall -pedantic    \
++     -Wall     \
+     @COMMON_INCLUDE@           \
+     @LIBGUAC_INCLUDE@
+ 
+--- a/src/common/Makefile.am
++++ b/src/common/Makefile.am
+@@ -50,7 +50,7 @@ libguac_common_la_SOURCES = \
+     guac_surface.c
+ 
+ libguac_common_la_CFLAGS =  \
+-    -Werror -Wall -pedantic \
++     -Wall  \
+     @LIBGUAC_INCLUDE@
+ 
+ libguac_common_la_LIBADD = \
+--- a/src/guacd/Makefile.am
++++ b/src/guacd/Makefile.am
+@@ -46,7 +46,7 @@ guacd_SOURCES =   \
+     log.c
+ 
+ guacd_CFLAGS =              \
+-    -Werror -Wall -pedantic \
++     -Wall  \
+     @COMMON_INCLUDE@        \
+     @LIBGUAC_INCLUDE@
+ 
+--- a/src/libguac/Makefile.am
++++ b/src/libguac/Makefile.am
+@@ -97,7 +97,7 @@ endif
+ 
+ 
+ libguac_la_CFLAGS = \
+-    -Werror -Wall -pedantic -Iguacamole
++     -Wall  -Iguacamole
+ 
+ libguac_la_LDFLAGS =     \
+     -version-info 11:0:0 \
+--- a/src/protocols/rdp/Makefile.am
++++ b/src/protocols/rdp/Makefile.am
+@@ -117,7 +117,7 @@ endif
+ #
+ 
+ libguac_client_rdp_la_CFLAGS = \
+-    -Werror -Wall -Iinclude    \
++     -Wall -Iinclude    \
+     @COMMON_INCLUDE@           \
+     @COMMON_SSH_INCLUDE@       \
+     @LIBGUAC_INCLUDE@
+@@ -137,7 +137,7 @@ libguac_client_rdp_la_LIBADD =     \
+ #
+ 
+ guacdr_cflags                = \
+-    -Werror -Wall -Iinclude    \
++     -Wall -Iinclude    \
+     @COMMON_INCLUDE@           \
+     @COMMON_SSH_INCLUDE@       \
+     @LIBGUAC_INCLUDE@
+@@ -156,7 +156,7 @@ guacdr_libadd =     \
+ #
+ 
+ guacsnd_cflags               = \
+-    -Werror -Wall -Iinclude    \
++     -Wall -Iinclude    \
+     @COMMON_INCLUDE@           \
+     @COMMON_SSH_INCLUDE@       \
+     @LIBGUAC_INCLUDE@
+@@ -175,7 +175,7 @@ guacsnd_libadd =    \
+ #
+ 
+ guacsvc_cflags               = \
+-    -Werror -Wall -Iinclude    \
++     -Wall -Iinclude    \
+     @COMMON_INCLUDE@           \
+     @COMMON_SSH_INCLUDE@       \
+     @LIBGUAC_INCLUDE@
+--- a/src/protocols/ssh/Makefile.am
++++ b/src/protocols/ssh/Makefile.am
+@@ -46,7 +46,7 @@ noinst_HEADERS += ssh_agent.h
+ endif
+ 
+ libguac_client_ssh_la_CFLAGS = \
+-    -Werror -Wall -Iinclude    \
++     -Wall -Iinclude    \
+     @COMMON_SSH_INCLUDE@       \
+     @LIBGUAC_INCLUDE@          \
+     @TERMINAL_INCLUDE@
+--- a/src/protocols/telnet/Makefile.am
++++ b/src/protocols/telnet/Makefile.am
+@@ -38,7 +38,7 @@ noinst_HEADERS =                \
+     telnet_client.h
+ 
+ libguac_client_telnet_la_CFLAGS = \
+-    -Werror -Wall -Iinclude       \
++     -Wall -Iinclude       \
+     @LIBGUAC_INCLUDE@             \
+     @TERMINAL_INCLUDE@
+ 
+--- a/src/protocols/vnc/Makefile.am
++++ b/src/protocols/vnc/Makefile.am
+@@ -44,7 +44,7 @@ noinst_HEADERS += pulse.h
+ endif
+ 
+ libguac_client_vnc_la_CFLAGS =        \
+-    -Werror -Wall -pedantic -Iinclude \
++     -Wall  -Iinclude \
+     @COMMON_INCLUDE@                  \
+     @COMMON_SSH_INCLUDE@              \
+     @LIBGUAC_INCLUDE@
+--- a/src/terminal/Makefile.am
++++ b/src/terminal/Makefile.am
+@@ -55,7 +55,7 @@ libguac_terminal_la_SOURCES =   \
+     terminal_handlers.c
+ 
+ libguac_terminal_la_CFLAGS = \
+-    -Werror -Wall -pedantic  \
++     -Wall   \
+     @COMMON_INCLUDE@         \
+     @LIBGUAC_INCLUDE@        \
+     @PANGO_CFLAGS@           \
+--- a/tests/Makefile.am
++++ b/tests/Makefile.am
+@@ -52,7 +52,7 @@ test_libguac_SOURCES =           \
+     util/guac_unicode.c
+ 
+ test_libguac_CFLAGS =       \
+-    -Werror -Wall -pedantic \
++     -Wall  \
+     @COMMON_INCLUDE@        \
+     @LIBGUAC_INCLUDE@
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..32c5c20
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-buildsystem.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/guacamole-server.git



More information about the debian-edu-commits mailing list