aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJonas Bengtsson2011-12-06 12:00:08 +0100
committerAdam Vandenberg2012-02-04 19:26:03 -0800
commit6d32041089f69b286e38202d327fdd290b6c7e42 (patch)
tree7aa29e6d25ddcf1f5d5439297e5dea13340193e9 /Library/Formula
parenta547a049e91f0ed2336e855b3b6c217c5025b113 (diff)
downloadhomebrew-6d32041089f69b286e38202d327fdd290b6c7e42.tar.bz2
elinks: enable 256 colors
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/elinks.rb21
1 files changed, 21 insertions, 0 deletions
diff --git a/Library/Formula/elinks.rb b/Library/Formula/elinks.rb
index e4a086116..e0a3b90b6 100644
--- a/Library/Formula/elinks.rb
+++ b/Library/Formula/elinks.rb
@@ -9,6 +9,11 @@ class Elinks < Formula
fails_with_llvm :build => 2326
+ # enables 256 colors, per the manual
+ def patches
+ DATA
+ end
+
def install
ENV.deparallelize
ENV.delete('LD')
@@ -17,3 +22,19 @@ class Elinks < Formula
system "make install"
end
end
+
+__END__
+diff --git a/features.conf b/features.conf
+index 1c0095c..7ee8b0d 100644
+--- a/features.conf
++++ b/features.conf
+@@ -501,7 +501,7 @@ CONFIG_88_COLORS=no
+ #
+ # Default: disabled
+
+-CONFIG_256_COLORS=no
++CONFIG_256_COLORS=yes
+
+
+ ### Ex-mode Interface
+