vdr/nvram-wakeup/debian/patches 01_Makefile-fix.dpatch 03_set_timer.dpatch
Thomas Schmidt
pkg-vdr-dvb-changes@lists.alioth.debian.org
Tue, 26 Oct 2004 10:27:26 +0000
Update of /cvsroot/pkg-vdr-dvb/vdr/nvram-wakeup/debian/patches
In directory haydn:/tmp/cvs-serv24865/nvram-wakeup/debian/patches
Modified Files:
01_Makefile-fix.dpatch 03_set_timer.dpatch
Log Message:
* build-dep on dpatch (>= 2.0.9)
* converted dpatch-files to short format
Index: 03_set_timer.dpatch
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/nvram-wakeup/debian/patches/03_set_timer.dpatch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- 03_set_timer.dpatch 21 Jul 2004 17:48:02 -0000 1.2
+++ 03_set_timer.dpatch 26 Oct 2004 10:27:24 -0000 1.3
@@ -1,27 +1,9 @@
-#! /bin/sh -e
+#! /bin/sh /usr/share/dpatch/dpatch-run
## 03_set_timer.dpatch by Tobias Grimm <tg@e-tobi.net>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: fixes the paths in set_timer to refer to time in /usr/sbin and
## DP: writing its data between two reboots to /var/tmp/
-
-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 -Nur nvram-wakeup.orig/set_timer nvram-wakeup/set_timer
Index: 01_Makefile-fix.dpatch
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/nvram-wakeup/debian/patches/01_Makefile-fix.dpatch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- 01_Makefile-fix.dpatch 6 Jul 2004 23:53:20 -0000 1.2
+++ 01_Makefile-fix.dpatch 26 Oct 2004 10:27:24 -0000 1.3
@@ -1,26 +1,8 @@
-#! /bin/sh -e
+#! /bin/sh /usr/share/dpatch/dpatch-run
## 01_Makefile-fix.dpatch by Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Disable Optimization for i686
-
-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 /home/chelli/vdr/cvs-buildpackage/nvram-wakeup/nvram-wakeup-0.96/Makefile nvram-wakeup-0.96/Makefile