From b9b563468d6ee3f6de7260ecce235923c3266f9d Mon Sep 17 00:00:00 2001 From: Pietro Cerutti Date: Thu, 18 Oct 2012 13:01:49 +0000 Subject: - Update to 05_20121007 Changes: 20121007: - An error message, that could occur when the Seed7 interpreter is compiled, is explained in the FAQ and to 'src/read_me.txt'. - A description of the for-step-statement was added to the manual. - The library make.s7i was improved. Now makefile dependencies can contain colons (:) and equal signs (=). The parameters of the echo command are parsed better now. Calls of the function callOwnProgram are also avoided now. This way the library works correctly, when it is used by programs other than make7.sd7. - The library tar.s7i was improved to set the file mode, when an archive is extracted. - Testcases for a variant of the @:= operator, which copies a string to another, were added to the program chkstr.sd7. - Interpreter and compiler were improved to support the situation, when source and destination of the @:= operator (action STR_POSCPY) are identical. - The compiler was improved to support the action ITF_DESTR. - The compiler was improved, to call C compiler and linker with specific options, such that unneeded functions are ommited (when the linker and executable file format support this feature). - The compiler was improved to remove debug symbols, unless called with -g (some makefiles now define LINKER_OPT_NO_DEBUG_INFO). - The function name(PROGRAM) was improved, to return the program name without following symbolic links. - The function path(PROGRAM) was improved, to follow symbolic links (see function followLink in cmd_rtl.c). Consequently dir(PROGRAM) also follows symbolic links. - The function CommandLineToArgvW in cmd_win.c was improved. - The files itf_rtl.c and itf_rtl.h, which contain interface functions, were added. - The makefile mk_mingc.mak was added to support compilation of the self extracting version of Seed7. 20120923: - Experimental support for automatic memory management with reference counting was added to the interpreter. - The libraries external_file.s7i, field.s7i, stritext.s7i, gzip.s7i, listener.s7i, pixmap_file.s7i, shell.s7i, socket.s7i, strifile.s7i, dir.s7i, utf16.s7i, utf8.s7i and xmldom.s7i were improved to use the function toInterface. - The function name(PROGRAM) was improved, to return the name of the program without extension and without path. - The interpreter was improved to support the action ITF_DESTR. Feature safe: yes --- lang/seed7/Makefile | 2 +- lang/seed7/distinfo | 4 ++-- lang/seed7/files/patch-makefile | 12 ++++++------ 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'lang/seed7') diff --git a/lang/seed7/Makefile b/lang/seed7/Makefile index fb9dbd854df2..f3f652e75101 100644 --- a/lang/seed7/Makefile +++ b/lang/seed7/Makefile @@ -6,7 +6,7 @@ # PORTNAME= seed7 -DISTVERSION= 05_20120909 +DISTVERSION= 05_20121007 CATEGORIES= lang MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTNAME}/ DISTNAME= ${PORTNAME}_${DISTVERSION} diff --git a/lang/seed7/distinfo b/lang/seed7/distinfo index 368b35b9522c..864734901f0e 100644 --- a/lang/seed7/distinfo +++ b/lang/seed7/distinfo @@ -1,2 +1,2 @@ -SHA256 (seed7_05_20120909.tgz) = 34389aaeee86f5b222904c53136a6607cf0e3dbf07ffa1ce40d99b0e50f77495 -SIZE (seed7_05_20120909.tgz) = 1773845 +SHA256 (seed7_05_20121007.tgz) = 6cb18ecec1bbdceaf4c8facaa0490b88847ed6f6f610c69a61ff66b6b2752b22 +SIZE (seed7_05_20121007.tgz) = 1782217 diff --git a/lang/seed7/files/patch-makefile b/lang/seed7/files/patch-makefile index bff2c539149b..bb0336a7c399 100644 --- a/lang/seed7/files/patch-makefile +++ b/lang/seed7/files/patch-makefile @@ -1,19 +1,19 @@ ---- makefile.orig 2012-01-01 16:17:58.000000000 +0100 -+++ makefile 2012-02-03 11:22:53.000000000 +0100 +--- makefile.orig 2012-10-18 14:42:29.000000000 +0200 ++++ makefile 2012-10-18 14:43:37.000000000 +0200 @@ -12,14 +12,14 @@ # CFLAGS = -O2 -fomit-frame-pointer -Wall -Wextra -Wswitch-default -Wcast-qual -Waggregate-return -Wwrite-strings -Winline -Wconversion -Wshadow -Wpointer-arith -Wmissing-noreturn -Wno-multichar # CFLAGS = -O2 -g -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -ftrapv # CFLAGS = -O2 -g -x c++ -Wall -Winline -Wconversion -Wshadow -Wpointer-arith --CFLAGS = -O2 -g -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -+CFLAGS += -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -I%%LOCALBASE%%/include +-CFLAGS = -O2 -g -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith ++CFLAGS += -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -I%%LOCALBASE%%/include # CFLAGS = -O2 -g -std=c99 -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith # CFLAGS = -O2 -g -Wall -Winline -Wconversion -Wshadow -Wpointer-arith # CFLAGS = -O2 -g -Wall # CFLAGS = -O2 -g -pg -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith # CFLAGS = -O2 -fomit-frame-pointer -funroll-loops -Wall # CFLAGS = -O2 -funroll-loops -Wall -pg --LDFLAGS = -+LDFLAGS = -L%%LOCALBASE%%/lib +-LDFLAGS = -Wl,--gc-sections ++LDFLAGS += -L%%LOCALBASE%%/lib # LDFLAGS = -pg # LDFLAGS = -pg -lc_p SYSTEM_LIBS = -lm -- cgit v1.2.3