ffi 1.1.0.rc1 → 1.1.0.rc2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of ffi might be problematic. Click here for more details.

data/Rakefile CHANGED
@@ -5,7 +5,6 @@ USE_RAKE_COMPILER = (RUBY_PLATFORM =~ /java/) ? false : true
5
5
  if USE_RAKE_COMPILER
6
6
  gem 'rake-compiler', '>=0.6.0'
7
7
  require 'rake/extensiontask'
8
- ENV['RUBY_CC_VERSION'] = '1.8.7:1.9.3'
9
8
  end
10
9
 
11
10
  require 'date'
@@ -75,7 +74,7 @@ PROJ.name = 'ffi'
75
74
  PROJ.authors = 'Wayne Meissner'
76
75
  PROJ.email = 'wmeissner@gmail.com'
77
76
  PROJ.url = 'http://wiki.github.com/ffi/ffi'
78
- PROJ.version = '1.1.0.rc1'
77
+ PROJ.version = '1.1.0.rc2'
79
78
  PROJ.rubyforge.name = 'ffi'
80
79
  PROJ.readme_file = 'README.rdoc'
81
80
 
@@ -189,3 +188,6 @@ task 'spec:specdoc' => TEST_DEPS
189
188
 
190
189
  task :default => :specs
191
190
 
191
+ task 'gem:win32' do
192
+ sh("rake cross native gem RUBY_CC_VERSION='1.8.7:1.9.3'") || raise("win32 build failed!")
193
+ end
@@ -7,7 +7,7 @@ INCFLAGS += -I${LIBFFI_BUILD_DIR}/include
7
7
  LOCAL_LIBS += ${LIBFFI} -lpthread
8
8
 
9
9
  LIBFFI_CFLAGS = ${FFI_MMAP_EXEC} -pthread
10
- LIBFFI_BUILD_DIR = ${.CURDIR}/libffi
10
+ LIBFFI_BUILD_DIR = ${.CURDIR}/libffi-${arch}
11
11
 
12
12
  .if ${srcdir} == "."
13
13
  LIBFFI_SRC_DIR := ${.CURDIR}/libffi
@@ -22,6 +22,7 @@ ifneq ($(findstring -arch x86_64,$(CFLAGS)),)
22
22
  endif
23
23
 
24
24
  ifeq ($(strip $(ARCHES)),)
25
+ LIBFFI_BUILD_DIR = $(BUILD_DIR)/libffi-$(arch)
25
26
  # Just build the one (default) architecture
26
27
  $(LIBFFI):
27
28
  @mkdir -p "$(LIBFFI_BUILD_DIR)"
@@ -9,7 +9,7 @@ INCFLAGS += -I"$(LIBFFI_BUILD_DIR)"/include
9
9
  LOCAL_LIBS += $(LIBFFI)
10
10
  BUILD_DIR = $(shell pwd)
11
11
  LIBFFI_CFLAGS = $(FFI_MMAP_EXEC)
12
- LIBFFI_BUILD_DIR = $(BUILD_DIR)/libffi
12
+ LIBFFI_BUILD_DIR = $(BUILD_DIR)/libffi-$(arch)
13
13
 
14
14
  ifeq ($(srcdir),.)
15
15
  LIBFFI_SRC_DIR := $(shell pwd)/libffi
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffi
3
3
  version: !ruby/object:Gem::Version
4
- hash: -4184234388
4
+ hash: 1213833217
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
9
  - 0
10
10
  - rc
11
- - 1
12
- version: 1.1.0.rc1
11
+ - 2
12
+ version: 1.1.0.rc2
13
13
  platform: ruby
14
14
  authors:
15
15
  - Wayne Meissner
@@ -61,7 +61,6 @@ extra_rdoc_files:
61
61
  - lib/ffi/platform/x86_64-netbsd/types.conf
62
62
  - lib/ffi/platform/x86_64-openbsd/types.conf
63
63
  - lib/ffi/platform/x86_64-solaris/types.conf
64
- - lib/ffi_c.bundle
65
64
  files:
66
65
  - History.txt
67
66
  - LICENSE
@@ -443,7 +442,6 @@ files:
443
442
  - lib/ffi/types.rb
444
443
  - lib/ffi/union.rb
445
444
  - lib/ffi/variadic.rb
446
- - lib/ffi_c.bundle
447
445
  - spec/ffi/async_callback_spec.rb
448
446
  - spec/ffi/bool_spec.rb
449
447
  - spec/ffi/buffer_spec.rb
Binary file