mirror of
https://git.freebsd.org/ports.git
synced 2025-06-15 17:50:31 -04:00
Because the libraries are faily big this significantly reduces the size of programs linking to it. Use PORTVERSION as the library version because upstream does not guarantee compatibility between any two versions. Add an upstream patch to graphics/llpp to fix brightness increase key. PR: 216823 Submitted by: Tobias Kortkamp <t@tobik.me> (maintainer of llpp) Approved by: Zsolt Udvari <udvzsolt@gmail.com> (maintainer) Obtained from: OpenBSD
15 lines
478 B
OCaml
15 lines
478 B
OCaml
Fix brightness increase key
|
|
|
|
Upstream commit: 35113fbe37a385e8a886288a86cf970ac85e742e
|
|
|
|
--- main.ml.orig 2017-02-01 01:49:58 UTC
|
|
+++ main.ml
|
|
@@ -5057,7 +5057,7 @@ let viewkeyboard key mask =
|
|
|
|
| Ascii ('['|']' as c) ->
|
|
conf.colorscale <-
|
|
- bound (conf.colorscale +. (if c = '>' then 0.1 else -0.1)) 0.0 1.0;
|
|
+ bound (conf.colorscale +. (if c = ']' then 0.1 else -0.1)) 0.0 1.0;
|
|
G.postRedisplay "brightness";
|
|
|
|
| Ascii 'c' when state.mode = View ->
|