From 157f2e2bf7e974ac8940c7f55eabb80bfaa930f2 Mon Sep 17 00:00:00 2001
From: Jon Trulson <jon@radscan.com>
Date: Tue, 19 Jun 2012 18:04:53 -0600
Subject: [PATCH] nsgmls: Imakefile fixes so it will build

---
 cde/programs/nsgmls/Imakefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/cde/programs/nsgmls/Imakefile b/cde/programs/nsgmls/Imakefile
index e44e352b..1255a3dd 100644
--- a/cde/programs/nsgmls/Imakefile
+++ b/cde/programs/nsgmls/Imakefile
@@ -77,7 +77,7 @@ STLIBCENV =
 M4 = /bin/m4
 #endif
 
-#if defined(LinuxArchitecture(
+#if defined(LinuxArchitecture)
 
 /*
  * put cpp directives here rather than in CXXDEFINES because
@@ -85,13 +85,13 @@ M4 = /bin/m4
  * but they are needed there to instantiate templates
  */
 CXXOPTIONS = \
-  -DSP_VOLATILE= -DSP_CONST= \
-  -DSP_HAVE_LOCALE -DSP_MULTI_BYTE -DSP_MANUAL_INST
+  -DSP_VOLATILE=volatile -DSP_CONST=const -DSP_ANSI_CLASS_INST \
+  -DSP_HAVE_LOCALE -DSP_MULTI_BYTE -DSP_MANUAL_INST -fno-implicit-templates
 
 /*
  * Flags passed into compile step when doing manual template instantiation.
  */
-CXXTEMPLATEFLAGS =
+CXXTEMPLATEFLAGS = -fno-implicit-templates
 
 M4 = /usr/bin/m4
 
-- 
2.25.1