pkgsrc/x11/xphoon/patches/patch-ah
dholland 5341b53649 Drag this kicking and screaming into the Century of the Fruitbat.
- ANSIfy.
 - Use standard headers instead of rolling custom wrong decls.
 - Don't use void main.
 - Fix y2038 bugs.
 - Prune dead code.
 - Stop using outdated timezone interfaces.
 - Don't need libcompat any more.
 - Generally clean up build.

Should fix broken build on Linux, probably other non-BSD OSes as well.

PKGREVISION++.
2008-07-28 02:45:56 +00:00

16 lines
462 B
Text

$NetBSD: patch-ah,v 1.1 2008/07/28 02:45:56 dholland Exp $
--- /dev/null 2008-07-27 22:06:36.000000000 -0400
+++ xphoon.h 2008-07-27 22:00:25.000000000 -0400
@@ -0,0 +1,11 @@
+struct tws;
+
+void getbits(int *wP, int *hP, char **moonP, int *cxP, int *cyP, int *rP);
+double jtime(struct tws *t);
+double phase(double pdate,
+ double *pphase,
+ double *mage,
+ double *dist,
+ double *angdia,
+ double *sudist,
+ double *suangdia);