summaryrefslogtreecommitdiff
path: root/dev-ruby/ruby-dict/files/ruby-dict-ruby19.patch
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
commitbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch)
tree0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-ruby/ruby-dict/files/ruby-dict-ruby19.patch
parentf716a9fe6455d39eef01e718aae68dae61c19704 (diff)
downloadbaldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-ruby/ruby-dict/files/ruby-dict-ruby19.patch')
-rw-r--r--dev-ruby/ruby-dict/files/ruby-dict-ruby19.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-ruby/ruby-dict/files/ruby-dict-ruby19.patch b/dev-ruby/ruby-dict/files/ruby-dict-ruby19.patch
new file mode 100644
index 000000000000..5ed897773fac
--- /dev/null
+++ b/dev-ruby/ruby-dict/files/ruby-dict-ruby19.patch
@@ -0,0 +1,20 @@
+--- lib/dict.rb.orig 2013-10-27 19:15:03.957167192 +0100
++++ lib/dict.rb 2013-10-27 19:16:15.191165936 +0100
+@@ -153,7 +153,7 @@
+
+
+ require 'socket'
+-require 'md5'
++require 'digest/md5'
+
+
+ # lines that start with .. need to be reduced to .
+@@ -434,7 +434,7 @@
+ # AUTHorise user
+ #
+ def auth(user, secret)
+- auth = MD5::new(@msgid + secret).hexdigest
++ auth = Digest::MD5.new.hexdigest(@msgid + secret)
+ exec_cmd('AUTH %s %s' % [ user, auth ])
+ end
+