1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## Description: Do not build with *DISABLE_DEPRECATED. libdo uses
3
## deprecated symbols and FTBFS with these flags set. It's wrong to
4
## set them in release tarballs anyway.
5
## Origin/Author: Iain Lane <laney@ubuntu.com
6
## Bug: https://bugs.launchpad.net/do/+bug/647495
7
## 04_dont_disable_deprecated.dpatch by Iain Lane <laney@ubuntu.com>
10
diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' gnome-do-0.8.3.1+dfsg~/libdo/Makefile.am gnome-do-0.8.3.1+dfsg/libdo/Makefile.am
11
--- gnome-do-0.8.3.1+dfsg~/libdo/Makefile.am 2010-09-29 18:04:35.000000000 +0100
12
+++ gnome-do-0.8.3.1+dfsg/libdo/Makefile.am 2010-09-29 18:05:08.036714881 +0100
15
AM_CFLAGS = -DG_LOG_DOMAIN=\"libdo\" \
17
- -DGTK_DISABLE_DEPRECATED \
18
- -DGDK_DISABLE_DEPRECATED \
19
- -DG_DISABLE_DEPRECATED \