aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/disable_Werror.patch
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-02-17 16:02:10 -0600
committerTed Gould <ted@gould.cx>2012-02-17 16:02:10 -0600
commit6e60a40ec583b507aef6254a744631f30f9e072d (patch)
treeb38ed22bfa7ca864def9532fa6d25e83384f4974 /debian/patches/disable_Werror.patch
parent9f5bd6e87a8c6ea411a2326e44814b686a501a55 (diff)
parent4a2175798e434a4e33def2f30e15b49714eab33b (diff)
downloadayatana-indicator-datetime-6e60a40ec583b507aef6254a744631f30f9e072d.tar.gz
ayatana-indicator-datetime-6e60a40ec583b507aef6254a744631f30f9e072d.tar.bz2
ayatana-indicator-datetime-6e60a40ec583b507aef6254a744631f30f9e072d.zip
Merging in Ubuntu Desktop
Diffstat (limited to 'debian/patches/disable_Werror.patch')
-rw-r--r--debian/patches/disable_Werror.patch31
1 files changed, 31 insertions, 0 deletions
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 <martin.pitt@ubuntu.com>
+
+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\"" \