File NX-noansi.diff of Package NX

--- lib/Xxf86dga/Imakefile.noansi	2004-04-19 15:55:51.000000000 +0000
+++ lib/Xxf86dga/Imakefile	2004-04-19 20:10:55.000000000 +0000
@@ -36,6 +36,9 @@
 
 #define UnsharedLibObjCompile(options) LibObjCompile(unshared,$(CDEBUGFLAGS) $(CLIBDEBUGFLAGS) options $(PICFLAGS))
 
+#undef DefaultCCOptions
+#define DefaultCCOptions GccWarningOptions
+
 #include <Library.tmpl>
 
 MANDIR = $(LIBMANDIR)
--- lib/Xaw6/Imakefile.orig	2004-04-19 20:34:53.000000000 +0000
+++ lib/Xaw6/Imakefile	2004-04-19 20:35:05.000000000 +0000
@@ -115,6 +115,9 @@
 
 INCLUDES = -I$(AWIDGETSRC)
 
+#undef DefaultCCOptions
+#define DefaultCCOptions GccWarningOptions
+
 #include <Library.tmpl>
 
 #if DoSharedLib && SharedDataSeparation
--- lib/Xaw/Imakefile.orig	2004-04-19 20:38:05.000000000 +0000
+++ lib/Xaw/Imakefile	2004-04-19 20:38:30.000000000 +0000
@@ -194,6 +194,9 @@
 	XawI18n.o \
 	XawInit.o
 
+#undef DefaultCCOptions
+#define DefaultCCOptions GccWarningOptions
+
 #include <Library.tmpl>
 
 #if DoSharedLib && SharedDataSeparation
openSUSE Build Service is sponsored by