summaryrefslogtreecommitdiff
path: root/x11/xephem
diff options
context:
space:
mode:
authorhasso <hasso@pkgsrc.org>2009-03-11 13:39:51 +0000
committerhasso <hasso@pkgsrc.org>2009-03-11 13:39:51 +0000
commit83b9ca3c34a826ad77bad8450e82aeb56109ea5d (patch)
treec0df1545df2fccc7ec178b75d09f3389b27a62cb /x11/xephem
parentb2fe4e7c6816d827f7ef8f9a40589209ab294e9e (diff)
downloadpkgsrc-83b9ca3c34a826ad77bad8450e82aeb56109ea5d.tar.gz
Make it compile on DragonFly.
Diffstat (limited to 'x11/xephem')
-rw-r--r--x11/xephem/distinfo3
-rw-r--r--x11/xephem/patches/patch-ab22
2 files changed, 24 insertions, 1 deletions
diff --git a/x11/xephem/distinfo b/x11/xephem/distinfo
index 3099336f524..5456ad67c14 100644
--- a/x11/xephem/distinfo
+++ b/x11/xephem/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.11 2008/05/30 17:04:05 drochner Exp $
+$NetBSD: distinfo,v 1.12 2009/03/11 13:39:51 hasso Exp $
SHA1 (xephem-3.7.3.tar.gz) = b19c528097f7357e90a18bc605128eca9394b748
RMD160 (xephem-3.7.3.tar.gz) = d292a30cd6acbdd5dabf345aefd34b596534ce68
Size (xephem-3.7.3.tar.gz) = 22148450 bytes
SHA1 (patch-aa) = c2a8d13e146a3efcc5333ff357618a2ad03c4e61
+SHA1 (patch-ab) = 16f179076e80797c6708b80287e5402dd269ff69
diff --git a/x11/xephem/patches/patch-ab b/x11/xephem/patches/patch-ab
new file mode 100644
index 00000000000..dcc68ef2e79
--- /dev/null
+++ b/x11/xephem/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.5 2009/03/11 13:39:52 hasso Exp $
+
+--- ./homeio.c.orig 2009-03-11 15:08:21 +0200
++++ ./homeio.c 2009-03-11 15:09:31 +0200
+@@ -11,6 +11,9 @@
+ #include <time.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#if defined(__STDC__)
++#include <errno.h>
++#endif
+
+ #include "xephem.h"
+
+@@ -227,7 +230,6 @@ syserrstr ()
+ {
+ #if defined(__STDC__)
+ /* some older gcc don't have strerror */
+-#include <errno.h>
+ return (strerror (errno));
+ #else
+ #if defined(VMS)