diff --git a/icewm-1.3.8-narrowingfix.patch b/icewm-1.3.8-narrowingfix.patch new file mode 100644 index 0000000..a06a46c --- /dev/null +++ b/icewm-1.3.8-narrowingfix.patch @@ -0,0 +1,21 @@ +diff -up icewm-1.3.8/src/icesh.cc.narrowingfix icewm-1.3.8/src/icesh.cc +--- icewm-1.3.8/src/icesh.cc.narrowingfix 2017-01-03 15:53:33.537699919 -0500 ++++ icewm-1.3.8/src/icesh.cc 2017-01-03 15:53:52.717596858 -0500 +@@ -245,7 +245,7 @@ Symbol trayOptionIdentifiers[] = { + }; + + SymbolTable layers = { +- layerIdentifiers, 0, WinLayerCount - 1, WinLayerInvalid ++ layerIdentifiers, 0, WinLayerCount - 1, (long)WinLayerInvalid + }; + + SymbolTable states = { +@@ -257,7 +257,7 @@ SymbolTable hints = { + }; + + SymbolTable trayOptions = { +- trayOptionIdentifiers, 0, WinTrayOptionCount - 1, WinTrayInvalid ++ trayOptionIdentifiers, 0, WinTrayOptionCount - 1, (long)WinTrayInvalid + }; + + /******************************************************************************/ diff --git a/icewm.spec b/icewm.spec index 6d37a51..53bfcf1 100644 --- a/icewm.spec +++ b/icewm.spec @@ -44,6 +44,7 @@ Patch5: icewm-1.3.7-dso.patch Patch6: icewm-defaults.patch Patch7: icewm-1.3.7-menuiconsize.patch Patch8: icewm-1.3.8-deprecated.patch +Patch9: icewm-1.3.8-narrowingfix.patch %description @@ -102,7 +103,7 @@ older Fedora releases and RHEL. %patch6 -p0 -b .defaults %patch7 -p1 -b .menuiconsize %patch8 -p0 -b .deprecated - +%patch9 -p1 -b .narrowingfix %build autoreconf -vif