From 6104c44c16a903741ddc34851fb948da0f21ec06 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Mon, 23 Jan 2012 13:07:14 +0100 Subject: Add disable_Werror.patch: Disable -Werror, causes build failures due to deprecated symbols. --- debian/patches/disable_Werror.patch | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 debian/patches/disable_Werror.patch (limited to 'debian/patches/disable_Werror.patch') diff --git a/debian/patches/disable_Werror.patch b/debian/patches/disable_Werror.patch new file mode 100644 index 0000000..fc267ca --- /dev/null +++ b/debian/patches/disable_Werror.patch @@ -0,0 +1,31 @@ +Description: Disable -Werror, causes build failures due to deprecated symbols. +Author: Martin Pitt + +Index: indicator-datetime/src/Makefile.am +=================================================================== +--- indicator-datetime.orig/src/Makefile.am 2011-10-06 06:50:07.814203000 +0200 ++++ indicator-datetime/src/Makefile.am 2012-01-23 13:04:31.541545936 +0100 +@@ -15,7 +15,6 @@ + settings-shared.h + indicator_datetime_service_CFLAGS = \ + -Wall \ +- -Werror \ + $(SERVICE_CFLAGS) \ + -DTIMEZONE_FILE="\"/etc/timezone\"" \ + -DG_LOG_DOMAIN=\"Indicator-Datetime\" +@@ -33,7 +32,6 @@ + indicator-datetime.c + libdatetime_la_CFLAGS = \ + $(INDICATOR_CFLAGS) \ +- -Wall -Werror \ + -DTIMEZONE_FILE="\"/etc/timezone\"" \ + -DG_LOG_DOMAIN=\"Indicator-Datetime\" + libdatetime_la_LIBADD = \ +@@ -53,7 +51,6 @@ + settings-shared.h + libindicator_datetime_la_CFLAGS = \ + -Wall \ +- -Werror \ + -I$(top_srcdir)/libmap \ + $(PREF_CFLAGS) \ + -DTIMEZONE_FILE="\"/etc/timezone\"" \ -- cgit v1.2.3