vdr/nvram-wakeup/debian/patches 00list 01_Makefile-fix.dpatch

Thomas Schmidt pkg-vdr-dvb-changes@lists.alioth.debian.org
Mon, 05 Jul 2004 17:00:44 +0000


Update of /cvsroot/pkg-vdr-dvb/vdr/nvram-wakeup/debian/patches
In directory haydn:/tmp/cvs-serv7367/vdr/nvram-wakeup/debian/patches

Added Files:
	00list 01_Makefile-fix.dpatch 
Log Message:
use po-debconf
use dpatch
makefile-fix
cleanup debian/rules a little bit
fixed small lintian warning (debian/copyright)

--- NEW FILE: 00list ---
01_Makefile-fix

--- NEW FILE: 01_Makefile-fix.dpatch ---
#! /bin/sh -e
## 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: No description.

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
--- /home/chelli/vdr/cvs-buildpackage/nvram-wakeup/nvram-wakeup-0.96/Makefile	2004-02-29 23:54:27.000000000 +0100
+++ nvram-wakeup-0.96/Makefile	2004-07-05 18:45:05.000000000 +0200
@@ -32,7 +32,7 @@
 
 CC = gcc
 DEFS = -D_GNU_SOURCE
-CFLAGS = -O2 -Wall -Wstrict-prototypes -g -mcpu=i686 -pedantic $(DEFS)
+CFLAGS = -O2 -Wall -Wstrict-prototypes -g -pedantic $(DEFS)
 INSTALL = install
 INSTALL_STRIP = $(INSTALL) -s