pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/erlang-eimp erlang-eimp: Update to 1.0.20



details:   https://anonhg.NetBSD.org/pkgsrc/rev/78afcc8cd3f2
branches:  trunk
changeset: 452974:78afcc8cd3f2
user:      triaxx <triaxx%pkgsrc.org@localhost>
date:      Thu May 20 20:40:48 2021 +0000

description:
erlang-eimp: Update to 1.0.20

upstream changes:
-----------------
Version 1.0.20
  o Update p1_utils to 1.0.22
  o Improve code for finding path of binary component
  o Don't link with image libraries, we load them dynamically
  o Two Dialyzer fixes; port_command/2 either succeeds or throws badarg

Version 1.0.19
  o Fix linker issue in openbsd
  o Add missing applications in eimp.app

diffstat:

 graphics/erlang-eimp/Makefile                   |   6 +++---
 graphics/erlang-eimp/distinfo                   |  12 ++++++------
 graphics/erlang-eimp/patches/patch-rebar.config |  25 ++++++++++++++++---------
 3 files changed, 25 insertions(+), 18 deletions(-)

diffs (74 lines):

diff -r 553777746b47 -r 78afcc8cd3f2 graphics/erlang-eimp/Makefile
--- a/graphics/erlang-eimp/Makefile     Thu May 20 20:19:29 2021 +0000
+++ b/graphics/erlang-eimp/Makefile     Thu May 20 20:40:48 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2021/01/16 00:00:48 triaxx Exp $
+# $NetBSD: Makefile,v 1.12 2021/05/20 20:40:48 triaxx Exp $
 
-DISTNAME=      eimp-1.0.18
+DISTNAME=      eimp-1.0.20
 PKGNAME=       erlang-${DISTNAME}
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=processone/}
@@ -12,7 +12,7 @@
 
 GITHUB_PROJECT=        eimp
 
-DEPENDS+=      erlang-p1_utils>=1.0.21:../../misc/erlang-p1_utils
+DEPENDS+=      erlang-p1_utils>=1.0.22:../../misc/erlang-p1_utils
 
 GNU_CONFIGURE= yes
 
diff -r 553777746b47 -r 78afcc8cd3f2 graphics/erlang-eimp/distinfo
--- a/graphics/erlang-eimp/distinfo     Thu May 20 20:19:29 2021 +0000
+++ b/graphics/erlang-eimp/distinfo     Thu May 20 20:40:48 2021 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.6 2021/01/16 00:00:48 triaxx Exp $
+$NetBSD: distinfo,v 1.7 2021/05/20 20:40:48 triaxx Exp $
 
-SHA1 (eimp-1.0.18.tar.gz) = 8832290b7f372cf235b1059014344d94b36c7f49
-RMD160 (eimp-1.0.18.tar.gz) = fa16787451f1f814e61a2261594a7ed3fd932636
-SHA512 (eimp-1.0.18.tar.gz) = 17b0738dfc2aa41eddaa388cf76f5a88336984029f6cf77873aa4d9ca5b15ebcb748e855622113d1b50faa1eeab93fc839b88cc5a20ddc476c5c0886fc26d8a2
-Size (eimp-1.0.18.tar.gz) = 3477198 bytes
-SHA1 (patch-rebar.config) = 64d8fe6cea75adc36efad929a60bf4b13243ed11
+SHA1 (eimp-1.0.20.tar.gz) = 567b695102e0fdd157cc600f39c76a9daa15e40a
+RMD160 (eimp-1.0.20.tar.gz) = 6c7578eb26d5c19734acfd5e63e97ec94357e4c7
+SHA512 (eimp-1.0.20.tar.gz) = 466fdff4e9be655a9de6d7c72564fc94f0328d471c691e27bfd839a1671a099dd562636de0f0b3d6432c146081008372591d3f527840390566be1bd3a906666a
+Size (eimp-1.0.20.tar.gz) = 3477544 bytes
+SHA1 (patch-rebar.config) = 15b593e4f714cb8aee210750decaa07a4b424380
diff -r 553777746b47 -r 78afcc8cd3f2 graphics/erlang-eimp/patches/patch-rebar.config
--- a/graphics/erlang-eimp/patches/patch-rebar.config   Thu May 20 20:19:29 2021 +0000
+++ b/graphics/erlang-eimp/patches/patch-rebar.config   Thu May 20 20:40:48 2021 +0000
@@ -1,16 +1,23 @@
-$NetBSD: patch-rebar.config,v 1.1 2021/01/16 00:00:48 triaxx Exp $
-
-On BSD systems there is no libdl, as the required functionality is already built
-into libc.
+$NetBSD: patch-rebar.config,v 1.2 2021/05/20 20:40:48 triaxx Exp $
 
---- rebar.config.orig  2020-12-08 13:55:42.000000000 +0000
+* On NetBSD and OpenBSD there is no libdl, as the required functionality is
+  already built into libc.
+* Use pkgsrc dependencies.
+
+--- rebar.config.orig  2021-03-24 17:32:32.000000000 +0000
 +++ rebar.config
-@@ -25,7 +25,7 @@
-             {if_have_fun, {rand, uniform, 1}, {d, 'RAND_UNIFORM'}}]}.
+@@ -26,13 +26,11 @@
  
  {port_env, [{"ERL_LDFLAGS", " -L$ERL_EI_LIBDIR -lei"},
--            {"CFLAGS", "$CFLAGS"}, {"LDFLAGS", "$LDFLAGS -ldl"}]}.
-+            {"CFLAGS", "$CFLAGS"}, {"LDFLAGS", "$LDFLAGS"}]}.
+             {"CFLAGS", "$CFLAGS"},
+-            {"^((?!openbsd).)*$", "LDFLAGS", "$LDFLAGS -ldl"},
++            {"^((?!(net|open)bsd).)*$", "LDFLAGS", "$LDFLAGS -ldl"},
+             {"LDFLAGS", "$LDFLAGS"}]}.
  
  {port_specs, [{"priv/bin/eimp", ["c_src/eimp.c"]}]}.
  
+-{deps, [{p1_utils, ".*", {git, "https://github.com/processone/p1_utils";, {tag, "1.0.22"}}}]}.
+-
+ {clean_files, ["c_src/eimp.gcda", "c_src/eimp.gcno"]}.
+ 
+ {cover_enabled, true}.



Home | Main Index | Thread Index | Old Index