Jan Engelhardt
5421d6eab7
- Update to version 2.7.0: * Fix memory unsafe behavior when valstack size limit hit in call setup * Fix a realloc() memory leak triggered when (1) previous allocation exists, (2) new realloc size is 0, (3) GC is triggered before first realloc() attempt * Fix void pointer arithmetic in duk_alloc_pool.c, caused problems with MSVC * Fix broken bytecode dump on big endian architectures * Fix DUK_USE_GET_RANDOM_DOUBLE() argument handling * Use yaml.safe_load() instead of yaml.load() in Py2 tooling * Dist makefile and pkg-config improvements * Fix Makefile.jsoncbor build * Reformat source with clang-format-12 - Bump sover define following upstream changes. - Rebase duktape-link-m.patch with quilt. - Drop pc.in file, no longer needed. - Pass the needed prefixes etc to make_build and make_install. - Use ldconfig_scriptlets macro. OBS-URL: https://build.opensuse.org/request/show/1082111 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/duktape?expand=0&rev=21
19 lines
807 B
Diff
19 lines
807 B
Diff
Index: duktape-2.7.0/Makefile.sharedlibrary
|
|
===================================================================
|
|
--- duktape-2.7.0.orig/Makefile.sharedlibrary
|
|
+++ duktape-2.7.0/Makefile.sharedlibrary
|
|
@@ -71,11 +71,11 @@ all: libduktape.$(SO_REALNAME_SUFFIX) li
|
|
|
|
libduktape.$(SO_REALNAME_SUFFIX):
|
|
$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -shared -fPIC -Wall -Wextra -Os -Wl,$(LD_SONAME_ARG),libduktape.$(SO_SONAME_SUFFIX) \
|
|
- -o $@ $(DUKTAPE_SRCDIR)/duktape.c
|
|
+ -o $@ $(DUKTAPE_SRCDIR)/duktape.c -lm
|
|
|
|
libduktaped.$(SO_REALNAME_SUFFIX):
|
|
$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -shared -fPIC -g -Wall -Wextra -Os -Wl,$(LD_SONAME_ARG),libduktaped.$(SO_SONAME_SUFFIX) \
|
|
- -o $@ $(DUKTAPE_SRCDIR)/duktape.c
|
|
+ -o $@ $(DUKTAPE_SRCDIR)/duktape.c -lm
|
|
|
|
duktape.pc:
|
|
sed -e "s|@PREFIX@|$(INSTALL_PREFIX)|" \
|