[DRE-commits] [SCM] ruby-spoon.git branch, master, updated. upstream/0.0.3-20-g479ee0c
Cédric Boutillier
boutil at debian.org
Tue May 14 12:29:22 UTC 2013
The following commit has been merged in the master branch:
commit cb174c23e5ec8fc2f157cf148248e818b348638d
Author: Cédric Boutillier <boutil at debian.org>
Date: Tue May 14 13:41:06 2013 +0200
remove patches. not needed anymore
diff --git a/debian/patches/increase_size_spawnattributes.patch b/debian/patches/increase_size_spawnattributes.patch
deleted file mode 100644
index 034758d..0000000
--- a/debian/patches/increase_size_spawnattributes.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Description: SpawnAttributes is 336 bytes on 64bit linux
- Allocation 128 bytes causes memory corruption on 64 bit linux. Because
- the structure underneath is bigger. Increase the size.
-Author: Eugene Pimenov <eugene at libc.st>
-Origin: https://github.com/libc/spoon/commit/9eceb369adf086ad407bd562f74fb43a4e1c2c02
-Reviewed-by: Cédric Boutillier <boutil at debian.org>
-Last-Update: 2012-12-26
----
- lib/spoon/unix.rb | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/lib/spoon/unix.rb
-+++ b/lib/spoon/unix.rb
-@@ -51,7 +51,7 @@
-
- class SpawnAttributes
- attr_reader :pointer
-- SIZE = FFI::Platform.mac? ? FFI.type_size(:pointer) : 128
-+ SIZE = FFI::Platform.mac? ? FFI.type_size(:pointer) : 336
-
- def initialize
- @pointer = FFI::AutoPointer.new(LibC.malloc(SIZE), self.class)
diff --git a/debian/patches/pass_release_method.patch b/debian/patches/pass_release_method.patch
deleted file mode 100644
index df2cf4a..0000000
--- a/debian/patches/pass_release_method.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Description: AutoPointer does not support classes in ffi gem
- FFI gem (for MRI) does not support passing classes for deallocator. Use
- pass unbound method, since it's supported by both rubies.
-Origin: https://github.com/libc/spoon/commit/4454035a6db686ee4ca364d68a4fdc756168a1f9
-Author: Eugene Pimenov <eugene at libc.st>
-Reviewed-by: Cédric Boutillier <boutil at debian.org>
-Last-Update: 2012-12-26
----
- lib/spoon/unix.rb | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
---- a/lib/spoon/unix.rb
-+++ b/lib/spoon/unix.rb
-@@ -20,7 +20,7 @@
- SIZE = FFI::Platform.mac? ? FFI.type_size(:pointer) : 128
-
- def initialize
-- @pointer = FFI::AutoPointer.new(LibC.malloc(SIZE), self.class)
-+ @pointer = FFI::AutoPointer.new(LibC.malloc(SIZE), self.class.method(:release))
- error = LibC.posix_spawn_file_actions_init(@pointer)
- raise SystemCallError.new("posix_file_actions_init", error) unless error == 0
- end
-@@ -54,7 +54,7 @@
- SIZE = FFI::Platform.mac? ? FFI.type_size(:pointer) : 336
-
- def initialize
-- @pointer = FFI::AutoPointer.new(LibC.malloc(SIZE), self.class)
-+ @pointer = FFI::AutoPointer.new(LibC.malloc(SIZE), self.class.method(:release))
- error = LibC.posix_spawnattr_init(@pointer)
- raise SystemCallError.new("posix_spawnattr_init", error) unless error == 0
- end
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 0b01cf7..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1,2 +0,0 @@
-increase_size_spawnattributes.patch
-pass_release_method.patch
--
ruby-spoon.git
More information about the Pkg-ruby-extras-commits
mailing list