--- centericq-4.8.8/kkconsui-0.1/include/conf.h 2001-11-01 23:44:08.000000000 -0800 +++ centericq-4.8.8-patched/kkconsui-0.1/include/conf.h 2002-11-29 15:21:59.000000000 -0800 @@ -9,7 +9,11 @@ #define __KTOOL_USE_NAMESPACES #endif -#ifdef __GNUC__ +#if __GNUC__ > 2 +#define __KTOOL_USE_NAMESPACES +#endif + +#if __GNUC__ < 3 #include <_G_config.h> #if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 9) #else --- centericq-4.8.8/kkstrtext-0.1/conf.h 2001-11-01 23:44:11.000000000 -0800 +++ centericq-4.8.8-patched/kkstrtext-0.1/conf.h 2002-11-29 15:22:19.000000000 -0800 @@ -9,7 +9,11 @@ #define __KTOOL_USE_NAMESPACES #endif -#ifdef __GNUC__ +#if __GNUC__ > 2 +#define __KTOOL_USE_NAMESPACES +#endif + +#if __GNUC__ < 3 #include <_G_config.h> #if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 9) #else --- centericq-4.8.8/kksystr-0.1/include/conf.h 2001-11-01 23:44:11.000000000 -0800 +++ centericq-4.8.8-patched/kksystr-0.1/include/conf.h 2002-11-29 15:23:50.000000000 -0800 @@ -9,7 +9,11 @@ #define __KTOOL_USE_NAMESPACES #endif -#ifdef __GNUC__ +#if __GNUC__ > 2 +#define __KTOOL_USE_NAMESPACES +#endif + +#if __GNUC__ < 3 #include <_G_config.h> #if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 9) #else --- centericq-4.8.8/po/Makefile.in.in 2002-07-08 01:13:53.000000000 -0700 +++ centericq-4.8.8-patched/po/Makefile.in.in 2002-11-29 16:27:44.000000000 -0800 @@ -111,16 +111,16 @@ install-data-no: all install-data-yes: all if test -r "$(MKINSTALLDIRS)"; then \ - $(MKINSTALLDIRS) $(datadir); \ + $(MKINSTALLDIRS) $(DESTDIR)$(datadir); \ else \ - $(SHELL) $(top_srcdir)/mkinstalldirs $(datadir); \ + $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir); \ fi @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ case "$$cat" in \ - *.gmo) destdir=$(gnulocaledir);; \ - *) destdir=$(localedir);; \ + *.gmo) destdir=$(DESTDIR)$(gnulocaledir);; \ + *) destdir=$(DESTDIR)$(localedir);; \ esac; \ lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ dir=$$destdir/$$lang/LC_MESSAGES; \ --- centericq-4.9.0/configure.orig 2002-12-17 03:42:22.000000000 -0800 +++ centericq-4.9.0/configure 2002-12-17 03:49:15.000000000 -0800 @@ -2143,16 +2143,16 @@ cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ -char iconv(); int main() { -iconv() +iconv(0,0,0,0,0) ; return 0; } EOF if { (eval echo configure:2159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then @@ -2191,16 +2191,16 @@ cat > conftest.$ac_ext < /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ -char iconv(); int main() { -iconv() +iconv(0,0,0,0,0) ; return 0; } EOF if { (eval echo configure:2207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then @@ -2447,8 +2447,8 @@ case "$host_os" in darwin*) - LIBS="$LIBS -L/sw/lib -flat_namespace" - CXXFLAGS="$CXXFLAGS $GLIB_CFLAGS -I/sw/include" + LIBS="$LIBS -flat_namespace" + CXXFLAGS="$CXXFLAGS $GLIB_CFLAGS" ;; esac