openbsd-ports/x11/icewm/patches/patch-src_icesh_cc
bcallah 4eda5fa111 Update to icewm-1.5.4
While here, change default background to a solid blue color.
Background change, macppc testing, and ok cwen@
2019-04-29 16:12:28 +00:00

42 lines
1.0 KiB
Plaintext

$OpenBSD: patch-src_icesh_cc,v 1.2 2019/04/29 16:12:28 bcallah Exp $
Don't do this GNU extension stuff.
Index: src/icesh.cc
--- src/icesh.cc.orig
+++ src/icesh.cc
@@ -726,6 +726,8 @@ bool IceSh::wmcheck()
bool IceSh::colormaps()
{
+ void (*previous)(int);
+
if (strcmp(*argp, "colormaps"))
return false;
++argp;
@@ -735,7 +737,7 @@ bool IceSh::colormaps()
tlog("colormaps");
running = true;
- sighandler_t previous = signal(SIGINT, catcher);
+ previous = signal(SIGINT, catcher);
while (running) {
int n = 0;
Colormap* map = XListInstalledColormaps(display, root, &n);
@@ -769,12 +771,14 @@ bool IceSh::colormaps()
bool IceSh::guiEvents()
{
+ void (*previous)(int);
+
if (strcmp(*argp, "guievents"))
return false;
++argp;
running = true;
- sighandler_t previous = signal(SIGINT, catcher);
+ previous = signal(SIGINT, catcher);
XSelectInput(display, root, PropertyChangeMask);
while (running) {
if (XPending(display)) {