Bump version to 1.0.6. Fixes building with ruby 1.9.
Add NO_REGRESS while here since the distfile doesn't include the necessary files (thanks landry@). OK landry@
This commit is contained in:
parent
8e4e48605e
commit
c167c2addb
@ -1,9 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.3 2011/01/02 13:20:53 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.4 2011/03/10 23:51:36 jeremy Exp $
|
||||
|
||||
COMMENT = cross-platform dynamic library loading for ruby
|
||||
|
||||
DISTNAME = ffi-0.6.3
|
||||
REVISION = 1
|
||||
DISTNAME = ffi-1.0.6
|
||||
CATEGORIES = devel
|
||||
|
||||
HOMEPAGE= http://github.com/ffi/ffi
|
||||
@ -32,6 +31,7 @@ post-install:
|
||||
|
||||
# Regress currently broken, libtest directory needed and not
|
||||
# included in the gem
|
||||
NO_REGRESS = yes
|
||||
REGRESS_DEPENDS = devel/ruby-rake-compiler,${MODRUBY_FLAVOR}
|
||||
MODRUBY_REGRESS = rake rspec
|
||||
RAKE_REGRESS_TARGET = specs
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (ffi-0.6.3.gem) = LjhxvCH/dAX9KluTjhzO3g==
|
||||
RMD160 (ffi-0.6.3.gem) = JvUVfj0HgSnV6dtNHo3BBrb1dE0=
|
||||
SHA1 (ffi-0.6.3.gem) = J9WM1cCRZfHH3Zv5jvosNbaJnAs=
|
||||
SHA256 (ffi-0.6.3.gem) = azF7RJM7dYBFR5yBfGDOEsOraeuNOxn2FpFgaRnuFiM=
|
||||
SIZE (ffi-0.6.3.gem) = 809984
|
||||
MD5 (ffi-1.0.6.gem) = SmMHRuXKs/QgZ7mQ+Bga/w==
|
||||
RMD160 (ffi-1.0.6.gem) = B88b5ftZ2K3NfCgBWpa5nMJs7fA=
|
||||
SHA1 (ffi-1.0.6.gem) = BzLVDD6rvTF/ndXNlsS8Vhzshv0=
|
||||
SHA256 (ffi-1.0.6.gem) = kXRS0e81ehBpGctOuOI0AYiLpCIAymlbWaOOVB+l1vo=
|
||||
SIZE (ffi-1.0.6.gem) = 816640
|
||||
|
@ -1,16 +1,17 @@
|
||||
$OpenBSD: patch-ext_ffi_c_Platform_c,v 1.1 2010/12/27 18:58:40 jasper Exp $
|
||||
--- ext/ffi_c/Platform.c.orig Mon Dec 27 17:18:02 2010
|
||||
+++ ext/ffi_c/Platform.c Mon Dec 27 17:20:35 2010
|
||||
@@ -24,6 +24,12 @@ static VALUE PlatformModule = Qnil;
|
||||
#define CPU "sparc"
|
||||
#elif defined(__sparcv9__)
|
||||
#define CPU "sparcv9"
|
||||
+#elif defined(__arm__)
|
||||
+#define CPU "arm"
|
||||
$OpenBSD: patch-ext_ffi_c_Platform_c,v 1.2 2011/03/10 23:51:36 jeremy Exp $
|
||||
--- ext/ffi_c/Platform.c.orig Wed Dec 31 16:00:00 1969
|
||||
+++ ext/ffi_c/Platform.c Fri Feb 25 12:08:12 2011
|
||||
@@ -52,6 +52,13 @@ static VALUE PlatformModule = Qnil;
|
||||
|
||||
#elif defined(__arm__)
|
||||
# define CPU "arm"
|
||||
+
|
||||
+#elif defined(__mips__)
|
||||
+#define CPU "mips"
|
||||
+# define CPU "mips"
|
||||
+
|
||||
+#elif defined(__hppa__)
|
||||
+#define CPU "hppa"
|
||||
+# define CPU "hppa"
|
||||
+
|
||||
#else
|
||||
#error "Unknown cpu type"
|
||||
# error "Unknown cpu type"
|
||||
#endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/12/20 18:04:16 jeremy Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.2 2011/03/10 23:51:36 jeremy Exp $
|
||||
${GEM_LIB}/cache/${DISTNAME}.gem
|
||||
${GEM_LIB}/gems/${DISTNAME}/
|
||||
${GEM_LIB}/gems/${DISTNAME}/.require_paths
|
||||
@ -24,6 +24,7 @@ ${GEM_LIB}/gems/${DISTNAME}/lib/ffi/memorypointer.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/ffi/platform.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/ffi/pointer.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/ffi/struct.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/ffi/struct_layout_builder.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/ffi/tools/
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/ffi/tools/const_generator.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/ffi/tools/generator.rb
|
||||
@ -37,11 +38,15 @@ ${GEM_LIB}/gems/${DISTNAME}/lib/ffi/variadic.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/ffi_c.so
|
||||
${GEM_LIB}/gems/${DISTNAME}/spec/
|
||||
${GEM_LIB}/gems/${DISTNAME}/spec/ffi/
|
||||
${GEM_LIB}/gems/${DISTNAME}/spec/ffi/async_callback_spec.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/spec/ffi/bool_spec.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/spec/ffi/buffer_spec.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/spec/ffi/callback_spec.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/spec/ffi/custom_param_type.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/spec/ffi/custom_type_spec.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/spec/ffi/enum_spec.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/spec/ffi/errno_spec.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/spec/ffi/ffi_spec.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/spec/ffi/function_spec.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/spec/ffi/library_spec.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/spec/ffi/managed_struct_spec.rb
|
||||
@ -54,8 +59,10 @@ ${GEM_LIB}/gems/${DISTNAME}/spec/ffi/rbx/spec_helper.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/spec/ffi/rbx/struct_spec.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/spec/ffi/spec_helper.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/spec/ffi/string_spec.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/spec/ffi/strptr_spec.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/spec/ffi/struct_callback_spec.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/spec/ffi/struct_initialize_spec.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/spec/ffi/struct_packed_spec.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/spec/ffi/struct_spec.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/spec/ffi/typedef_spec.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/spec/ffi/union_spec.rb
|
||||
|
Loading…
Reference in New Issue
Block a user