build with gcc3.
This commit is contained in:
parent
6089eb83e4
commit
09ed0efdc4
13
editors/abiword/patches/patch-abi_src_af_util_xp_ut_types_h
Normal file
13
editors/abiword/patches/patch-abi_src_af_util_xp_ut_types_h
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user