diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2012-11-25 17:41:16 +0000 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2012-11-25 17:41:16 +0000 |
commit | c5d70b23d57c478fc5dc6ea5da8b4b03d123f927 (patch) | |
tree | 94281d21b9329ba814a84ff5b76d5aad5fb3a65a /debian/patches/no-gcc-warnings.patch | |
parent | 0069ef22ba877f2a5dddfb8722757f5c3577b661 (diff) | |
download | trousers-c5d70b23d57c478fc5dc6ea5da8b4b03d123f927.tar.gz |
Dyson fixes
Diffstat (limited to 'debian/patches/no-gcc-warnings.patch')
-rw-r--r-- | debian/patches/no-gcc-warnings.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/no-gcc-warnings.patch b/debian/patches/no-gcc-warnings.patch new file mode 100644 index 0000000..7ce6361 --- /dev/null +++ b/debian/patches/no-gcc-warnings.patch @@ -0,0 +1,15 @@ +Index: trousers/configure.in +=================================================================== +--- trousers.orig/configure.in 2012-11-25 16:10:45.294954888 +0000 ++++ trousers/configure.in 2012-11-25 16:28:00.842138403 +0000 +@@ -357,10 +357,6 @@ + AC_CHECK_HEADER(sys/byteorder.h, [AC_DEFINE(HAVE_BYTEORDER_H, 1, [sys/byteorder.h header])]) + AC_CHECK_FUNC(daemon, [ AC_DEFINE(HAVE_DAEMON, 1, [daemon function is available]) ]) + +-if test "x${GCC}" = "xyes"; then +- CFLAGS="$CFLAGS -W -Wall -Werror -Wno-unused-parameter -Wsign-compare" +-fi +- + CFLAGS="$CFLAGS -I../include \ + -DTCSD_DEFAULT_PORT=${TCSD_DEFAULT_PORT} -DTSS_VER_MAJOR=${TSS_VER_MAJOR} \ + -DTSS_VER_MINOR=${TSS_VER_MINOR} -DTSS_SPEC_MAJOR=${TSS_SPEC_MAJOR} \ |