#
# Conditional build:
%bcond_without fifo # force using fifos even if sockets detected
-%bcond_without ipv6 # enable/disable IPv6 patch
# TODO
# - from changelog: 'maxwin' can now be used to increase the number of maximum windows.
Patch12: %{name}-screenrc.patch
Patch13: %{name}-osc.patch
Patch15: %{name}-statusline-encoding.patch
-Patch16: %{name}-ipv6.patch
Patch17: %{name}-E3.patch
Patch18: %{name}-4.1.0-suppress_remap.patch
Patch22: 52fix_%{name}_utf8_nfd.patch
%patch12 -p1
#%patch13 -p1 # my brain farted here, see if you have better luck
%patch15 -p0
-%{?with_ipv6:%patch16 -p2}
%patch17 -p2
%patch18 -p1
%patch22 -p1