svn commit: r548996 - head/misc/wmtunlo/files
Danilo G. Baio
dbaio at FreeBSD.org
Sat Sep 19 15:28:01 UTC 2020
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 at 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 */
More information about the svn-ports-head
mailing list