Date: Mon, 29 Mar 1999 19:20:18 +0200 From: Sheldon Hearn <sheldonh@iafrica.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/10859: [PATCH] xpilot compiles with debugging support Message-ID: <28850.922728018@axl.noc.iafrica.com>
next in thread | raw e-mail | index | archive | help
>Number: 10859 >Category: ports >Synopsis: [PATCH] xpilot compiles with debugging support >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Mar 29 09:30:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Sheldon Hearn >Release: FreeBSD 4.0-CURRENT i386 >Organization: UUNET South Africa >Environment: FreeBSD 4.0-CURRENT #0: Mon Mar 29 11:26:56 SAST 1999 i386 >Description: The games/xpilot ports installs (and packages) with debugging support built into the binaries. >How-To-Repeat: Watch for "-g" in the build output. >Fix: Apply the following diff to the port's existing patch-a to teach it to honour xf86site.cf's optimization directives. Index: patches/patch-a =================================================================== RCS file: /home/ncvs/ports/games/xpilot/patches/patch-a,v retrieving revision 1.6 diff -u -d -r1.6 patch-a --- patch-a 1999/03/09 00:11:26 1.6 +++ patch-a 1999/03/29 17:16:02 @@ -17,3 +17,20 @@ /* Manual pages for games usually go to section 6. */ MANSUFFIX = 6 +*************** +*** 91,97 **** + * CDEBUGFLAGS should specify optimalization or debug information (or both). + * Try not defining anything first. + */ +! CDEBUGFLAGS = -g /* General debug flag */ + /* CDEBUGFLAGS = -O /* General optimize flag */ + /* CDEBUGFLAGS = -Ae +O3 +FPD /* HP cc optimize flags (no +ESlit) */ + /* CDEBUGFLAGS = -Ae -g -z +w1 /* HP cc debug flags */ +--- 91,97 ---- + * CDEBUGFLAGS should specify optimalization or debug information (or both). + * Try not defining anything first. + */ +! /* CDEBUGFLAGS = -g /* General debug flag */ + /* CDEBUGFLAGS = -O /* General optimize flag */ + /* CDEBUGFLAGS = -Ae +O3 +FPD /* HP cc optimize flags (no +ESlit) */ + /* CDEBUGFLAGS = -Ae -g -z +w1 /* HP cc debug flags */ >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?28850.922728018>