$OpenBSD: patch-lib_iconv_rb,v 1.2 2011/03/10 20:40:33 jeremy Exp $
iconv symbol names have lib prefix in openbsd port

--- lib/iconv.rb.orig	Tue Feb 22 15:02:08 2011
+++ lib/iconv.rb	Wed Feb 23 14:03:36 2011
@@ -8,9 +8,9 @@ class Iconv
   # process.
   ffi_lib ["libiconv.2.dylib", "libiconv.so.2", "libiconv", FFI::CURRENT_PROCESS]
 
-  attach_function :create,  "iconv_open", [:string, :string], :pointer
-  attach_function :close,   "iconv_close", [:pointer], :int
-  attach_function :convert, "iconv",
+  attach_function :create,  "libiconv_open", [:string, :string], :pointer
+  attach_function :close,   "libiconv_close", [:pointer], :int
+  attach_function :convert, "libiconv",
                             [:pointer, :pointer, :pointer, :pointer, :pointer], :long
 
   module Failure
