[emos] 02/04: Add case for __GNU__ in ifdef

Alastair McKinstry mckinstry at moszumanska.debian.org
Tue Jul 14 12:42:11 UTC 2015


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

mckinstry pushed a commit to tag debian/2%4.0.3+dfsg.1-3
in repository emos.

commit 12ec459e62db4d6a328b87927dd4980897f82ba0
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Thu Jul 9 11:08:51 2015 +0100

    Add case for __GNU__ in ifdef
---
 debian/patches/build_fixes.patch | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/debian/patches/build_fixes.patch b/debian/patches/build_fixes.patch
new file mode 100644
index 0000000..951169c
--- /dev/null
+++ b/debian/patches/build_fixes.patch
@@ -0,0 +1,18 @@
+Author: Alastair McKinstry <mckinstry at debian.org>
+Description: Build fix for Hurd-i386 on Debian
+Last-Updated: 2015-07-09
+Forwarded: no
+
+Index: emoslib-4.0.3+dfsg.1/gribex/csect4.F
+===================================================================
+--- emoslib-4.0.3+dfsg.1.orig/gribex/csect4.F
++++ emoslib-4.0.3+dfsg.1/gribex/csect4.F
+@@ -304,7 +304,7 @@ C     Calculate the scale and reference
+ #endif
+ #if defined hpR32 || defined (__alpha) || defined hpR64 || defined hpiaR64
+       ISCALE = MIN (INT(ZS),INT(ZS+DSIGN(1.0D0,ZS)))
+-#elif defined (linux) || defined (darwin)
++#elif defined (linux) || defined (darwin) || defined(__GNU__)
+       ISCALE = MIN (INT(ZS),INT(ZS+SIGN(1.D0,ZS)))
+ #else
+       ISCALE = MIN (INT(ZS),INT(ZS+SIGN(1.,ZS)))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/emos.git



More information about the debian-science-commits mailing list