1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 091207_test_dl_free_func.dpatch by akira yamada <akira@debian.org>
4
## All lines beginning with `## DP:' are a description of the patch.
8
Index: b/test/dl/test_cptr.rb
9
===================================================================
10
--- a/test/dl/test_cptr.rb 2010-07-20 21:45:45.000000000 +0900
11
+++ b/test/dl/test_cptr.rb 2010-07-20 21:46:17.000000000 +0900
14
@libc = dlopen(LIBC_SO)
15
@libm = dlopen(LIBM_SO)
16
- free = CFunc.new(@libc['free'], TYPE_VOID, 'free')
17
+ free = CFunc.new(DL::RUBY_FREE, TYPE_VOID, 'free')
24
- free = CFunc.new(@libc['free'], TYPE_VOID, 'free')
25
+ free = CFunc.new(DL::RUBY_FREE, TYPE_VOID, 'free')