aboutsummaryrefslogtreecommitdiff
path: root/astro/celestia
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2020-08-27 08:11:18 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2020-08-27 08:11:18 +0000
commitb544f1eb5253d81e509abcd4172da1088a2b6249 (patch)
tree51698eef86cff2c991a1c0c3967a8e47c766e1dd /astro/celestia
parent27b279413e730b1cbfd04bd836e399f999d4888e (diff)
downloadports-b544f1eb5253d81e509abcd4172da1088a2b6249.tar.gz
ports-b544f1eb5253d81e509abcd4172da1088a2b6249.zip
Unbreak the build on recent -CURRENT.
Reported by: pkg-fallout
Notes
Notes: svn path=/head/; revision=546329
Diffstat (limited to 'astro/celestia')
-rw-r--r--astro/celestia/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/astro/celestia/Makefile b/astro/celestia/Makefile
index 9ed1bb3bf2f1..25f6fe1b336c 100644
--- a/astro/celestia/Makefile
+++ b/astro/celestia/Makefile
@@ -79,6 +79,8 @@ post-patch:
@${REINPLACE_CMD} -E '/fav(->|\.)fov/s|NULL|0.0|' \
${WRKSRC}/src/celestia/celestiacore.cpp \
${WRKSRC}/src/celestia/favorites.cpp
+ @${REINPLACE_CMD} -e '280s,NULL,false,' \
+ ${WRKSRC}/src/celengine/parseobject.cpp
# Fix Lua discovery pkg-config(1) calls
@${REINPLACE_CMD} -E 's|lua5\.?|lua-5.|' ${WRKSRC}/configure
# Remove controversial compiler options (respect our C[XX]FLAGS)