--- 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