Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 May 2018 22:03:14 -0400
From:      Wes Frazier <wes.frazier@members.fsf.org>
To:        freebsd-questions@freebsd.org
Subject:   Possible patch for games/gnurobots but don't know what to do next.
Message-ID:  <b57fb604-137f-baf6-a41b-6a75eced8e3a@members.fsf.org>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------E4424EAC12451D404DBAF44B
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

Im less than a month in, with using FreeBSD.

games/gnurobots in the ports tree doesn't appear to behave as expected.
It builds and executes but doesn't actually correctly spawn the GNU
Guile interactive command prompt like it is supposed to.

I've been able to correct it, simply by changing how the port's Makefile
was tweaking the CFLAGS manually in the package's build system.

I have attached the patch. I however, do not know if this is the
best/correct way to fix this issue, nor do I know who to contact to get
a fix integrated into ports. (gnurobots is without maintainer.)

Advice appreciated.

--------------E4424EAC12451D404DBAF44B
Content-Type: text/x-patch;
 name="gnurobots-makefile.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
 filename="gnurobots-makefile.patch"

--- Makefile.orig	2018-05-09 21:29:50.993434000 -0400
+++ Makefile	2018-05-09 21:49:36.804677000 -0400
@@ -36,7 +36,7 @@
 		"${PORTNAME}" "Game;ArcadeGame;" ""
=20
 post-patch:
-	@${REINPLACE_CMD} -e 's|^CFLAGS=3D|#CFLAGS=3D|g' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e 's|^C-pedantic-errors -Werror -Wall -g|-pedantic-e=
rrors -Wall -g|g' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's|#include <pty.h>||g' ${WRKSRC}/src/ui-cmdwin.c
 	@${REINPLACE_CMD} -E 's,(readline.h|history.h),readline/\1,' ${WRKSRC}/=
src/ui-cmdwin.c
=20

--------------E4424EAC12451D404DBAF44B--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b57fb604-137f-baf6-a41b-6a75eced8e3a>