diff options
Diffstat (limited to 'textproc/augeas')
-rw-r--r-- | textproc/augeas/Makefile | 2 | ||||
-rw-r--r-- | textproc/augeas/files/patch-lenses__sysctl.aug | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/textproc/augeas/Makefile b/textproc/augeas/Makefile index 2cd25392e3cd..5e069df733ba 100644 --- a/textproc/augeas/Makefile +++ b/textproc/augeas/Makefile @@ -8,7 +8,7 @@ PORTNAME= augeas PORTVERSION= 0.10.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= textproc MASTER_SITES= http://augeas.net/download/ diff --git a/textproc/augeas/files/patch-lenses__sysctl.aug b/textproc/augeas/files/patch-lenses__sysctl.aug new file mode 100644 index 000000000000..fcd6aabdccdd --- /dev/null +++ b/textproc/augeas/files/patch-lenses__sysctl.aug @@ -0,0 +1,11 @@ +--- lenses/sysctl.aug.orig 2012-08-19 01:11:41.000000000 +0000 ++++ lenses/sysctl.aug 2012-08-19 01:11:57.000000000 +0000 +@@ -6,7 +6,7 @@ + let eol = Util.eol + let indent = Util.indent + let key_re = /[A-Za-z0-9_.-]+/ +- let eq = del /[ \t]*=[ \t]*/ " = " ++ let eq = del /[ \t]*=[ \t]*/ "=" + let value_re = /[^ \t\n](.*[^ \t\n])?/ + + let comment = [ indent . label "#comment" . del /[#;][ \t]*/ "# " |