r2528 - in vdr/vdr-plugin-zaphistory/trunk/debian: . patches

Tobias Grimm tiber-guest at costa.debian.org
Mon Apr 24 19:40:09 UTC 2006


Author: tiber-guest
Date: 2006-04-24 19:40:09 +0000 (Mon, 24 Apr 2006)
New Revision: 2528

Added:
   vdr/vdr-plugin-zaphistory/trunk/debian/patches/
   vdr/vdr-plugin-zaphistory/trunk/debian/patches/00list
   vdr/vdr-plugin-zaphistory/trunk/debian/patches/90_APIVERSION.dpatch
Log:
./vdr-plugin-zaphistory: APIVERSION dpatch

Added: vdr/vdr-plugin-zaphistory/trunk/debian/patches/00list
===================================================================
--- vdr/vdr-plugin-zaphistory/trunk/debian/patches/00list	2006-04-24 19:40:04 UTC (rev 2527)
+++ vdr/vdr-plugin-zaphistory/trunk/debian/patches/00list	2006-04-24 19:40:09 UTC (rev 2528)
@@ -0,0 +1 @@
+90_APIVERSION.dpatch

Added: vdr/vdr-plugin-zaphistory/trunk/debian/patches/90_APIVERSION.dpatch
===================================================================
--- vdr/vdr-plugin-zaphistory/trunk/debian/patches/90_APIVERSION.dpatch	2006-04-24 19:40:04 UTC (rev 2527)
+++ vdr/vdr-plugin-zaphistory/trunk/debian/patches/90_APIVERSION.dpatch	2006-04-24 19:40:09 UTC (rev 2528)
@@ -0,0 +1,20 @@
+#! /bin/sh -e
+## 90_APIVERSION.dpatch by Thomas Günther <tom at toms-cafe.de>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Support for the APIVERSION define as introduced in VDR-1.3.47.
+
+case "$1" in
+    -patch)
+        sed -i -e s/VDRVERSION/APIVERSION/g Makefile
+        ;;
+    -unpatch)
+        sed -i -e s/APIVERSION/VDRVERSION/g Makefile
+        ;;
+     *)
+        echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+        exit 1
+        ;;
+esac
+
+exit 0




More information about the pkg-vdr-dvb-changes mailing list