From cac8223fe4eebae4fc242d8e86202db91943dadb Mon Sep 17 00:00:00 2001 From: maxice8 Date: Thu, 13 Sep 2018 09:39:13 -0300 Subject: [PATCH] duktape: update to 2.3.0. --- common/shlibs | 2 +- srcpkgs/duktape/patches/makefile.patch | 17 ----------------- srcpkgs/duktape/template | 8 ++++++-- 3 files changed, 7 insertions(+), 20 deletions(-) delete mode 100644 srcpkgs/duktape/patches/makefile.patch diff --git a/common/shlibs b/common/shlibs index dd6d231591f..c68c1fbd408 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2982,7 +2982,7 @@ libfilteraudio.so filter_audio-0.0.1_1 libarmadillo.so.8 armadillo-8.300.0_1 libgstreamermm-1.0.so.1 gstreamermm-1.8.0_1 libmovit.so.8 movit-1.6.0_1 -libduktape.so.202 duktape-2.2.0_1 +libduktape.so.203 duktape-2.3.0_1 libccgnu2-1.8.so.0 commoncpp2-1.8.1_1 libccext2-1.8.so.0 commoncpp2-1.8.1_1 libucommon.so.8 ucommon-7.0.0_1 diff --git a/srcpkgs/duktape/patches/makefile.patch b/srcpkgs/duktape/patches/makefile.patch deleted file mode 100644 index b22bbb54267..00000000000 --- a/srcpkgs/duktape/patches/makefile.patch +++ /dev/null @@ -1,17 +0,0 @@ -# Fix hardcoded compiler / -Os in the makefile... ---- Makefile.sharedlibrary 2017-01-26 11:56:36.000000000 -0800 -+++ Makefile.sharedlibrary.new 2017-04-15 15:57:34.679605829 -0700 -@@ -44,11 +44,11 @@ - # to $INSTALL_PREFIX/include on installation. - - libduktape.so.$(REAL_VERSION): -- gcc -shared -fPIC -Wall -Wextra -Os -Wl,-soname,libduktape.so.$(SONAME_VERSION) \ -+ $(CC) -shared -fPIC -Wall -Wextra $(CFLAGS) -Wl,-soname,libduktape.so.$(SONAME_VERSION) \ - -o $@ $(DUKTAPE_SRCDIR)/duktape.c - - libduktaped.so.$(REAL_VERSION): -- gcc -shared -fPIC -g -Wall -Wextra -Os -Wl,-soname,libduktaped.so.$(SONAME_VERSION) \ -+ $(CC) -shared -fPIC -g -Wall -Wextra $(CFLAGS) -Wl,-soname,libduktaped.so.$(SONAME_VERSION) \ - -o $@ $(DUKTAPE_SRCDIR)/duktape.c - - # Symlinks depend on platform conventions. diff --git a/srcpkgs/duktape/template b/srcpkgs/duktape/template index 9284ad6f90c..a77c759199e 100644 --- a/srcpkgs/duktape/template +++ b/srcpkgs/duktape/template @@ -1,6 +1,6 @@ # Template file for 'duktape' pkgname=duktape -version=2.2.1 +version=2.3.0 revision=1 build_style=gnu-makefile make_build_args="-f Makefile.sharedlibrary" @@ -10,7 +10,11 @@ maintainer="Christopher Brannon " license="MIT" homepage="http://duktape.org" distfiles="https://github.com/svaarala/${pkgname}/releases/download/v${version}/${pkgname}-${version}.tar.xz" -checksum=3abe2eed2553305262b892c98f550bb1a94cf4fd73b51dc5c176fe08e7ade7f2 +checksum=ed6e2f3ab2061628a7aeee27ccff16538ba6a151480cccf2e846bd061e45afe8 + +pre_build() { + sed -i 's|^CC.*||g' Makefile.sharedlibrary +} pre_install() { vmkdir /usr/lib