From 9f05b9c58904450bc38f7aeafba283f2087a049b Mon Sep 17 00:00:00 2001 From: jlam Date: Wed, 12 Sep 2001 07:35:57 +0000 Subject: Wrap inclusion of within check for LESSTIF. Motif's includes while LessTif's doesn't, and stdio.h and iostdio.h have conflicting definitions. --- graphics/tcm/patches/patch-al | 8 +++++--- graphics/tcm/patches/patch-an | 10 ++++++---- 2 files changed, 11 insertions(+), 7 deletions(-) (limited to 'graphics/tcm') diff --git a/graphics/tcm/patches/patch-al b/graphics/tcm/patches/patch-al index ff2af5b052f..c7dad198bc9 100644 --- a/graphics/tcm/patches/patch-al +++ b/graphics/tcm/patches/patch-al @@ -1,12 +1,14 @@ -$NetBSD: patch-al,v 1.1.1.1 2001/02/24 01:30:07 jtb Exp $ +$NetBSD: patch-al,v 1.2 2001/09/12 07:35:57 jlam Exp $ ---- ui/error.c.orig Thu Feb 22 17:59:07 2001 +--- ui/error.c.orig Fri Jun 18 04:29:04 1999 +++ ui/error.c -@@ -23,6 +23,7 @@ +@@ -23,6 +23,9 @@ #include "application.h" #include "messagelogdialog.h" #include ++#ifdef LESSTIF +#include ++#endif void error(const char *fmt ...) { // we're not getting huge strings diff --git a/graphics/tcm/patches/patch-an b/graphics/tcm/patches/patch-an index 95b527675b7..6e8120f9942 100644 --- a/graphics/tcm/patches/patch-an +++ b/graphics/tcm/patches/patch-an @@ -1,16 +1,18 @@ -$NetBSD: patch-an,v 1.1.1.1 2001/02/24 01:30:07 jtb Exp $ +$NetBSD: patch-an,v 1.2 2001/09/12 07:35:58 jlam Exp $ ---- ui/application.c.orig Fri Nov 10 09:52:16 2000 +--- ui/application.c.orig Fri Nov 10 04:52:16 2000 +++ ui/application.c -@@ -29,6 +29,7 @@ +@@ -29,6 +29,9 @@ #include "system.h" #include "color.h" #include ++#ifdef LESSTIF +#include ++#endif #include #include #ifdef USE_XMIM -@@ -41,7 +42,7 @@ +@@ -41,7 +44,7 @@ return Application::XErrorHandler(dpy, err_event); } -- cgit v1.2.3