pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/xephem Make it compile on DragonFly.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/920246b0d9cb
branches:  trunk
changeset: 555891:920246b0d9cb
user:      hasso <hasso%pkgsrc.org@localhost>
date:      Wed Mar 11 13:39:51 2009 +0000

description:
Make it compile on DragonFly.

diffstat:

 x11/xephem/distinfo         |   3 ++-
 x11/xephem/patches/patch-ab |  22 ++++++++++++++++++++++
 2 files changed, 24 insertions(+), 1 deletions(-)

diffs (38 lines):

diff -r cdd30be2ce51 -r 920246b0d9cb x11/xephem/distinfo
--- a/x11/xephem/distinfo       Wed Mar 11 12:55:50 2009 +0000
+++ b/x11/xephem/distinfo       Wed Mar 11 13:39:51 2009 +0000
@@ -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 -r cdd30be2ce51 -r 920246b0d9cb x11/xephem/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xephem/patches/patch-ab       Wed Mar 11 13:39:51 2009 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index