Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ruby-ffi devel/ruby-ffi: update to 1.13.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/93e9f7897cde
branches:  trunk
changeset: 433681:93e9f7897cde
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Jun 07 06:48:12 2020 +0000

description:
devel/ruby-ffi: update to 1.13.0.

Update ruby-ffi to 1.13.0.


1.13.0 / 2020-06-01
-------------------

Added:
* Add TruffleRuby support. Almost all specs are running on TruffleRuby and succeed. #768
* Add ruby source files to the java gem. This allows to ship the Ruby library code per platform java gem and add it as a default gem to JRuby. #763
* Add FFI::Platform::LONG_DOUBLE_SIZE
* Add bounds checks for writing to an inline char[] . #756
* Add long double as callback return value. #771
* Update type definitions and add types from stdint.h and stddef.h on i386-windows, x86_64-windows, x86_64-darwin, x86_64-linux, arm-linux, powerpc-linux. #749
* Add new type definitions for powerpc-openbsd and sparcv9-openbsd. #775, #778

Changed:
* Raise required ruby version to >= 2.3.
* Lots of cleanups and improvements in library, specs and benchmarks.
* Fix a lot of compiler warnings at the C-extension
* Fix several install issues on MacOS:
  * Look for libffi in SDK paths, since recent versions of macOS removed it from `/usr/include` . #757
  * Fix error `ld: library not found for -lgcc_s.10.4`
  * Don't built for i386 architecture as it is deprecated
* Several fixes for MSVC build on Windows. #779
* Use `ucrtbase.dll` as default C library on Windows instead of old `msvcrt.dll`. #779
* Update builtin libffi to fix a Powerpc issue with parameters of type long
* Allow unmodified sourcing of (the ruby code of) this gem in JRuby and TruffleRuby as a default gem. #747
* Improve check to detect if a module has a #find_type method suitable for FFI. This fixes compatibility with stdlib `mkmf` . #776

Removed:
* Reject callback with `:string` return type at definition, because it didn't work so far and is not save to use. #751, #782

diffstat:

 devel/ruby-ffi/Makefile |   7 ++-----
 devel/ruby-ffi/PLIST    |   6 ++++--
 devel/ruby-ffi/distinfo |  10 +++++-----
 3 files changed, 11 insertions(+), 12 deletions(-)

diffs (72 lines):

diff -r d8d1ef520b9e -r 93e9f7897cde devel/ruby-ffi/Makefile
--- a/devel/ruby-ffi/Makefile   Sun Jun 07 06:47:24 2020 +0000
+++ b/devel/ruby-ffi/Makefile   Sun Jun 07 06:48:12 2020 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.24 2020/03/08 16:42:26 bsiegert Exp $
+# $NetBSD: Makefile,v 1.25 2020/06/07 06:48:12 taca Exp $
 
-DISTNAME=      ffi-1.12.2
-PKGREVISION=   1
+DISTNAME=      ffi-1.13.0
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -9,8 +8,6 @@
 COMMENT=       Loading dynamic libraries, binding functions within them
 LICENSE=       modified-bsd
 
-USE_RAKE=      YES
-
 .include "../../lang/ruby/gem.mk"
 .include "../../devel/libffi/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r d8d1ef520b9e -r 93e9f7897cde devel/ruby-ffi/PLIST
--- a/devel/ruby-ffi/PLIST      Sun Jun 07 06:47:24 2020 +0000
+++ b/devel/ruby-ffi/PLIST      Sun Jun 07 06:48:12 2020 +0000
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST,v 1.19 2020/01/19 15:43:21 taca Exp $
+@comment $NetBSD: PLIST,v 1.20 2020/06/07 06:48:12 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_EXTSDIR}/ffi_c.${RUBY_DLEXT}
 ${GEM_EXTSDIR}/gem.build_complete
 ${GEM_LIBDIR}/.appveyor.yml
+${GEM_LIBDIR}/.github/workflows/ci.yml
 ${GEM_LIBDIR}/.gitignore
 ${GEM_LIBDIR}/.gitmodules
 ${GEM_LIBDIR}/.travis.yml
@@ -523,12 +524,14 @@
 ${GEM_LIBDIR}/lib/ffi/platform/powerpc-aix/types.conf
 ${GEM_LIBDIR}/lib/ffi/platform/powerpc-darwin/types.conf
 ${GEM_LIBDIR}/lib/ffi/platform/powerpc-linux/types.conf
+${GEM_LIBDIR}/lib/ffi/platform/powerpc-openbsd/types.conf
 ${GEM_LIBDIR}/lib/ffi/platform/powerpc64-linux/types.conf
 ${GEM_LIBDIR}/lib/ffi/platform/s390-linux/types.conf
 ${GEM_LIBDIR}/lib/ffi/platform/s390x-linux/types.conf
 ${GEM_LIBDIR}/lib/ffi/platform/sparc-linux/types.conf
 ${GEM_LIBDIR}/lib/ffi/platform/sparc-solaris/types.conf
 ${GEM_LIBDIR}/lib/ffi/platform/sparc64-linux/types.conf
+${GEM_LIBDIR}/lib/ffi/platform/sparcv9-openbsd/types.conf
 ${GEM_LIBDIR}/lib/ffi/platform/sparcv9-solaris/types.conf
 ${GEM_LIBDIR}/lib/ffi/platform/x86_64-cygwin/types.conf
 ${GEM_LIBDIR}/lib/ffi/platform/x86_64-darwin/types.conf
@@ -562,5 +565,4 @@
 ${GEM_LIBDIR}/samples/inotify.rb
 ${GEM_LIBDIR}/samples/pty.rb
 ${GEM_LIBDIR}/samples/qsort.rb
-${GEM_LIBDIR}/samples/sample_helper.rb
 ${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r d8d1ef520b9e -r 93e9f7897cde devel/ruby-ffi/distinfo
--- a/devel/ruby-ffi/distinfo   Sun Jun 07 06:47:24 2020 +0000
+++ b/devel/ruby-ffi/distinfo   Sun Jun 07 06:48:12 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.22 2020/02/05 14:44:01 taca Exp $
+$NetBSD: distinfo,v 1.23 2020/06/07 06:48:12 taca Exp $
 
-SHA1 (ffi-1.12.2.gem) = a3313a8870cc70f178c9e318c54a4a6b445178c6
-RMD160 (ffi-1.12.2.gem) = ce71601d548de8a35d7b1996a266413f49057d21
-SHA512 (ffi-1.12.2.gem) = 98f5d580474c39ee70a923bcd2a1d5339baeb4d71b6f3d51a2c08bdd5231b0930a7d53e89d86b6ea23bdfc1dd8981a92a5469b6167edf0128677236173e52fd2
-Size (ffi-1.12.2.gem) = 897024 bytes
+SHA1 (ffi-1.13.0.gem) = d0c3f79cb7a3a65d05a34e65e4ebbe0bd5d4c923
+RMD160 (ffi-1.13.0.gem) = cfeac7dd5c3ddbf89eb13d90292b50ef6a66f786
+SHA512 (ffi-1.13.0.gem) = 3f710eb78fb52a7a29a177cb243104bed9a6bf06b108a6d8015f88b7debeb3fae6a8753ed22d54e826a894a3806efb9397d7e6ee625d2da73610b6fdaea37217
+Size (ffi-1.13.0.gem) = 897536 bytes



Home | Main Index | Thread Index | Old Index