freebsd-ports/lang/ruby20/files/patch-lib__rdoc__ruby_lex.rb
Sunpoet Po-Chuan Hsieh e9264c81e2 - Move *_DEPENDS together
- Sort CONFIGURE_ARGS
- Remove duplicate WRKSRC
- Sort USES
- Use pre-install: instead of pre-su-install:
- Convert to new options helper
- Convert to new options target helper
- Change options helper: (copied from ruby22)
  - Use CAPIDOCS_CONFIGURE_ENABLE instead of CAPIDOCS_CONFIGURE_OFF
  - Use RDOC_CONFIGURE_ENABLE instead of RDOC_CONFIGURE_OFF
- Add regression-test:
- Fix typo
- Cosmetic change
- Pet portlint: fix diff header of patch files
- Bump PORTREVISION for package change
2015-09-07 17:46:06 +00:00

11 lines
268 B
Ruby

--- ./lib/rdoc/ruby_lex.rb.orig 2012-12-18 07:31:36 UTC
+++ ./lib/rdoc/ruby_lex.rb
@@ -1028,6 +1028,8 @@
end
if output_heredoc then
+ raise Error, "Missing terminating #{quoted} for string" unless l
+
doc << l.chomp
else
doc << '"'