vdr/vdr-plugin-prefermenu/debian/patches 01_Makefile-fPIC-fix.dpatch 02_Makefile-GNU_SOURCE-fix.dpatch
Thomas Schmidt
pkg-vdr-dvb-changes@lists.alioth.debian.org
Tue, 26 Oct 2004 10:50:56 +0000
Update of /cvsroot/pkg-vdr-dvb/vdr/vdr-plugin-prefermenu/debian/patches
In directory haydn:/tmp/cvs-serv32482/vdr-plugin-prefermenu/debian/patches
Modified Files:
01_Makefile-fPIC-fix.dpatch 02_Makefile-GNU_SOURCE-fix.dpatch
Log Message:
* build-dep on dpatch (>= 2.0.9)
* converted dpatch-files to short format
Index: 02_Makefile-GNU_SOURCE-fix.dpatch
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr-plugin-prefermenu/debian/patches/02_Makefile-GNU_SOURCE-fix.dpatch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- 02_Makefile-GNU_SOURCE-fix.dpatch 1 Oct 2004 17:46:56 -0000 1.1
+++ 02_Makefile-GNU_SOURCE-fix.dpatch 26 Oct 2004 10:50:54 -0000 1.2
@@ -1,26 +1,9 @@
-#!/bin/sh -e
+#!/bin/sh /usr/share/dpatch/dpatch-run
+
## makefile
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: add -D_GNU_SOURCE to enable GNU extensions
-
-if [ $# -ne 1 ]; then
- echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
- exit 1
-fi
-
-[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
-patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
-
-case "$1" in
- -patch) patch $patch_opts -p1 < $0;;
- -unpatch) patch $patch_opts -p1 -R < $0;;
- *)
- echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
- exit 1;;
-esac
-
-exit 0
@DPATCH@
--- vdr-plugin-pvr350-0.0.2/Makefile.orig Thu Feb 26 01:11:15 2004
Index: 01_Makefile-fPIC-fix.dpatch
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr-plugin-prefermenu/debian/patches/01_Makefile-fPIC-fix.dpatch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- 01_Makefile-fPIC-fix.dpatch 5 Aug 2004 21:12:25 -0000 1.1
+++ 01_Makefile-fPIC-fix.dpatch 26 Oct 2004 10:50:54 -0000 1.2
@@ -1,26 +1,9 @@
-#! /bin/sh -e
+#! /bin/sh /usr/share/dpatch/dpatch-run
+
## 01_Makefile-fPIC-fix.dpatch by Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Adds -fPIC to Makefile
-
-if [ $# -lt 1 ]; then
- echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
- exit 1
-fi
-
-[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
-patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"
-
-case "$1" in
- -patch) patch -p1 ${patch_opts} < $0;;
- -unpatch) patch -R -p1 ${patch_opts} < $0;;
- *)
- echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
- exit 1;;
-esac
-
-exit 0
@DPATCH@
diff -urNad /usr/src/self-compiled/vdr/plugins/prefermenu/vdr-plugin-prefermenu-0.6.2/Makefile vdr-plugin-prefermenu-0.6.2/Makefile