freebsd-ports/graphics/gegl/files/patch-tools_create-reference.rb
Koop Mast 94fad015f4 Add patch to fix ruby script with ruby 1.9+ [1]
Remove Obsolete reinplace lines.
Make sure we have ruby and bash available for building docs and not depend
  on others to supply it.
Don't install docs double.

PR:		ports/179531 [1]
Submitted by:	bar@
2013-06-17 19:26:33 +00:00

14 lines
404 B
Ruby

--- tools/create-reference.rb.orig 2013-06-17 14:02:54.000000000 +0000
+++ tools/create-reference.rb 2013-06-17 14:03:31.000000000 +0000
@@ -5,6 +5,11 @@
# Use under a public domain license.
#
+if RUBY_VERSION != /^1.8/
+ Encoding.default_external = Encoding::UTF_8
+ Encoding.default_internal = Encoding::UTF_8
+end
+
class Argument
attr_accessor :name, :data_type, :doc
def initialize