Update to 2000.06.13.

PR:		ports/50203
Submitted by:	Kimura Fuyuki <fuyuki@hadaly.org>
This commit is contained in:
Norikatsu Shigemura 2003-04-04 20:29:33 +00:00
parent fd39d53554
commit 903a0552c4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=78207
4 changed files with 16 additions and 25 deletions

View file

@ -6,11 +6,11 @@
#
PORTNAME= xphoon
PORTVERSION= 1991.9.18
CATEGORIES= astro x11
MASTER_SITES= ftp://ftp.x.org/R5contrib/
DISTNAME= xphoon
EXTRACT_SUFX= .tar.Z
PORTVERSION= 2000.06.13
CATEGORIES= astro
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
MAINTAINER= ports@FreeBSD.org
COMMENT= Set the root window to the moon in its current phase

View file

@ -1 +1 @@
MD5 (xphoon.tar.Z) = 9d8cce7199cd445692929e1e80f7058e
MD5 (xphoon-20000613.tar.gz) = 2408072c3da5310de51a2f5dd0427424

View file

@ -1,24 +1,13 @@
--- xphoon.c.orig Thu Sep 19 04:57:37 1991
+++ xphoon.c Sun Jan 3 18:30:29 1999
@@ -31,9 +31,18 @@
/* Externals. */
+#if (defined(__unix__) || defined(unix)) && !defined(USG)
+#include <sys/param.h>
+#endif
+
+#if (defined(BSD) && (BSD >= 199306))
+#include <stdlib.h>
+#include <time.h>
+#else
extern char* malloc();
extern long time();
extern long random();
+#endif
extern void getbits();
extern double jtime();
@@ -20,7 +20,6 @@
#include "vroot.h"
#include <stdio.h>
#include <stdlib.h> /* added by David Frey */
-#include <malloc.h> /* added by David Frey */
#include <time.h> /* added by David Frey */
#include <math.h>
#include <limits.h> /* added by Lalo Martins */
@@ -65,7 +74,7 @@
int blackflag, demoflag;
int printpid;

View file

@ -1 +1,3 @@
Xphoon sets X the root window to a picture of the moon in its current phase.
WWW: http://xphoon.sourceforge.net/