From b707c3fbd2c5a39c9f5817ef9deab227359feef6 Mon Sep 17 00:00:00 2001 From: steffen Date: Tue, 6 Jul 2021 21:52:37 +0000 Subject: [PATCH] update --- Makefile | 2 +- Makefile.rules.gtk | 2 +- mapsys/map_osmload.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 4556506..fc1c274 100644 --- a/Makefile +++ b/Makefile @@ -56,7 +56,7 @@ sposmroute: do if ! make -C $$i; then \ exit -2; \ fi done - $(CC) -o sposmroute -lgtk -lmapsys -lgui -ldraw -lmain -lbase -lgui -Lbase -Lmain -Lgtk -Ldraw -Lgui -Lmapsys `pkg-config --libs gtk+-2.0 libxml-2.0` -lbz2 -lm $(DEBUG) + $(CC) -o sposmroute -lgtk -lmapsys -lgui -ldraw -lmain -lbase -lgui -Lbase -Lmain -Lgtk -Ldraw -Lgui -Lmapsys `pkg-config --libs gtk+-3.0 gmodule-export-2.0 libxml-2.0` -lbz2 -lm $(DEBUG) cleanapp: rm -rf sposmroute diff --git a/Makefile.rules.gtk b/Makefile.rules.gtk index 469719b..1af3ae6 100644 --- a/Makefile.rules.gtk +++ b/Makefile.rules.gtk @@ -6,7 +6,7 @@ DEPENDFILE = .depend DEBUG = -ggdb -pg AR = /usr/bin/ar CC = /usr/bin/gcc -CFLAGS = -Wall -g -I../main -I../ -I../mapsys -I../gui -I../gtk -I../wince -I../draw -I../base -DSPOSMROUTE -DHAVE_LOCALE_H -DHAVE_GTK `pkg-config --cflags libxml-2.0 gtk+-2.0` $(DEBUG) -Wl,--export-dynamic +CFLAGS = -Wall -g -I../main -I../ -I../mapsys -I../gui -I../gtk -I../wince -I../draw -I../base -DSPOSMROUTE -DHAVE_LOCALE_H -DHAVE_GTK `pkg-config --cflags libxml-2.0 gtk+-3.0 gmodule-export-2.0` $(DEBUG) -Wl,--export-dynamic %.o: %.c $(CC) $(CFLAGS) -c $< diff --git a/mapsys/map_osmload.c b/mapsys/map_osmload.c index c4ff1d7..4437714 100644 --- a/mapsys/map_osmload.c +++ b/mapsys/map_osmload.c @@ -120,7 +120,7 @@ struct s_osm_xmlcallback { long long int filepos; }; -#define OSM_HASHNODES 16 +#define OSM_HASHNODES 128 static struct s_osm_hashnodes _hashnodes[OSM_HASHNODES]; static struct s_osm_hashnodes *hashnodes[OSM_HASHNODES];