aboutsummaryrefslogtreecommitdiffstats
path: root/audio/rubyripper/files
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2011-07-06 19:59:01 +0800
committerdanfe <danfe@FreeBSD.org>2011-07-06 19:59:01 +0800
commitbd1841afe82d4279195f966231f075f396730a49 (patch)
tree3ae7ef44477b5ed6f6d4e4494646192d3a605728 /audio/rubyripper/files
parentb39c5c70c1c0e4c76721a553c1d506645c196d14 (diff)
downloadfreebsd-ports-gnome-bd1841afe82d4279195f966231f075f396730a49.tar.gz
freebsd-ports-gnome-bd1841afe82d4279195f966231f075f396730a49.tar.zst
freebsd-ports-gnome-bd1841afe82d4279195f966231f075f396730a49.zip
- Switch to rubygem-gettext instead of ruby-gettext, to allow using the
port with Ruby 1.9 - Clean up Makefile a bit while here PR: ports/158612 Submitted by: swills
Diffstat (limited to 'audio/rubyripper/files')
-rw-r--r--audio/rubyripper/files/patch-rr_lib.rb16
1 files changed, 12 insertions, 4 deletions
diff --git a/audio/rubyripper/files/patch-rr_lib.rb b/audio/rubyripper/files/patch-rr_lib.rb
index b982f9446957..c70b266b8b62 100644
--- a/audio/rubyripper/files/patch-rr_lib.rb
+++ b/audio/rubyripper/files/patch-rr_lib.rb
@@ -1,6 +1,14 @@
--- rr_lib.rb.orig
+++ rr_lib.rb
-@@ -70,6 +70,7 @@
+@@ -22,6 +22,7 @@
+ $rr_version = '0.6.0' #application wide setting
+
+ begin
++ require 'rubygems'
+ require 'gettext'
+ include GetText
+ bindtextdomain("rubyripper")
+@@ -70,6 +71,7 @@
Thread.new do
if installed('eject') ; `eject #{cdrom}`
elsif installed('diskutil'); `diskutil eject #{cdrom}` #Mac users don't got eject, but diskutil
@@ -8,7 +16,7 @@
else puts _("No eject utility found!")
end
end
-@@ -573,15 +574,15 @@
+@@ -573,15 +575,15 @@
end
end
@@ -27,7 +35,7 @@
"for device %s on your system! These permissions are\n"\
"necessary for cdparanoia to scan your drive.\n\n%s\n"\
"You might want to add yourself to the necessary group in /etc/group")\
-@@ -605,13 +606,13 @@
+@@ -605,13 +607,13 @@
return true
end
@@ -43,7 +51,7 @@
"for device %s on your system! These permissions are\n"\
"necessary for cdparanoia to scan your drive.\n\n%s\n"\
"You might want to add yourself to the necessary group in /etc/group")\
-@@ -2524,7 +2525,7 @@
+@@ -2524,7 +2526,7 @@
# 6) is req_matches_all <= req_matches_errors
def checkConfig