# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/gmp/hotfix-multilib.patch.sparc64 # Copyright (C) 2023 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License version 2 as used by the T2 SDE. # --- T2-COPYRIGHT-NOTE-END --- --- gmp-6.2.1/gmp-h.in.vanilla 2023-12-17 17:33:35.362754654 +0100 +++ gmp-6.2.1/gmp-h.in 2023-12-17 17:35:37.846749426 +0100 @@ -40,7 +40,7 @@ #if ! defined (__GMP_WITHIN_CONFIGURE) #define __GMP_HAVE_HOST_CPU_FAMILY_power @HAVE_HOST_CPU_FAMILY_power@ #define __GMP_HAVE_HOST_CPU_FAMILY_powerpc @HAVE_HOST_CPU_FAMILY_powerpc@ -#define GMP_LIMB_BITS @GMP_LIMB_BITS@ +#define GMP_LIMB_BITS (__SIZEOF_POINTER__ * 8) #define GMP_NAIL_BITS @GMP_NAIL_BITS@ #endif #define GMP_NUMB_BITS (GMP_LIMB_BITS - GMP_NAIL_BITS)