From: Michael R Sweet Date: Fri, 8 Sep 2023 20:38:17 +0000 (-0400) Subject: Add __TIMESIZE=64 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fd62887fe0661ec33093c732d12ca193500054f2;p=thirdparty%2Fcups.git Add __TIMESIZE=64 --- diff --git a/config-scripts/cups-compiler.m4 b/config-scripts/cups-compiler.m4 index 33d444e743..bcb3db3cd3 100644 --- a/config-scripts/cups-compiler.m4 +++ b/config-scripts/cups-compiler.m4 @@ -228,7 +228,7 @@ AS_IF([test -n "$GCC"], [ AS_CASE([$host_os_name], [linux*], [ # glibc 2.8 and higher breaks peer credentials unless you # define _GNU_SOURCE... - OPTIM="$OPTIM -D_GNU_SOURCE" + OPTIM="$OPTIM -D_GNU_SOURCE -D__TIMESIZE=64" # The -z relro option is provided by the Linux linker command to # make relocatable data read-only. diff --git a/configure b/configure index 7dee4f14a4..fd34c7d870 100755 --- a/configure +++ b/configure @@ -6273,13 +6273,13 @@ fi ac_fn_c_check_func "$LINENO" "cupsConcatString" "ac_cv_func_cupsConcatString" if test "x$ac_cv_func_cupsConcatString" = xyes then : - printf "%s\n" "#define HAVE_STRLCAT 1" >>confdefs.h + printf "%s\n" "#define HAVE_CUPSCONCATSTRING 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "cupsCopyString" "ac_cv_func_cupsCopyString" if test "x$ac_cv_func_cupsCopyString" = xyes then : - printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h + printf "%s\n" "#define HAVE_CUPSCOPYSTRING 1" >>confdefs.h fi @@ -8303,7 +8303,7 @@ case $host_os_name in #( # glibc 2.8 and higher breaks peer credentials unless you # define _GNU_SOURCE... - OPTIM="$OPTIM -D_GNU_SOURCE" + OPTIM="$OPTIM -D_GNU_SOURCE -D__TIMESIZE=64" # The -z relro option is provided by the Linux linker command to # make relocatable data read-only.