Date: Mon, 4 May 2020 19:41:51 +0000 (UTC) From: Dirk Meyer <dinoex@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r533975 - head/x11-wm/afterstep/files Message-ID: <202005041941.044Jfptx032055@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dinoex Date: Mon May 4 19:41:51 2020 New Revision: 533975 URL: https://svnweb.freebsd.org/changeset/ports/533975 Log: - fix warnings Added: head/x11-wm/afterstep/files/patch-functions.c (contents, props changed) head/x11-wm/afterstep/files/patch-hostname.c (contents, props changed) head/x11-wm/afterstep/files/patch-mystrcasecmp.c (contents, props changed) head/x11-wm/afterstep/files/patch-wild.c (contents, props changed) Added: head/x11-wm/afterstep/files/patch-functions.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-wm/afterstep/files/patch-functions.c Mon May 4 19:41:51 2020 (r533975) @@ -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); Added: head/x11-wm/afterstep/files/patch-hostname.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-wm/afterstep/files/patch-hostname.c Mon May 4 19:41:51 2020 (r533975) @@ -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 <string.h> + #include <sys/utsname.h> + + int mygethostname(char *client, int length) Added: head/x11-wm/afterstep/files/patch-mystrcasecmp.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-wm/afterstep/files/patch-mystrcasecmp.c Mon May 4 19:41:51 2020 (r533975) @@ -0,0 +1,10 @@ +--- lib/mystrcasecmp.c.orig 1996-08-21 14:23:34 UTC ++++ lib/mystrcasecmp.c +@@ -1,6 +1,7 @@ + #include <stdio.h> + #include <stdlib.h> + #include <ctype.h> ++#include <string.h> + + int mystrcasecmp(char *s1,char *s2) + { Added: head/x11-wm/afterstep/files/patch-wild.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-wm/afterstep/files/patch-wild.c Mon May 4 19:41:51 2020 (r533975) @@ -0,0 +1,8 @@ +--- lib/wild.c.orig 1997-03-08 14:34:30 UTC ++++ lib/wild.c +@@ -1,4 +1,5 @@ + #include <stdio.h> ++#include <string.h> + + #ifndef TRUE + #define TRUE 1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005041941.044Jfptx032055>