git: d21b742b5f2c - 2024Q2 - astro/xphoon: Catch up to src bb421be6c117
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 10 Jun 2024 15:11:50 UTC
The branch 2024Q2 has been updated by cy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d21b742b5f2c1bc2ff4439427d022548672fb656
commit d21b742b5f2c1bc2ff4439427d022548672fb656
Author: Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2024-06-09 14:04:26 +0000
Commit: Cy Schubert <cy@FreeBSD.org>
CommitDate: 2024-06-10 15:11:44 +0000
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 4b6488142679ff15ddcfe1acec2be0e966b0267c)
astro/xphoon: Fix patch
Fixes: 4b6488142679
(cherry picked from commit 999b06a56c46cc6396f8984add5e7036de0916b7)
---
astro/xphoon/Makefile | 4 ++--
astro/xphoon/files/patch-Imakefile | 6 ++++--
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/astro/xphoon/Makefile b/astro/xphoon/Makefile
index 1756ce477363..121d773bef26 100644
--- a/astro/xphoon/Makefile
+++ b/astro/xphoon/Makefile
@@ -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/
diff --git a/astro/xphoon/files/patch-Imakefile b/astro/xphoon/files/patch-Imakefile
index d607d8420b3c..fb4bd31abe6f 100644
--- a/astro/xphoon/files/patch-Imakefile
+++ b/astro/xphoon/files/patch-Imakefile
@@ -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