patch-src_features_rb 531 B

12345678910111213141516171819202122
  1. $OpenBSD: patch-src_features_rb,v 1.1 2013/10/07 20:56:53 jeremy Exp $
  2. --- src/features.rb.orig Fri Jun 27 04:29:30 2008
  3. +++ src/features.rb Thu Oct 3 13:31:27 2013
  4. @@ -813,7 +813,7 @@ end
  5. begin
  6. conftest = CONFTEST_C.dup
  7. class Object
  8. - remove_const('CONFTEST_C')
  9. + remove_const('CONFTEST_C') rescue nil
  10. end
  11. CONFTEST_C = 'conftest.cxx'
  12. @@ -878,7 +878,7 @@ EOT
  13. ensure
  14. class Object
  15. - remove_const('CONFTEST_C')
  16. + remove_const('CONFTEST_C') rescue nil
  17. end
  18. CONFTEST_C = conftest