File gcc14.patch of Package rubygem-ruby-ldap
Index: ruby-ldap-0.9.20/extconf.rb
===================================================================
--- ruby-ldap-0.9.20.orig/extconf.rb
+++ ruby-ldap-0.9.20/extconf.rb
@@ -227,6 +227,7 @@ else
end
$LIBS << ' -pthread'
+$CFLAGS << ' -Wno-incompatible-pointer-types '
for l in [$libcrypto, $libssl, $libnsl, $libpthread, $libresolv,
$libns, $liblber, $libldap_r, $libldap].flatten
if( l )