From 9955bd19ac09f400a5f113b18373ccf75b8f4254 Mon Sep 17 00:00:00 2001 From: Camm Maguire Date: Sun, 13 Nov 2022 12:55:14 +0000 Subject: [PATCH] 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-62) unstable; urgency=medium * list_order.22 Gbp-Pq: Name list_order.23 --- cmpnew/gcl_cmpmain.lsp | 4 ++-- gcl-tk/makefile | 4 ++-- h/386-gnu.h | 2 +- o/unixfsys.c | 3 +++ 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/cmpnew/gcl_cmpmain.lsp b/cmpnew/gcl_cmpmain.lsp index d820537..c8f356f 100755 --- a/cmpnew/gcl_cmpmain.lsp +++ b/cmpnew/gcl_cmpmain.lsp @@ -658,7 +658,7 @@ Cannot compile ~a.~%" (defun make-user-init (files outn) (let* ((c (pathname outn)) - (c (merge-pathnames c (make-pathname :directory '(:current)))) + (c (merge-pathnames c (make-pathname :directory '(:relative)))) (o (merge-pathnames (make-pathname :type "o") c)) (c (merge-pathnames (make-pathname :type "c") c))) @@ -769,7 +769,7 @@ Cannot compile ~a.~%" (with-open-file (st (namestring map) :direction :output)) (safe-system - (let* ((par (namestring (make-pathname :directory '(:back)))) + (let* ((par (namestring (make-pathname :directory '(:relative :back)))) (i (concatenate 'string " " par)) (j (concatenate 'string " " si::*system-directory* par))) (format nil "~a ~a ~a ~a -L~a ~a ~a ~a" diff --git a/gcl-tk/makefile b/gcl-tk/makefile index 0535541..037d730 100644 --- a/gcl-tk/makefile +++ b/gcl-tk/makefile @@ -38,13 +38,13 @@ clean:: rm -f ${GUIOS} $(OFILES) gcltkaux gcltksrv *.o */*.o demos/index.lsp *.fn demos/*.fn .c.o: - $(GCLTKCC) -c $(CFLAGS1) ${ODIR_DEBUG} $*.c + $(GCLTKCC) -c $(filter-out -pg,$(CFLAGS1)) -fPIE ${ODIR_DEBUG} $*.c # for some reason -lieee is on various linux systems in the list of requireds.. gcltkaux: $(GUIOS) - $(LD_ORDINARY_CC) $(GUIOS) $(LDFLAGS) -o gcltkaux ${TK_LIB_SPEC} ${TCL_LIB_SPEC} + $(LD_ORDINARY_CC) $(GUIOS) $(filter-out %gcl.script,$(LDFLAGS)) -pie -o gcltkaux ${TK_LIB_SPEC} ${TCL_LIB_SPEC} gcltksrv: makefile cat gcltksrv.in | sed -e "s!TK_LIBRARY=.*!TK_LIBRARY=${TK_LIBRARY}!g" \ diff --git a/h/386-gnu.h b/h/386-gnu.h index da78e83..8158695 100755 --- a/h/386-gnu.h +++ b/h/386-gnu.h @@ -60,4 +60,4 @@ #define NEED_STACK_CHK_GUARD -#define DEFINED_REAL_MAXPAGE (1UL<<18) /*FIXME brk probe broken*/ +#undef HAVE_D_TYPE /*FIXME defined, but not implemented in readdir*/ diff --git a/o/unixfsys.c b/o/unixfsys.c index 196aeea..25f9275 100755 --- a/o/unixfsys.c +++ b/o/unixfsys.c @@ -307,8 +307,11 @@ DEFUN_NEW("D-TYPE-LIST",object,fSd_type_list,SI,0,0,NONE,OI,OO,OO,OO,(void),"") MMcons(make_fixnum(DT_UNKNOWN),make_keyword("UNKNOWN")) ) #else +#undef DT_UNKNOWN #define DT_UNKNOWN 0 +#undef DT_REG #define DT_REG 1 +#undef DT_DIR #define DT_DIR 2 list(3, MMcons(make_fixnum(DT_REG),make_keyword("FILE")), -- 2.30.2