SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
38
x11/icewm/patches/patch-src_icesh_cc
Normal file
38
x11/icewm/patches/patch-src_icesh_cc
Normal file
|
@ -0,0 +1,38 @@
|
|||
Don't do this GNU extension stuff.
|
||||
|
||||
Index: src/icesh.cc
|
||||
--- src/icesh.cc.orig
|
||||
+++ src/icesh.cc
|
||||
@@ -2558,6 +2558,8 @@ void IceSh::doSync()
|
||||
|
||||
bool IceSh::colormaps()
|
||||
{
|
||||
+ void (*previous)(int);
|
||||
+
|
||||
if ( !isAction("colormaps", 0))
|
||||
return false;
|
||||
|
||||
@@ -2566,7 +2568,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);
|
||||
@@ -2760,11 +2762,13 @@ void IceSh::monitors()
|
||||
|
||||
bool IceSh::guiEvents()
|
||||
{
|
||||
+ void (*previous)(int);
|
||||
+
|
||||
if ( !isAction("guievents", 0))
|
||||
return false;
|
||||
|
||||
running = true;
|
||||
- sighandler_t previous = signal(SIGINT, catcher);
|
||||
+ previous = signal(SIGINT, catcher);
|
||||
XSelectInput(display, root, PropertyChangeMask);
|
||||
while (running) {
|
||||
if (XPending(display)) {
|
Loading…
Add table
Add a link
Reference in a new issue