diff --git a/x11-wm/afterstep/files/patch-functions.c b/x11-wm/afterstep/files/patch-functions.c new file mode 100644 index 000000000000..2146a63630bc --- /dev/null +++ b/x11-wm/afterstep/files/patch-functions.c @@ -0,0 +1,11 @@ +--- afterstep/functions.c.orig 1997-04-26 12:50:08 UTC ++++ afterstep/functions.c +@@ -1257,7 +1257,7 @@ void Shade(ASWindow *tmp_win) + tmp_win->flags |= SHADED; + + /* can't shade a window with no titlebar */ +- if (!tmp_win->flags & TITLE) return; ++ if ((!tmp_win->flags) & TITLE) return; + + #ifdef SHADE_ANIMATION + XLowerWindow(dpy, tmp_win->w); diff --git a/x11-wm/afterstep/files/patch-hostname.c b/x11-wm/afterstep/files/patch-hostname.c new file mode 100644 index 000000000000..bb18385d6af0 --- /dev/null +++ b/x11-wm/afterstep/files/patch-hostname.c @@ -0,0 +1,10 @@ +--- lib/hostname.c.orig 1996-08-21 14:23:34 UTC ++++ lib/hostname.c +@@ -3,6 +3,7 @@ + #if HAVE_UNAME + /* define mygethostname() by using uname() */ + ++#include + #include + + int mygethostname(char *client, int length) diff --git a/x11-wm/afterstep/files/patch-mystrcasecmp.c b/x11-wm/afterstep/files/patch-mystrcasecmp.c new file mode 100644 index 000000000000..e206b8485cf5 --- /dev/null +++ b/x11-wm/afterstep/files/patch-mystrcasecmp.c @@ -0,0 +1,10 @@ +--- lib/mystrcasecmp.c.orig 1996-08-21 14:23:34 UTC ++++ lib/mystrcasecmp.c +@@ -1,6 +1,7 @@ + #include + #include + #include ++#include + + int mystrcasecmp(char *s1,char *s2) + { diff --git a/x11-wm/afterstep/files/patch-wild.c b/x11-wm/afterstep/files/patch-wild.c new file mode 100644 index 000000000000..1eca27b7c6b7 --- /dev/null +++ b/x11-wm/afterstep/files/patch-wild.c @@ -0,0 +1,8 @@ +--- lib/wild.c.orig 1997-03-08 14:34:30 UTC ++++ lib/wild.c +@@ -1,4 +1,5 @@ + #include ++#include + + #ifndef TRUE + #define TRUE 1