Xephem has been updated to 4.7.7. http://www.clearskyinstitute.com/xephem/changes.html
Created attachment 423754 [details] xephem-3.7.7 ebuild
Created attachment 423756 [details, diff] Patch to correctly source X Headers
Created attachment 423758 [details, diff] Respect Env Vars
There's a typo in the first comment - the version being upgraded to is 3.7.7 not 4.7.7. Attached are the ebuild and patch files needed. The ebuild and xephem-3.7.7-implicits.patch are direct copies of the 3.7.6 versions. No modification was required. xephem-3.7.7-respect_env_vars.patch is almost the same as 3.7.6 except that patch failed due to the Makefile being a couple of lines shorter. The attached xephem-3.7.7-respect_env_vars.patch patches cleanly.
Author: Sébastien Fabbro <bicatali@gentoo.org> Date: Mon Feb 29 22:27:44 2016 +0000 sci-astronomy/xephem: Version bump Thanks Ooblick for his work. Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=572748