Date: Sat, 19 Sep 2020 15:28:01 +0000 (UTC) From: "Danilo G. Baio" <dbaio@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r548996 - head/misc/wmtunlo/files Message-ID: <202009191528.08JFS1Y9076429@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dbaio Date: Sat Sep 19 15:28:00 2020 New Revision: 548996 URL: https://svnweb.freebsd.org/changeset/ports/548996 Log: misc/wmtunlo: Fix build on head PR: 249390 Submitted by: jd.fbsd@goneja.de Event: September 2020 Bugathon Added: head/misc/wmtunlo/files/patch-docklib.c (contents, props changed) head/misc/wmtunlo/files/patch-docklib.h (contents, props changed) Added: head/misc/wmtunlo/files/patch-docklib.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/wmtunlo/files/patch-docklib.c Sat Sep 19 15:28:00 2020 (r548996) @@ -0,0 +1,19 @@ +--- docklib.c.orig 2020-09-17 11:16:57 UTC ++++ docklib.c +@@ -300,6 +300,7 @@ execCommand(char *command) + /*****************/ + + Window Root; ++Display *display; + int screen; + int x_fd; + int d_depth; +@@ -713,7 +714,7 @@ char text[MAX_LINE_LEN]; + + p_strcpy (text, "# ", MAX_LINE_LEN); + p_strcat (text, comment, MAX_LINE_LEN); +- fprintf (prefs_filehandle, text); ++ fprintf (prefs_filehandle, "%s", text); + } + + /*---------------------------------------------------------------------------*/ Added: head/misc/wmtunlo/files/patch-docklib.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/wmtunlo/files/patch-docklib.h Sat Sep 19 15:28:00 2020 (r548996) @@ -0,0 +1,21 @@ +--- docklib.h.orig 2020-09-17 11:03:03 UTC ++++ docklib.h +@@ -81,12 +81,12 @@ typedef struct { + /* Global variable */ + /*******************/ + +-Display *display; +-Window Root; +-int d_depth; +-GC NormalGC; +-XpmIcon wmgen; +-Window iconwin, win; ++extern Display *display; ++extern Window Root; ++extern int d_depth; ++extern GC NormalGC; ++extern XpmIcon wmgen; ++extern Window iconwin, win; + + /***********************/ + /* Function Prototypes */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009191528.08JFS1Y9076429>