[Pkg-xen-changes] r158 - trunk/xen-3.0/debian/patches

Guido Trotter ultrotter at costa.debian.org
Thu Apr 6 13:28:09 UTC 2006


Author: ultrotter
Date: 2006-04-06 13:28:08 +0000 (Thu, 06 Apr 2006)
New Revision: 158

Modified:
   trunk/xen-3.0/debian/patches/compile_date.dpatch
   trunk/xen-3.0/debian/patches/version.dpatch
Log:
Forward port compile_date.dpatch and version.dpatch


Modified: trunk/xen-3.0/debian/patches/compile_date.dpatch
===================================================================
--- trunk/xen-3.0/debian/patches/compile_date.dpatch	2006-04-06 13:18:32 UTC (rev 157)
+++ trunk/xen-3.0/debian/patches/compile_date.dpatch	2006-04-06 13:28:08 UTC (rev 158)
@@ -8,7 +8,7 @@
 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 @@
+@@ -81,8 +81,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

Modified: trunk/xen-3.0/debian/patches/version.dpatch
===================================================================
--- trunk/xen-3.0/debian/patches/version.dpatch	2006-04-06 13:18:32 UTC (rev 157)
+++ trunk/xen-3.0/debian/patches/version.dpatch	2006-04-06 13:28:08 UTC (rev 158)
@@ -8,7 +8,7 @@
 diff -urNad xen-3.0~/xen/Makefile xen-3.0/xen/Makefile
 --- xen-3.0~/xen/Makefile	2006-02-23 22:07:49.000000000 +0100
 +++ xen-3.0/xen/Makefile	2006-03-10 23:44:24.978464943 +0100
-@@ -96,6 +96,9 @@
+@@ -91,6 +91,9 @@
  	    -e 's/@@subversion@@/$(XEN_SUBVERSION)/g' \
  	    -e 's/@@extraversion@@/$(XEN_EXTRAVERSION)/g' \
  	    -e 's!@@changeset@@!$(shell ((hg parents || head -n 7 ../ChangeLog || echo date: unavailable) | awk '{FS="changeset:[ ]+"}/^changeset/{CS=$$2};{FS="date:[ ]+"}/^date/{D=$$2}; END {print D, CS}') 2>/dev/null)!g' \
@@ -21,7 +21,7 @@
 diff -urNad xen-3.0~/xen/common/kernel.c xen-3.0/xen/common/kernel.c
 --- xen-3.0~/xen/common/kernel.c	2006-02-23 22:07:50.000000000 +0100
 +++ xen-3.0/xen/common/kernel.c	2006-03-10 23:44:02.932515123 +0100
-@@ -104,7 +104,7 @@
+@@ -139,7 +139,7 @@
      {
          struct xen_compile_info info;
          safe_strcpy(info.compiler,       XEN_COMPILER);
@@ -29,11 +29,11 @@
 +        safe_strcpy(info.compile_by,     XEN_COMPILE_SYSTEM_MAINTAINER);
          safe_strcpy(info.compile_domain, XEN_COMPILE_DOMAIN);
          safe_strcpy(info.compile_date,   XEN_COMPILE_DATE);
-         if ( copy_to_user(arg, &info, sizeof(info)) )
+         if ( copy_to_guest(arg, &info, 1) )
 diff -urNad xen-3.0~/xen/drivers/char/console.c xen-3.0/xen/drivers/char/console.c
 --- xen-3.0~/xen/drivers/char/console.c	2006-02-23 22:07:50.000000000 +0100
 +++ xen-3.0/xen/drivers/char/console.c	2006-03-10 23:44:02.933514984 +0100
-@@ -463,15 +463,11 @@
+@@ -480,15 +480,11 @@
  
      serial_set_rx_handler(sercon_handle, serial_rx);
  




More information about the Pkg-xen-changes mailing list