summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Fabbro <bicatali@gentoo.org>2016-11-17 17:26:22 +0000
committerSébastien Fabbro <bicatali@gentoo.org>2016-11-17 17:26:48 +0000
commit7319893a82b52039b567f54ac500c798caa6c47e (patch)
treea7ab5523ef2415b7f3741f0ff71bf774affe0554 /sci-astronomy/esomidas/files/esomidas-nonlinux.patch
parentsci-astronomy/astrometry: fixed a few issues and cleanup (diff)
downloadgentoo-7319893a82b52039b567f54ac500c798caa6c47e.tar.gz
gentoo-7319893a82b52039b567f54ac500c798caa6c47e.tar.bz2
gentoo-7319893a82b52039b567f54ac500c798caa6c47e.zip
sci-astronomy/esomidas: adding a fix for gfortran-6 (bug #594812)
* Fixing an issue with arrays and gfortran >= 6, patch from Debian * Adding another patch from debian for free, for non-linux setups Package-Manager: portage-2.3.2
Diffstat (limited to 'sci-astronomy/esomidas/files/esomidas-nonlinux.patch')
-rw-r--r--sci-astronomy/esomidas/files/esomidas-nonlinux.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/sci-astronomy/esomidas/files/esomidas-nonlinux.patch b/sci-astronomy/esomidas/files/esomidas-nonlinux.patch
new file mode 100644
index 000000000000..e5f68f11e618
--- /dev/null
+++ b/sci-astronomy/esomidas/files/esomidas-nonlinux.patch
@@ -0,0 +1,23 @@
+Author: Ole Streicher <olebole@debian.org>
+Description: Fixes for non-linux (kFreeBSD, Hurd)
+--- a/system/unix/inmidas
++++ b/system/unix/inmidas
+@@ -425,7 +425,7 @@
+ #
+ os=`uname`
+ case "$os" in
+- "SunOS"|"Linux")
++ SunOS|Linux|GNU|GNU/*)
+ if [ -z "$LD_LIBRARY_PATH" ] ; then
+ LD_LIBRARY_PATH=$MIDASHOME/$MIDVERS/lib
+ else
+--- a/test/prim/veriall.prg
++++ b/test/prim/veriall.prg
+@@ -204,6 +204,7 @@
+ write/keyw in_b MID_WORK:veriall_{out_b(1:{inputi})}.{inputc}
+ endif
+ endif
++write/keyw in_b MID_WORK:veriall_debian.{inputc}
+ open/file {in_b} write fc
+ if fc(1) .lt. 0 then
+ write/out Could not create file: "MID_WORK:veriall_{out_b}.{inputc} ..."