summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Krufky <devnull@localhost>2005-06-23 16:36:00 +0000
committerMichael Krufky <devnull@localhost>2005-06-23 16:36:00 +0000
commitb856b3652ccdf763f040f83d26171516ee72095f (patch)
treee00b51528d05588ab999e11941939c8adb6a0e5d
parentea0fd8f66cbc4d010e74d7b952d2176c3fd3cf99 (diff)
downloadmediapointer-dvb-s2-b856b3652ccdf763f040f83d26171516ee72095f.tar.gz
mediapointer-dvb-s2-b856b3652ccdf763f040f83d26171516ee72095f.tar.bz2
* scripts/buildpatch:
- Produce diffstat before patch. - diffstat & patch to STDOUT. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
-rw-r--r--v4l/ChangeLog12
-rw-r--r--v4l/scripts/buildpatch11
2 files changed, 21 insertions, 2 deletions
diff --git a/v4l/ChangeLog b/v4l/ChangeLog
index 7983d1f09..e26b5aa1a 100644
--- a/v4l/ChangeLog
+++ b/v4l/ChangeLog
@@ -1,3 +1,11 @@
+2005-06-23 12:24 mkrufky
+ * scripts/buildpatch:
+
+ - Produce diffstat before patch.
+ - diffstat & patch to STDOUT.
+
+ Signed-off-by: Michael Krufky <mkrufky@m1k.net>
+
2005-06-22 23:00 nshmyrev
* saa7134-cards.c, saa7134-input.c:
@@ -123,7 +131,7 @@
2005-06-20 23:00 mkrufky
* saa7134-cards.c, saa7134-input.c, saa7134.h:
* tuner-simple.c, tuner.h:
- * CARDLIST.saa7134, CARDLIST.tuner:
+ * doc/CARDLIST.saa7134, doc/CARDLIST.tuner:
- Add new card entry: Kworld Xpert TV PVR7134
- Add new tuner entry: Tena TNF9533-B/DF
@@ -179,7 +187,7 @@
2005-06-19 22:55 mkrufky
* cx88-cards.c, cx88-dvb.c, cx88-mpeg.c:
* cx88-video.c, cx88.h, tuner.h:
- * CARDLIST.cx88:
+ * doc/CARDLIST.cx88:
- Fix DViCO Board names as per email from
DViCO Systems Software Engineer Jeff Lee:
diff --git a/v4l/scripts/buildpatch b/v4l/scripts/buildpatch
index e308d7ec2..0778ee1ee 100644
--- a/v4l/scripts/buildpatch
+++ b/v4l/scripts/buildpatch
@@ -157,6 +157,10 @@ sub delfile ($) {
#################################################################
# main
+my $patchtmploc = "/tmp/temp.patch";
+open(PATCHTMP, ">", $patchtmploc) || die("can't open tempfile: $!");
+select(PATCHTMP);
+
printf STDERR <<EOF,$CODE;
kernel in $LINUX is $VERSION (0x%x)
EOF
@@ -180,3 +184,10 @@ while (my $line = <CONFIG>) {
}
}
+
+close(PATCHTMP);
+select(STDOUT);
+
+system "diffstat -p0 -w72 $patchtmploc";
+print "\n",readfile($patchtmploc);
+unlink $patchtmploc;