diff options
Diffstat (limited to 'misc/kdeutils3/patches/patch-ao')
-rw-r--r-- | misc/kdeutils3/patches/patch-ao | 53 |
1 files changed, 25 insertions, 28 deletions
diff --git a/misc/kdeutils3/patches/patch-ao b/misc/kdeutils3/patches/patch-ao index 86da26580fb..b941c2a8096 100644 --- a/misc/kdeutils3/patches/patch-ao +++ b/misc/kdeutils3/patches/patch-ao @@ -1,32 +1,28 @@ -$NetBSD: patch-ao,v 1.2 2003/02/26 23:09:02 dmcmahill Exp $ +$NetBSD: patch-ao,v 1.3 2003/03/11 13:22:32 markd Exp $ ---- configure.orig Tue Dec 17 05:55:09 2002 +--- configure.orig Fri Jan 17 08:58:13 2003 +++ configure -@@ -21610,7 +21610,7 @@ main () +@@ -25795,63 +25795,6 @@ _ACEOF - char buf[20]; - buf[0]='\0'; -- strlat(buf, "KDE function test", sizeof(buf)); -+ strlcat(buf, "KDE function test", sizeof(buf)); - ; - return 0; -@@ -22222,57 +22222,6 @@ echo "${ECHO_T}$ac_cv_sizeof_unsigned_in - cat >>confdefs.h <<EOF - #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int - EOF -- -- echo "$as_me:22226: checking sizeof(size_t) == sizeof(unsigned int)" >&5 --echo $ECHO_N "checking sizeof(size_t) == sizeof(unsigned int)... $ECHO_C" >&6 + +- echo "$as_me:$LINENO: checking sizeof(size_t) == sizeof(unsigned long)" >&5 +-echo $ECHO_N "checking sizeof(size_t) == sizeof(unsigned long)... $ECHO_C" >&6 - cat >conftest.$ac_ext <<_ACEOF --#line 22229 "configure" +-#line $LINENO "configure" -#include "confdefs.h" - +-#ifdef F77_DUMMY_MAIN +-# ifdef __cplusplus +- extern "C" +-# endif +- int F77_DUMMY_MAIN() { return 1; } +-#endif -int -main () -{ - -- #if SIZEOF_SIZE_T != SIZEOF_UNSIGNED_INT +- #if SIZEOF_SIZE_T != SIZEOF_UNSIGNED_LONG - choke me - #endif - @@ -35,37 +31,38 @@ $NetBSD: patch-ao,v 1.2 2003/02/26 23:09:02 dmcmahill Exp $ -} -_ACEOF -rm -f conftest.$ac_objext --if { (eval echo "$as_me:22245: \"$ac_compile\"") >&5 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? -- echo "$as_me:22248: \$? = $ac_status" >&5 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest.$ac_objext' -- { (eval echo "$as_me:22251: \"$ac_try\"") >&5 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? -- echo "$as_me:22254: \$? = $ac_status" >&5 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then -- echo "$as_me:22256: result: yes" >&5 +- echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6 -else - echo "$as_me: failed program was:" >&5 -cat conftest.$ac_ext >&5 - -- echo "$as_me:22262: result: no" >&5 +- echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -- { { echo "$as_me:22264: error: -- Apparently on your system our assumption sizeof(size_t) == sizeof(unsigned int) +- { { echo "$as_me:$LINENO: error: +- Apparently on your system our assumption sizeof(size_t) == sizeof(unsigned long) - does not apply. Please mail kde-devel@kde.org with a description of your system! - " >&5 -echo "$as_me: error: -- Apparently on your system our assumption sizeof(size_t) == sizeof(unsigned int) +- Apparently on your system our assumption sizeof(size_t) == sizeof(unsigned long) - does not apply. Please mail kde-devel@kde.org with a description of your system! - " >&2;} - { (exit 1); exit 1; }; } - -fi -rm -f conftest.$ac_objext conftest.$ac_ext - +- CXXFLAGS="$CXXFLAGS -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST" + echo "$as_me:$LINENO: checking for MAXPATHLEN" >&5 |