summaryrefslogtreecommitdiff
path: root/sci-astronomy/xephem/files/xephem-3.7.7-implicits.patch
diff options
context:
space:
mode:
authorSébastien Fabbro <bicatali@gentoo.org>2016-02-29 22:27:44 +0000
committerSébastien Fabbro <bicatali@gentoo.org>2016-02-29 23:13:05 +0000
commit68cbf0ab6e2d940986c6902d72fab3b57e026c21 (patch)
tree67bf6eef1e2f93c26d25c33ba0e335909daa3b7b /sci-astronomy/xephem/files/xephem-3.7.7-implicits.patch
parent813655152cc53e90128b19461416ad7958bd2a63 (diff)
downloadgentoo-68cbf0ab6e2d940986c6902d72fab3b57e026c21.tar.gz
gentoo-68cbf0ab6e2d940986c6902d72fab3b57e026c21.tar.xz
sci-astronomy/xephem: Version bump
Thanks Ooblick for his work. Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=572748 Package-Manager: portage-2.2.27
Diffstat (limited to 'sci-astronomy/xephem/files/xephem-3.7.7-implicits.patch')
-rw-r--r--sci-astronomy/xephem/files/xephem-3.7.7-implicits.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sci-astronomy/xephem/files/xephem-3.7.7-implicits.patch b/sci-astronomy/xephem/files/xephem-3.7.7-implicits.patch
new file mode 100644
index 00000000000..4c340711e0e
--- /dev/null
+++ b/sci-astronomy/xephem/files/xephem-3.7.7-implicits.patch
@@ -0,0 +1,12 @@
+sunmenu.c:920:3: warning: implicit declaration of function ‘strptime’
+
+--- a/GUI/xephem/sunmenu.c
++++ b/GUI/xephem/sunmenu.c
+@@ -1,6 +1,7 @@
+ /* code to manage the sun display
+ */
+
++#define _XOPEN_SOURCE /* See feature_test_macros(7) */
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <errno.h>