From owner-svn-ports-all@freebsd.org Sat Sep 19 15:28:01 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C40B33E447E; Sat, 19 Sep 2020 15:28:01 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BtvjF4rndz41QZ; Sat, 19 Sep 2020 15:28:01 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 89C4EE2B0; Sat, 19 Sep 2020 15:28:01 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 08JFS1CI076430; Sat, 19 Sep 2020 15:28:01 GMT (envelope-from dbaio@FreeBSD.org) Received: (from dbaio@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 08JFS1Y9076429; Sat, 19 Sep 2020 15:28:01 GMT (envelope-from dbaio@FreeBSD.org) Message-Id: <202009191528.08JFS1Y9076429@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dbaio set sender to dbaio@FreeBSD.org using -f From: "Danilo G. Baio" Date: Sat, 19 Sep 2020 15:28:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r548996 - head/misc/wmtunlo/files X-SVN-Group: ports-head X-SVN-Commit-Author: dbaio X-SVN-Commit-Paths: head/misc/wmtunlo/files X-SVN-Commit-Revision: 548996 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Sep 2020 15:28:01 -0000 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 */