openbsd-ports/lang/ruby/patches/patch-configure
bernd ede46f770e Security update to ruby-1.8.6-p369.
Fixes a denial of service vulnerability in the BigDecimal
standard library of Ruby.

http://www.ruby-lang.org/en/news/2009/06/09/dos-vulnerability-in-bigdecimal/
2009-06-16 09:12:44 +00:00

13 lines
434 B
Plaintext

$OpenBSD: patch-configure,v 1.6 2009/06/16 09:12:44 bernd Exp $
--- configure.orig Tue Jun 9 02:38:28 2009
+++ configure Wed Jun 10 06:44:43 2009
@@ -17704,7 +17704,7 @@ if test "$enable_shared" = 'yes'; then
;;
openbsd*)
SOLIBS='$(LIBS)'
- LIBRUBY_SO='lib$(RUBY_INSTALL_NAME).so.$(MAJOR).'`expr ${MINOR} \* 10 + ${TEENY}`
+ LIBRUBY_SO='lib$(RUBY_INSTALL_NAME).so.'${LIBruby_VERSION}
;;
solaris*)
SOLIBS='$(LIBS)'