1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

astro/xphoon: Catch up to src bb421be6c117

src bb421be6c117 moved ftime(3) to libutil. This resulted in this
error:

cc -o xphoon       -L/usr/local/lib   xphoon.o moon.o phase.o dtime.o
-lXext -lX11 -lcompat -lm  -Wl,-rpath,/usr/local/lib
ld: error: undefined symbol: ftime

While at it take maintainership of this port.

(cherry picked from commit 4b64881426)

astro/xphoon: Fix patch

Fixes:		4b64881426

(cherry picked from commit 999b06a56c)
This commit is contained in:
Cy Schubert 2024-06-09 07:04:26 -07:00
parent 604991ccff
commit d21b742b5f
2 changed files with 6 additions and 4 deletions

View File

@ -1,10 +1,10 @@
PORTNAME= xphoon
PORTVERSION= 20000613
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= astro
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
MAINTAINER= cy@FreeBSD.org
COMMENT= Set the root window to the moon in its current phase
WWW= https://xphoon.sourceforge.net/

View File

@ -1,11 +1,13 @@
--- Imakefile.orig 2000-06-13 21:55:44 UTC
diff --git a/Imakefile.orig b/Imakefile
index 96d7fd6..73497f4 100644
--- Imakefile.orig
+++ Imakefile
@@ -11,7 +11,7 @@
INCLUDES = -I. -I$(TOP) -I$(TOP)/X11 -I$(TOP)/X11/bitmaps
-LOCAL_LIBRARIES = $(XLIB)
+LOCAL_LIBRARIES = $(XLIB) -lcompat
+LOCAL_LIBRARIES = $(XLIB) -lcompat -lutil
DEPLIBS = $(DEPXLIB)
LDLIBS = -lm