# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/binutils/compile.patch.dietlibc # Copyright (C) 2004 - 2026 The T2 SDE Project # Copyright (C) 1998 - 2004 ROCK Linux Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- Some quirks needed for compilation with dietlibc. - Rene Rebe --- ./libiberty/regex.c~ Fri Sep 27 17:33:09 2002 +++ ./libiberty/regex.c Sun Dec 29 04:47:22 2002 @@ -302,7 +302,7 @@ /* Integer type for pointers. */ # if !defined _LIBC && !defined HAVE_UINTPTR_T -typedef unsigned long int uintptr_t; +/*typedef unsigned long int uintptr_t;*/ # endif /* Should we use malloc or alloca? If REGEX_MALLOC is not defined, we --- binutils-2.16.91.0.3/gprof/gprof.h.vanilla 2005-10-11 17:12:07.000000000 +0200 +++ binutils-2.16.91.0.3/gprof/gprof.h 2005-10-11 17:12:17.000000000 +0200 @@ -136,4 +136,6 @@ extern void done (int status) ATTRIBUTE_NORETURN; +#undef PC + #endif /* gprof_h */