From 09ed0efdc4e51f4224a612504528f596deea41d3 Mon Sep 17 00:00:00 2001 From: espie Date: Sun, 11 Jan 2004 00:17:57 +0000 Subject: [PATCH] build with gcc3. --- .../patches/patch-abi_src_af_util_xp_ut_types_h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 editors/abiword/patches/patch-abi_src_af_util_xp_ut_types_h diff --git a/editors/abiword/patches/patch-abi_src_af_util_xp_ut_types_h b/editors/abiword/patches/patch-abi_src_af_util_xp_ut_types_h new file mode 100644 index 00000000000..8fe89a46df4 --- /dev/null +++ b/editors/abiword/patches/patch-abi_src_af_util_xp_ut_types_h @@ -0,0 +1,13 @@ +$OpenBSD: patch-abi_src_af_util_xp_ut_types_h,v 1.1 2004/01/11 00:17:57 espie Exp $ +--- abi/src/af/util/xp/ut_types.h.orig 2004-01-11 00:50:06.000000000 +0100 ++++ abi/src/af/util/xp/ut_types.h 2004-01-11 00:50:41.000000000 +0100 +@@ -259,7 +259,8 @@ ABI_EXPORT void * UT_calloc ( UT_uint32 + (defined (__MACH__) && defined (__APPLE__)) || \ + (defined(TARGET_OS_MAC) && TARGET_OS_MAC) || \ + defined(__BEOS__) || defined (__AIX__) || \ +-(defined(__linux__) && defined(__powerpc__) && (__GLIBC__ <= 2) && (__GLIBC_MINOR__ <= 1)) ++(defined(__linux__) && defined(__powerpc__) && (__GLIBC__ <= 2) && (__GLIBC_MINOR__ <= 1)) || \ ++(defined(__OpenBSD__) && defined(__GNUC__) && __GNUC__ >= 3) + + #define ICONV_CONST const + #else