summaryrefslogtreecommitdiff
path: root/dev-lang/duktape
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-15 05:12:09 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-15 05:12:09 +0100
commitd49d63ee52f4026f7871f4ce062c172ba5e62b74 (patch)
tree8651e664517755edac13eef87d2f4dfb9ad3e968 /dev-lang/duktape
parent5bcf7bb4786021fc77303fae7934b17d525f9ad6 (diff)
gentoo auto-resync : 15:09:2022 - 05:12:09
Diffstat (limited to 'dev-lang/duktape')
-rw-r--r--dev-lang/duktape/Manifest3
-rw-r--r--dev-lang/duktape/duktape-2.7.0-r2.ebuild (renamed from dev-lang/duktape/duktape-2.7.0-r1.ebuild)1
-rw-r--r--dev-lang/duktape/files/duktape-2.7.0-underlinked-libm.patch25
3 files changed, 28 insertions, 1 deletions
diff --git a/dev-lang/duktape/Manifest b/dev-lang/duktape/Manifest
index f46e8152312e..bdc87d78a647 100644
--- a/dev-lang/duktape/Manifest
+++ b/dev-lang/duktape/Manifest
@@ -1,4 +1,5 @@
AUX duktape-2.7.0-respect-tc-env.patch 1427 BLAKE2B 50632d9ed0042dacdd4e0c760b2c374598b0955ff66d2625109a4555dc792c3c0be8d9855921cc7708009514257486698d7da8a18efd087cbe923fee9236ccf8 SHA512 e5d598c05aeff3db6f03565b1f443497506cab72895d867edb939fbad63258e1d11330880e6396a0c978a1c9cc0da7a6edd0362d5cd8eab48c188be7c043e63a
+AUX duktape-2.7.0-underlinked-libm.patch 1040 BLAKE2B 4cbacde262d9882f710a44a99b7970b1b02fa27a6442f981ba4f95427126b6d1d94cfb4fb84d7fbb523a9c8c7abe14f823f2ae9b85c84d355e90f31305fa8d1c SHA512 4e55e43bf80676972df5c31841e99003fdd3d13f854aa4d282942baf44b4c1277c7bae3fb7f95ea9915d2f88258e7afdd328da8ff16775bdbe58fb096b6d845c
DIST duktape-2.7.0.tar.xz 1026524 BLAKE2B da5eea88758201177f32c5611a3757433ef1b0173d6430eff1f067abd7535f3e4b9c3717290fbd8475827a53f7a2a74818287a65e563f14e91761f5cd0fe30d5 SHA512 8ff5465c9c335ea08ebb0d4a06569c991b9dc4661b63e10da6b123b882e7375e82291d6b883c2644902d68071a29ccc880dae8229447cebe710c910b54496c1d
-EBUILD duktape-2.7.0-r1.ebuild 802 BLAKE2B 65c253f59aed533af05441b32b3f86bc98fe5304f6de9f3132c5c32fc527bee209412b2ca1e03f6e9ed75ede371dcaf78419e6c627af70f1434c0b8ffb901f25 SHA512 5219f894c5b5c2b850ee6095161ad89f0505e73302f7fdddf5a65f9c07bac70ac971d7c4f56fc09b45fdc3670c3aefa9946a780db1afa40fd1d180f3e50df83d
+EBUILD duktape-2.7.0-r2.ebuild 845 BLAKE2B cb725c7970a841f43e0f3d9e8e72c72ec427cf0f50b1bc9894b2aad7d1f19f90a7f4de1f6ec2635491acfff9ac0e65179536b06376a084b0488ab2777b435f9d SHA512 fe6ea297361b97b74f0d164ab4cc35e15a5657c7d12d36032e10821c2a3b020b2807654d9e7083b6d2a26f69b851416c44158f9c1912bbfb6cc2cdc5a1107f8e
MISC metadata.xml 321 BLAKE2B 2a50c01a5f2fced09b9faecfda887bd2de9bb266ab9fed010627aacd691f6acd7aa4c327b6b77190ccee315098695004b2b3b798464420117648651d7da427f3 SHA512 b1e4fcc8a976debc2384323ee3c520dbd5b5f1ee869b73ebd6c299c414058024683b781e2506db1fc46cfe60878941e730a912e2197232fdaa2b0d97862eb8cc
diff --git a/dev-lang/duktape/duktape-2.7.0-r1.ebuild b/dev-lang/duktape/duktape-2.7.0-r2.ebuild
index 72e9787eeba0..4dc7046bdd37 100644
--- a/dev-lang/duktape/duktape-2.7.0-r1.ebuild
+++ b/dev-lang/duktape/duktape-2.7.0-r2.ebuild
@@ -17,6 +17,7 @@ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc
PATCHES=(
"${FILESDIR}"/${PN}-2.7.0-respect-tc-env.patch
+ "${FILESDIR}"/${P}-underlinked-libm.patch
)
src_prepare() {
diff --git a/dev-lang/duktape/files/duktape-2.7.0-underlinked-libm.patch b/dev-lang/duktape/files/duktape-2.7.0-underlinked-libm.patch
new file mode 100644
index 000000000000..6b0962ed7617
--- /dev/null
+++ b/dev-lang/duktape/files/duktape-2.7.0-underlinked-libm.patch
@@ -0,0 +1,25 @@
+https://github.com/svaarala/duktape/commit/d898ad3920cb08d6918d11d9678bae28393a82d1
+https://bugs.gentoo.org/870163
+
+From d898ad3920cb08d6918d11d9678bae28393a82d1 Mon Sep 17 00:00:00 2001 (rebased)
+From: tinywrkb <tinywrkb@gmail.com>
+Date: Thu, 17 Mar 2022 03:55:51 +0200
+Subject: [PATCH] Makefile.sharedlibrary: link against libm
+
+Closes #2464.
+--- a/Makefile.sharedlibrary
++++ b/Makefile.sharedlibrary
+@@ -71,11 +71,11 @@ all: libduktape.$(SO_REALNAME_SUFFIX) libduktaped.$(SO_REALNAME_SUFFIX) duktape.
+
+ libduktape.$(SO_REALNAME_SUFFIX):
+ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -shared -fPIC -Wall -Wextra -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 -Wall -Wextra -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)|" \