From c281a1fdefe62e6052cb9429450e7ea5634e8ebc Mon Sep 17 00:00:00 2001
From: Steve Price <steve@FreeBSD.org>
Date: Wed, 31 Mar 1999 15:21:24 +0000
Subject: Don't compile with debug on by default.

PR:		10859
Submitted by:	maintainer
---
 games/xpilot/files/patch-a | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

(limited to 'games/xpilot')

diff --git a/games/xpilot/files/patch-a b/games/xpilot/files/patch-a
index 1396e6cc1a32..5e8904b37340 100644
--- a/games/xpilot/files/patch-a
+++ b/games/xpilot/files/patch-a
@@ -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 */
-- 
cgit v1.2.3