~ubuntu-branches/ubuntu/edgy/vdr-plugin-prefermenu/edgy

« back to all changes in this revision

Viewing changes to debian/patches/02_Makefile-GNU_SOURCE-fix.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Debian VDR Team
  • Date: 2005-03-26 17:35:49 UTC
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20050326173549-qm7g7o13vx30pi3j
Tags: 0.6.2-4
* Thomas Schmidt <tschmidt@debian.org>
  - Use patchlevel.sh subst in debian/rules not the old code,
    therefore Build-Depend on vdr (>=1.2.6-7)
  - Changed my email-address to the debian one

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh -e
 
1
#!/bin/sh /usr/share/dpatch/dpatch-run
 
2
 
2
3
## makefile
3
4
##
4
5
## All lines beginning with `## DP:' are a description of the patch.
5
6
## DP: add -D_GNU_SOURCE to enable GNU extensions
6
7
 
7
 
if [ $# -ne 1 ]; then
8
 
    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
9
 
    exit 1
10
 
fi
11
 
 
12
 
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
13
 
patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
14
 
 
15
 
case "$1" in
16
 
       -patch) patch $patch_opts -p1 < $0;;
17
 
       -unpatch) patch $patch_opts -p1 -R < $0;;
18
 
        *)
19
 
                echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
20
 
                exit 1;;
21
 
esac
22
 
 
23
 
exit 0
24
 
 
25
8
@DPATCH@
26
9
--- vdr-plugin-pvr350-0.0.2/Makefile.orig       Thu Feb 26 01:11:15 2004
27
10
+++ vdr-plugin-pvr350-0.0.2/Makefile    Thu Feb 26 01:11:34 2004