Author: waldi Date: 2006-03-11 15:40:58 +0000 (Sat, 11 Mar 2006) New Revision: 107 Added: trunk/xen-3.0/debian/patches/compile_date.dpatch Modified: trunk/xen-3.0/debian/patches/00list Log: Add patch to provide compile date not in current locale. * debian/patches/00list: Enable compile_date. * debian/patches/compile_date.dpatch: Add. Modified: trunk/xen-3.0/debian/patches/00list ==================================================================--- trunk/xen-3.0/debian/patches/00list 2006-03-11 13:04:02 UTC (rev 106) +++ trunk/xen-3.0/debian/patches/00list 2006-03-11 15:40:58 UTC (rev 107) @@ -3,3 +3,4 @@ libdir manpages version +compile_date Added: trunk/xen-3.0/debian/patches/compile_date.dpatch ==================================================================--- trunk/xen-3.0/debian/patches/compile_date.dpatch 2006-03-11 13:04:02 UTC (rev 106) +++ trunk/xen-3.0/debian/patches/compile_date.dpatch 2006-03-11 15:40:58 UTC (rev 107) @@ -0,0 +1,21 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## compile_date.dpatch by Bastian Blank <waldi@debian.org> +## +## All lines beginning with `## DP:'' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad xen-3.0~/xen/Makefile xen-3.0/xen/Makefile +--- xen-3.0~/xen/Makefile 2006-03-11 13:59:27.091532083 +0100 ++++ xen-3.0/xen/Makefile 2006-03-11 14:02:02.651009564 +0100 +@@ -86,8 +86,8 @@ + # compile.h contains dynamic build info. Rebuilt on every ''make'' invocation. + include/xen/compile.h: LANG=C + include/xen/compile.h: include/xen/compile.h.in include/xen/banner.h +- @sed -e ''s/@@date@@/$(shell date)/g'' \ +- -e ''s/@@time@@/$(shell date +%T)/g'' \ ++ @sed -e ''s/@@date@@/$(shell LC_ALL=C date)/g'' \ ++ -e ''s/@@time@@/$(shell LC_ALL=C date +%T)/g'' \ + -e ''s/@@whoami@@/$(shell whoami)/g'' \ + -e ''s/@@domain@@/$(shell ([ -x /bin/dnsdomainname ] && /bin/dnsdomainname) || ([ -x /bin/domainname ] && /bin/domainname || echo [unknown]))/g'' \ + -e ''s/@@hostname@@/$(shell hostname)/g'' \