|
|
|
|
@ -1,18 +1,18 @@
|
|
|
|
|
Index: src/config.h
|
|
|
|
|
--- src/config.h.orig 2015-10-21 23:11:04.000000000 +0200
|
|
|
|
|
+++ src/config.h 2016-03-05 10:35:31.312615434 +0100
|
|
|
|
|
--- src/config.h.orig 2018-10-15 08:30:01.928667000 +0200
|
|
|
|
|
+++ src/config.h 2018-10-15 08:30:59.703454000 +0200
|
|
|
|
|
@@ -31,7 +31,7 @@
|
|
|
|
|
|
|
|
|
|
#define WITH_FLOAT
|
|
|
|
|
#define WITH_REFERENCE
|
|
|
|
|
-#define WITH_DRAW
|
|
|
|
|
+#undef WITH_DRAW
|
|
|
|
|
#undef WITH_STATISTIC
|
|
|
|
|
#define WITH_COMPILATION_INFO
|
|
|
|
|
#define WITH_TYPE_CHECK
|
|
|
|
|
#define WITH_FLOAT 1
|
|
|
|
|
#define WITH_REFERENCE 1
|
|
|
|
|
-#define WITH_DRAW 1
|
|
|
|
|
+#undef WITH_DRAW
|
|
|
|
|
#define WITH_SQL 1
|
|
|
|
|
#define WITH_STATISTIC 0
|
|
|
|
|
#define WITH_COMPILATION_INFO 1
|
|
|
|
|
Index: src/heaputl.c
|
|
|
|
|
--- src/heaputl.c.orig 2016-03-05 10:35:31.312615000 +0100
|
|
|
|
|
+++ src/heaputl.c 2016-03-05 10:35:51.742498911 +0100
|
|
|
|
|
--- src/heaputl.c.orig 2018-05-11 15:27:59.000000000 +0200
|
|
|
|
|
+++ src/heaputl.c 2018-10-15 08:30:01.928893000 +0200
|
|
|
|
|
@@ -38,8 +38,8 @@
|
|
|
|
|
#include "stdio.h"
|
|
|
|
|
#if HAS_GETRLIMIT && defined STACK_SIZE
|
|
|
|
|
@ -25,8 +25,8 @@ Index: src/heaputl.c
|
|
|
|
|
|
|
|
|
|
#include "common.h"
|
|
|
|
|
Index: src/makefile
|
|
|
|
|
--- src/makefile.orig 2016-02-11 20:32:43.000000000 +0100
|
|
|
|
|
+++ src/makefile 2016-03-05 10:35:31.312615434 +0100
|
|
|
|
|
--- src/makefile.orig 2018-10-07 09:50:20.000000000 +0200
|
|
|
|
|
+++ src/makefile 2018-10-15 08:30:01.929075000 +0200
|
|
|
|
|
@@ -4,7 +4,7 @@
|
|
|
|
|
# make
|
|
|
|
|
# If you are under windows you should use MinGW with mk_mingw.mak, mk_nmake.mak or mk_msys.mak instead.
|
|
|
|
|
@ -35,7 +35,7 @@ Index: src/makefile
|
|
|
|
|
+CFLAGS =
|
|
|
|
|
# CFLAGS = -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith
|
|
|
|
|
# CFLAGS = -O2 -fomit-frame-pointer -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith
|
|
|
|
|
# CFLAGS = -O2 -g -Wall -Wextra -Wswitch-default -Wswitch-enum -Wcast-qual -Waggregate-return -Wwrite-strings -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -Wmissing-noreturn -Wno-multichar -Wc++-compat
|
|
|
|
|
# CFLAGS = -O2 -g -ffunction-sections -fdata-sections $(INCLUDE_OPTIONS) -Wall -Wextra -Wswitch-default -Wswitch-enum -Wcast-qual -Waggregate-return -Wwrite-strings -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -Wmissing-noreturn -Wno-multichar -Wc++-compat
|
|
|
|
|
@@ -13,7 +13,7 @@
|
|
|
|
|
# CFLAGS = -O2 -g -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -ftrapv
|
|
|
|
|
# CFLAGS = -O2 -g -x c++ -Wall -Winline -Wconversion -Wshadow -Wpointer-arith
|
|
|
|
|
@ -43,9 +43,9 @@ Index: src/makefile
|
|
|
|
|
-CFLAGS = -O2 -g -ffunction-sections -fdata-sections $(INCLUDE_OPTIONS) -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith
|
|
|
|
|
+CFLAGS = -O2 -ffunction-sections -fdata-sections $(INCLUDE_OPTIONS)
|
|
|
|
|
# CFLAGS = -O2 -g -ffunction-sections -fdata-sections $(INCLUDE_OPTIONS) -Wall -Winline -Wconversion -Wshadow -Wpointer-arith
|
|
|
|
|
# CFLAGS = -O2 -g -std=c99 -D_POSIX_SOURCE -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith
|
|
|
|
|
# CFLAGS = -O2 -g -Wall -Winline -Wconversion -Wshadow -Wpointer-arith
|
|
|
|
|
@@ -21,24 +21,24 @@
|
|
|
|
|
# CFLAGS = -O2 -g -std=c99 -D_POSIX_SOURCE -ffunction-sections -fdata-sections $(INCLUDE_OPTIONS) -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith
|
|
|
|
|
# CFLAGS = -O2 -g -std=c1x -D_XOPEN_SOURCE -ffunction-sections -fdata-sections $(INCLUDE_OPTIONS) -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith
|
|
|
|
|
@@ -22,24 +22,24 @@
|
|
|
|
|
# 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
|
|
|
|
|
@ -75,8 +75,8 @@ Index: src/makefile
|
|
|
|
|
# CC = g++
|
|
|
|
|
CC = gcc
|
|
|
|
|
GET_CC_VERSION_INFO = $(CC) --version >
|
|
|
|
|
@@ -90,7 +90,7 @@
|
|
|
|
|
DOBJ = $(BIGINT_LIB).o cmd_unx.o dll_unx.o fil_unx.o pcs_unx.o pol_unx.o tim_unx.o
|
|
|
|
|
@@ -87,7 +87,7 @@
|
|
|
|
|
DOBJ = big_rtl.o big_gmp.o cmd_unx.o dll_unx.o fil_unx.o pcs_unx.o pol_unx.o tim_unx.o
|
|
|
|
|
OBJ = $(MOBJ)
|
|
|
|
|
SEED7_LIB_OBJ = $(ROBJ) $(DOBJ)
|
|
|
|
|
-DRAW_LIB_OBJ = gkb_rtl.o drw_x11.o gkb_x11.o
|
|
|
|
|
@ -85,9 +85,9 @@ Index: src/makefile
|
|
|
|
|
COMPILER_LIB_OBJ = $(POBJ) $(LOBJ) $(EOBJ) $(AOBJ) $(GOBJ)
|
|
|
|
|
|
|
|
|
|
Index: src/objutl.c
|
|
|
|
|
--- src/objutl.c.orig 2015-06-04 23:39:11.000000000 +0200
|
|
|
|
|
+++ src/objutl.c 2016-03-05 10:35:31.312615434 +0100
|
|
|
|
|
@@ -760,7 +760,9 @@
|
|
|
|
|
--- src/objutl.c.orig 2018-10-09 23:14:33.000000000 +0200
|
|
|
|
|
+++ src/objutl.c 2018-10-15 08:30:01.929254000 +0200
|
|
|
|
|
@@ -761,7 +761,9 @@
|
|
|
|
|
if (object->value.winValue != NULL) {
|
|
|
|
|
object->value.winValue->usage_count--;
|
|
|
|
|
if (object->value.winValue->usage_count == 0) {
|
|
|
|
|
|