diff options
Diffstat (limited to 'debian/patches/disable_Werror.patch')
-rw-r--r-- | debian/patches/disable_Werror.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/debian/patches/disable_Werror.patch b/debian/patches/disable_Werror.patch new file mode 100644 index 0000000..f71eb33 --- /dev/null +++ b/debian/patches/disable_Werror.patch @@ -0,0 +1,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 + |