From: Camm Maguire Date: Sun, 13 Nov 2022 12:55:14 +0000 (+0000) Subject: X-Git-Tag: archive/raspbian/2.7.1-4+rpi1~2^2^2~24 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c546410b852e9d290a998a228220b4d624430507;p=gcl27.git TODO: Put a short summary on the line above and replace this paragraph with a longer explanation of this change. Complete the meta-information with other relevant fields (see below for details). To make it easier, the information below has been extracted from the changelog. Adjust it or drop it. gcl (2.6.12-101) unstable; urgency=medium * Version_2.6.13pre98 Gbp-Pq: Name Version_2_6_13pre98 --- diff --git a/configure b/configure index 02210e0..40d8ed1 100755 --- a/configure +++ b/configure @@ -3974,7 +3974,7 @@ $as_echo "removing $1 from LDFLAGS" >&6; } } -add_args_to_cflags -fsigned-char -pipe -fcommon \ +add_args_to_cflags -fsigned-char -pipe -fcommon \ -fno-builtin-malloc -fno-builtin-free \ -fno-PIE -fno-pie -fno-PIC -fno-pic \ -Wall \ @@ -4036,6 +4036,8 @@ case $use in assert_arg_to_cflags -mms-bitfields assert_arg_to_ldflags -Wl,--stack,8000000;; 386-macosx) +# assert_arg_to_cflags -Wno-error=implicit-function-declaration + add_arg_to_cflags -Wno-incomplete-setjmp-declaration assert_arg_to_ldflags -Wl,-no_pie if test "$build_cpu" = "x86_64" ; then assert_arg_to_cflags -m64 @@ -4246,10 +4248,6 @@ fi # for the system. This can usually be done via the "uname" command, but # there are a few systems, like Next, where this doesn't work. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking system version (for dynamic loading)" >&5 -$as_echo_n "checking system version (for dynamic loading)... " >&6; } -if machine=`uname -m` ; then true; else machine=unknown ; fi - for ac_prog in makeinfo do # Extract the first word of "$ac_prog", so it can be a program name with args. @@ -4295,6 +4293,10 @@ test -n "$MAKEINFO" || MAKEINFO=""false"" +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking system version (for dynamic loading)" >&5 +$as_echo_n "checking system version (for dynamic loading)... " >&6; } +if machine=`uname -m` ; then true; else machine=unknown ; fi + if test -f /usr/lib/NextStep/software_version; then system=NEXTSTEP-`${AWK} '/3/,/3/' /usr/lib/NextStep/software_version` else @@ -6191,6 +6193,7 @@ else /* end confdefs.h. */ #include + #include #define EXTER #define INLINE #include "$MP_INCLUDE" @@ -6319,6 +6322,7 @@ else /* end confdefs.h. */ #include + #include #define EXTER #define INLINE #include "$MP_INCLUDE" diff --git a/configure.in b/configure.in index ce24405..abb5dc5 100644 --- a/configure.in +++ b/configure.in @@ -258,7 +258,7 @@ remove_arg_from_ldflags() { } -add_args_to_cflags -fsigned-char -pipe -fcommon \ +add_args_to_cflags -fsigned-char -pipe -fcommon \ -fno-builtin-malloc -fno-builtin-free \ -fno-PIE -fno-pie -fno-PIC -fno-pic \ -Wall \ @@ -294,6 +294,8 @@ case $use in assert_arg_to_cflags -mms-bitfields assert_arg_to_ldflags -Wl,--stack,8000000;; 386-macosx) +# assert_arg_to_cflags -Wno-error=implicit-function-declaration + add_arg_to_cflags -Wno-incomplete-setjmp-declaration assert_arg_to_ldflags -Wl,-no_pie if test "$build_cpu" = "x86_64" ; then assert_arg_to_cflags -m64 @@ -453,12 +455,12 @@ fi # for the system. This can usually be done via the "uname" command, but # there are a few systems, like Next, where this doesn't work. -AC_MSG_CHECKING([system version (for dynamic loading)]) -if machine=`uname -m` ; then true; else machine=unknown ; fi - AC_CHECK_PROGS(MAKEINFO,makeinfo,"false") AC_SUBST(MAKEINFO) +AC_MSG_CHECKING([system version (for dynamic loading)]) +if machine=`uname -m` ; then true; else machine=unknown ; fi + if test -f /usr/lib/NextStep/software_version; then system=NEXTSTEP-`${AWK} '/3/,/3/' /usr/lib/NextStep/software_version` else @@ -971,6 +973,7 @@ AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[ #include + #include #define EXTER #define INLINE #include "$MP_INCLUDE" @@ -1019,6 +1022,7 @@ AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[ #include + #include #define EXTER #define INLINE #include "$MP_INCLUDE" diff --git a/gmp4/acinclude.m4 b/gmp4/acinclude.m4 index 227712a..138e2f5 100644 --- a/gmp4/acinclude.m4 +++ b/gmp4/acinclude.m4 @@ -610,10 +610,11 @@ GMP_PROG_CC_WORKS_PART([$1], [long long reliability test 1], #if defined (__GNUC__) && ! defined (__cplusplus) typedef unsigned long long t1;typedef t1*t2; static __inline__ t1 e(t2 rp,t2 up,int n,t1 v0) -{t1 c,x,r;int i;if(v0){c=1;for(i=1;iconftest.c < int main () { @@ -3886,6 +3888,7 @@ AC_DEFUN([GMP_PROG_EXEEXT_FOR_BUILD], AC_CACHE_CHECK([for build system executable suffix], gmp_cv_prog_exeext_for_build, [cat >conftest.c < int main () { @@ -3922,6 +3925,7 @@ AC_DEFUN([GMP_C_FOR_BUILD_ANSI], AC_CACHE_CHECK([whether build system compiler is ANSI], gmp_cv_c_for_build_ansi, [cat >conftest.c < int main (int argc, char **argv) { @@ -3956,6 +3960,7 @@ AC_DEFUN([GMP_CHECK_LIBM_FOR_BUILD], AC_CACHE_CHECK([for build system compiler math library], gmp_cv_check_libm_for_build, [cat >conftest.c < int main () { diff --git a/gmp4/configure b/gmp4/configure index 73e0975..06e5e0f 100755 --- a/gmp4/configure +++ b/gmp4/configure @@ -808,6 +808,7 @@ infodir docdir oldincludedir includedir +runstatedir localstatedir sharedstatedir sysconfdir @@ -909,6 +910,7 @@ datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' +runstatedir='${localstatedir}/run' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' @@ -1161,6 +1163,15 @@ do | -silent | --silent | --silen | --sile | --sil) silent=yes ;; + -runstatedir | --runstatedir | --runstatedi | --runstated \ + | --runstate | --runstat | --runsta | --runst | --runs \ + | --run | --ru | --r) + ac_prev=runstatedir ;; + -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ + | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ + | --run=* | --ru=* | --r=*) + runstatedir=$ac_optarg ;; + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ @@ -1298,7 +1309,7 @@ fi for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ - libdir localedir mandir + libdir localedir mandir runstatedir do eval ac_val=\$$ac_var # Remove trailing slashes. @@ -1451,6 +1462,7 @@ Fine tuning of the installation directories: --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] @@ -6335,10 +6347,11 @@ if test "$gmp_prog_cc_works" = yes; then #if defined (__GNUC__) && ! defined (__cplusplus) typedef unsigned long long t1;typedef t1*t2; static __inline__ t1 e(t2 rp,t2 up,int n,t1 v0) -{t1 c,x,r;int i;if(v0){c=1;for(i=1;i&6; } # remove anything that might look like compiler output to our "||" expression rm -f conftest* a.out b.out a.exe a_out.exe cat >conftest.c < int main () { @@ -9748,6 +9763,7 @@ $as_echo_n "checking build system compiler $HOST_CC... " >&6; } # remove anything that might look like compiler output to our "||" expression rm -f conftest* a.out b.out a.exe a_out.exe cat >conftest.c < int main () { @@ -9781,6 +9797,7 @@ $as_echo_n "checking build system compiler $i... " >&6; } # remove anything that might look like compiler output to our "||" expression rm -f conftest* a.out b.out a.exe a_out.exe cat >conftest.c < int main () { @@ -9860,6 +9877,7 @@ if ${gmp_cv_prog_exeext_for_build+:} false; then : $as_echo_n "(cached) " >&6 else cat >conftest.c < int main () { @@ -9897,6 +9915,7 @@ if ${gmp_cv_c_for_build_ansi+:} false; then : $as_echo_n "(cached) " >&6 else cat >conftest.c < int main (int argc, char **argv) { @@ -9932,6 +9951,7 @@ if ${gmp_cv_check_libm_for_build+:} false; then : $as_echo_n "(cached) " >&6 else cat >conftest.c < int main () { diff --git a/o/error.c b/o/error.c index c9f855c..81861f9 100755 --- a/o/error.c +++ b/o/error.c @@ -146,7 +146,7 @@ Icall_gen_error_handler(object ci,object cs,object en,object es,ufixnum n,...) { b[i]= va_arg(ap,object); va_end(ap); - return IapplyVector(sSuniversal_error_handler,n,b); + IapplyVector(sSuniversal_error_handler,n,b); } diff --git a/o/main.c b/o/main.c index d5e9ff3..30bb4e6 100755 --- a/o/main.c +++ b/o/main.c @@ -28,6 +28,8 @@ Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. #include #include #include +#include +#include static void init_main(void); @@ -462,6 +464,8 @@ DEFUN_NEW("EQUAL-TAIL-RECURSION-CHECK",object,fSequal_tail_recursion_check,SI,1, RETURN1((object)(w-stack_to_be_allocated)); } +#if !defined(DARWIN)&&!defined(__MINGW32__) + static int mbin(const char *s,char *o) { @@ -497,7 +501,7 @@ which(const char *n,char *o) { } - +#endif int main(int argc, char **argv, char **envp) { diff --git a/o/sfaslmacho.c b/o/sfaslmacho.c index 233b80c..ff9da57 100644 --- a/o/sfaslmacho.c +++ b/o/sfaslmacho.c @@ -31,7 +31,7 @@ (_fl<=S_SYMBOL_STUBS || _fl==S_16BYTE_LITERALS) && _fl!=S_ZEROFILL;}) -#define MASK(n) (~(~0L << (n))) +#define MASK(n) (~(~0ULL << (n))) diff --git a/o/string.d b/o/string.d index 4c76c71..d025fe3 100755 --- a/o/string.d +++ b/o/string.d @@ -24,6 +24,7 @@ Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. string routines */ +#include #include "include.h" object sKstart1; diff --git a/o/unexmacosx.c b/o/unexmacosx.c index d38a792..9d57b73 100644 --- a/o/unexmacosx.c +++ b/o/unexmacosx.c @@ -560,7 +560,7 @@ copy_data_segment (struct load_command *lc) sc.fileoff = curr_file_offset; sc.filesize = core_end-mach_mapstart; sc.maxprot = VM_PROT_READ | VM_PROT_WRITE | VM_PROT_EXECUTE; - sc.initprot = VM_PROT_READ | VM_PROT_WRITE | VM_PROT_EXECUTE; + sc.initprot = VM_PROT_READ | VM_PROT_WRITE /* | VM_PROT_EXECUTE */; sc.nsects = 0; sc.flags = 0; diff --git a/unixport/makefile b/unixport/makefile index 1dfee3c..8bf14bd 100644 --- a/unixport/makefile +++ b/unixport/makefile @@ -85,7 +85,6 @@ sys_init.lsp: sys_init.lsp.in -e "s#@LI-OPT-TWO@#\"$(O2FLAGS)\"#1" \ -e "s#@LI-INIT-LSP@#\"$@\"#1" >$@ - saved_%:raw_% $(RSYM) sys_init.lsp raw_%_map msys \ $(CMPDIR)/gcl_cmpmain.lsp \ $(CMPDIR)/gcl_lfun_list.lsp \