summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2017-05-20 18:06:38 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2017-05-20 18:06:38 +0000
commitf291c88ad14a1185784a8c2f5f29a037b16924c4 (patch)
treec6e38e9ba74f8095f3bc7d63e38bb4232c426778
parentUpdate to the 20170517 snapshot of GCC 6.3.1. (diff)
Fix mangled shebang.
Approved by: rakuco (mentor, implicit)
-rw-r--r--textproc/rubygem-pretty-xml/Makefile1
-rw-r--r--textproc/rubygem-pretty-xml/files/patch-lib_pretty-xml.rb15
2 files changed, 16 insertions, 0 deletions
diff --git a/textproc/rubygem-pretty-xml/Makefile b/textproc/rubygem-pretty-xml/Makefile
index b8a6b58b53b4..df1dd3f7bc52 100644
--- a/textproc/rubygem-pretty-xml/Makefile
+++ b/textproc/rubygem-pretty-xml/Makefile
@@ -2,6 +2,7 @@
PORTNAME= pretty-xml
PORTVERSION= 0.2.1
+PORTREVISION= 1
CATEGORIES= textproc rubygems
MASTER_SITES= RG
diff --git a/textproc/rubygem-pretty-xml/files/patch-lib_pretty-xml.rb b/textproc/rubygem-pretty-xml/files/patch-lib_pretty-xml.rb
new file mode 100644
index 000000000000..9b9d8590a761
--- /dev/null
+++ b/textproc/rubygem-pretty-xml/files/patch-lib_pretty-xml.rb
@@ -0,0 +1,15 @@
+--- lib/pretty-xml.rb.orig 2017-05-20 17:50:05 UTC
++++ lib/pretty-xml.rb
+@@ -1,4 +1,4 @@
+-#!/bin/usr/env ruby
++#!/usr/bin/env ruby
+
+ # file: pretty-xml.rb
+
+@@ -66,4 +66,4 @@ XSL
+ module_function :write
+
+ alias print write
+-end
+\ No newline at end of file
++end