pkgsrc/x11/xview-config/patches/patch-ax-debugswitches
dholland fb1db48619 Forgot one, the debug switches patch.
This has no effect by default but lets one turn on debug info or add
CFLAGS without having to wade into imake goop directly. (It will do
this for everything that uses the xview imake templates; but you have
to reinstall xview-config for the changes to take effect.)
2011-08-11 06:09:34 +00:00

25 lines
683 B
Text

$NetBSD: patch-ax-debugswitches,v 1.1 2011/08/11 06:09:34 dholland Exp $
Vacuous patches that can be hand-edited temporarily to turn on debug
info and add extra CFLAGS, respectively. Don't regenerate this patch
or the first hunk will evaporate...
--- XView.cf Thu Aug 11 00:54:45 2011 -0400
+++ XView.cf Thu Aug 11 00:59:56 2011 -0400
@@ -232,7 +232,7 @@
* size.
*/
#ifndef DebugLibXView
-#define DebugLibXView NO
+#define DebugLibXView NO
#endif
/*
* To compile a profiled version of the library, set ProfileLibXView to
@@ -383,4 +383,7 @@
#define StringConstantFlag
#endif
+MYEXTRACFLAGS=
+CDEBUGFLAGS:=$(CDEBUGFLAGS) $(MYEXTRACFLAGS)
+
#endif /* XViewCf */