commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnumach] 01/01: patches/20_FP_NO.patch: Avoid defining FP_NO


From: Samuel Thibault
Subject: [gnumach] 01/01: patches/20_FP_NO.patch: Avoid defining FP_NO
Date: Thu, 24 Mar 2016 00:39:00 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch master
in repository gnumach.

commit 2008ba6791dc8ff49caa8274c8fe07fceeb87d3a
Author: Samuel Thibault <address@hidden>
Date:   Thu Mar 24 01:38:42 2016 +0100

    patches/20_FP_NO.patch: Avoid defining FP_NO
---
 debian/changelog              |  1 +
 debian/patches/20_FP_NO.patch | 19 +++++++++++++++++++
 debian/patches/series         |  1 +
 3 files changed, 21 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index efb9060..c9edea5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 gnumach (2:1.6+git20160311-2) UNRELEASED; urgency=medium
 
   * control.in: Really bump dpkg-dev and debhelper versions.
+  * patches/20_FP_NO.patch: Avoid defining FP_NO.
 
  -- Samuel Thibault <address@hidden>  Fri, 11 Mar 2016 23:21:56 +0000
 
diff --git a/debian/patches/20_FP_NO.patch b/debian/patches/20_FP_NO.patch
new file mode 100644
index 0000000..0d8ee8f
--- /dev/null
+++ b/debian/patches/20_FP_NO.patch
@@ -0,0 +1,19 @@
+diff --git a/i386/include/mach/i386/fp_reg.h b/i386/include/mach/i386/fp_reg.h
+index 5673055..f490623 100644
+--- a/i386/include/mach/i386/fp_reg.h
++++ b/i386/include/mach/i386/fp_reg.h
+@@ -117,6 +117,7 @@ struct i386_xfp_save {
+ #define       FPS_C3          0x4000          /* condition code bit 3 */
+ #define       FPS_BUSY        0x8000          /* FPU busy */
+ 
++#ifdef MACH_KERNEL
+ /*
+  * Kind of floating-point support provided by kernel.
+  */
+@@ -125,5 +126,6 @@ struct i386_xfp_save {
+ #define       FP_287          2               /* 80287 */
+ #define       FP_387          3               /* 80387 or 80486 */
+ #define       FP_387X         4               /* FXSAVE/RSTOR-capable */
++#endif
+ 
+ #endif        /* _MACH_I386_FP_REG_H_ */
diff --git a/debian/patches/series b/debian/patches/series
index a95f927..b804345 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,5 +1,6 @@
 11_ignore_CSIn.patch
 12_version_suffix.patch
+20_FP_NO.patch
 50_initrd.patch
 60_bigmem.patch
 70_dde.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/gnumach.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]