7050577 userland fails to build on 166
authorMike Sullivan <Mike.Sullivan@Oracle.COM>
Wed, 06 Jul 2011 10:21:22 -0700
changeset 372 572543a47583
parent 371 74fc5f17ac2f
child 373 a1931459f77c
7050577 userland fails to build on 166
components/doxygen/patches/doxygen1.patch
components/guile/Makefile
--- a/components/doxygen/patches/doxygen1.patch	Tue Jul 05 22:27:24 2011 -0700
+++ b/components/doxygen/patches/doxygen1.patch	Wed Jul 06 10:21:22 2011 -0700
@@ -16,7 +16,7 @@
  
  TMAKE_CXX		= CC
 -TMAKE_CXXFLAGS		= $$TMAKE_CFLAGS
-+TMAKE_CXXFLAGS		= -norunpath
++TMAKE_CXXFLAGS		= -norunpath -D__USE_LEGACY_PROTOTYPES__
  TMAKE_CXXFLAGS_WARN_ON	= $$TMAKE_CFLAGS_WARN_ON
  TMAKE_CXXFLAGS_WARN_OFF	= $$TMAKE_CFLAGS_WARN_OFF
  TMAKE_CXXFLAGS_RELEASE	= -O2
--- a/components/guile/Makefile	Tue Jul 05 22:27:24 2011 -0700
+++ b/components/guile/Makefile	Wed Jul 06 10:21:22 2011 -0700
@@ -35,7 +35,7 @@
 
 # Built in SFW with gcc and builds cleanly now only with gcc
 COMPILER = gcc
-CONFIGURE_OPTIONS +=	CPPFLAGS=-I/usr/include/gmp
+CONFIGURE_OPTIONS +=	CPPFLAGS="-I/usr/include/gmp -D__USE_LEGACY_PROTOTYPES__"
 CONFIGURE_OPTIONS +=	--disable-static 
 CONFIGURE_OPTIONS +=	--disable-error-on-warning
 CONFIGURE_OPTIONS +=	ac_cv_type_complex_double=no