The only change here is to BuildDepend on gcc7-compiler and Depend on gcc7-shlibs, instead of gcc6-*.
(The Depend on gcc7-shlibs only applies to eccodes-fortran-shlibs).
En passant, also avoided the need for a BuildDepends on the gcc7 (was gcc6) package, so that BuildDepends only on gcc7-compiler, not gcc7.
In addition, added missing Depends on eccodes in eccodes-fortran.
The patch file eccodes.patch has not changed but still attached for completeness.
Successfully built and tested on 10.13 with "fink -m build".
No change of package content.
There's been discussion on how to allow -dev packages to Depends on other -dev packages, but there's no good solution that doesn't lead to conflicts and dead locks. For now, they can not directly Depends on one.