diff options
author | dholland <dholland@pkgsrc.org> | 2011-08-11 06:09:34 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2011-08-11 06:09:34 +0000 |
commit | da212308d98cf4233e663f80afb4699b5763b89f (patch) | |
tree | b2c7ef16ee087b9f2a0db19f3aba9d705dc5e403 /x11 | |
parent | 13eb8b4f89d4953ba78608202bff44d44e6e4f20 (diff) | |
download | pkgsrc-da212308d98cf4233e663f80afb4699b5763b89f.tar.gz |
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.)
Diffstat (limited to 'x11')
-rw-r--r-- | x11/xview-config/distinfo | 3 | ||||
-rw-r--r-- | x11/xview-config/patches/patch-ax-debugswitches | 25 |
2 files changed, 27 insertions, 1 deletions
diff --git a/x11/xview-config/distinfo b/x11/xview-config/distinfo index 9b067710bbb..2063252863c 100644 --- a/x11/xview-config/distinfo +++ b/x11/xview-config/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.10 2011/08/11 05:50:37 dholland Exp $ +$NetBSD: distinfo,v 1.11 2011/08/11 06:09:34 dholland Exp $ SHA1 (xview3.2p1-X11R6.tar.gz) = 1cd04231b893c3e6c70b56791d527b498e21a27a RMD160 (xview3.2p1-X11R6.tar.gz) = 2f21b14cb088aec887683bbc6d4ed9a3bc3fe2bb @@ -9,5 +9,6 @@ SHA1 (patch-ac-buildsystem-includedir) = 99f258b06cd6bd9a393ebe02400bd5af1839313 SHA1 (patch-ad-buildsystem-modernize) = 57a1abc9df6ec6797a4b78902ddfdf32ba5b8982 SHA1 (patch-ae-buildsystem-failstop) = af001a61d76bb244ccc93251266e7a4d941c5d25 SHA1 (patch-af-buildsystem-destdirsupport) = 75b41aab6700490e7eed2241616212826866a5a8 +SHA1 (patch-ax-debugswitches) = f2c8b42ce1f85ba898fb0bf55436f7c8f6d156f9 SHA1 (patch-ay-misc) = 90097cdba97abd83c856b0e481b1b4b864f96ca4 SHA1 (patch-az-pkgsrc-config) = 831fa625a6daef2930cbaeafe516cadcb32accf0 diff --git a/x11/xview-config/patches/patch-ax-debugswitches b/x11/xview-config/patches/patch-ax-debugswitches new file mode 100644 index 00000000000..18bbf568477 --- /dev/null +++ b/x11/xview-config/patches/patch-ax-debugswitches @@ -0,0 +1,25 @@ +$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 */ |