aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/disable_Werror.patch
blob: f71eb33aeee88cd18f709e31542c57756bfb7ac3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Description: Build without -Werror, to avoid build failure due to deprecated declarations.
Author: Martin Pitt <martin.pitt@ubuntu.com>
Bug: https://launchpad.net/bugs/912160

Index: indicator-sound-0.8.0.0/src/Makefile.in
===================================================================
--- indicator-sound-0.8.0.0.orig/src/Makefile.in	2011-12-01 19:33:43.000000000 +0100
+++ indicator-sound-0.8.0.0/src/Makefile.in	2012-01-05 09:43:38.000000000 +0100
@@ -357,7 +357,7 @@
             gen-sound-service.xml.c \
             dbus-shared-names.h
 
-libsoundmenu_la_CFLAGS = $(APPLET_CFLAGS) -Wall -Werror -DG_LOG_DOMAIN=\"Indicator-Sound\"
+libsoundmenu_la_CFLAGS = $(APPLET_CFLAGS) -Wall -DG_LOG_DOMAIN=\"Indicator-Sound\"
 libsoundmenu_la_LIBADD = $(APPLET_LIBS) -lm
 libsoundmenu_la_LDFLAGS = -module -avoid-version
 
Index: indicator-sound-0.8.0.0/src/Makefile.am
===================================================================
--- indicator-sound-0.8.0.0.orig/src/Makefile.am	2011-12-01 15:56:10.000000000 +0100
+++ indicator-sound-0.8.0.0/src/Makefile.am	2012-01-05 09:43:52.670645999 +0100
@@ -28,7 +28,7 @@
             gen-sound-service.xml.c \
             dbus-shared-names.h
 
-libsoundmenu_la_CFLAGS = $(APPLET_CFLAGS) -Wall -Werror -DG_LOG_DOMAIN=\"Indicator-Sound\"
+libsoundmenu_la_CFLAGS = $(APPLET_CFLAGS) -Wall -DG_LOG_DOMAIN=\"Indicator-Sound\"
 libsoundmenu_la_LIBADD = $(APPLET_LIBS) -lm
 libsoundmenu_la_LDFLAGS = -module -avoid-version