View | Details | Raw Unified | Return to bug 249390
Collapse All | Expand All

(-)wmtunlo/files/patch-Makefile (-2 / +2 lines)
Lines 1-5 Link Here
1
--- Makefile.orig	Fri Nov  7 16:00:13 2003
1
--- Makefile.orig	2003-07-30 10:12:03 UTC
2
+++ Makefile	Fri Nov  7 16:01:42 2003
2
+++ Makefile
3
@@ -1,15 +1,15 @@
3
@@ -1,15 +1,15 @@
4
 
4
 
5
-CFLAGS			= -Wall -Os
5
-CFLAGS			= -Wall -Os
(-)wmtunlo/files/patch-docklib.c (+19 lines)
Line 0 Link Here
1
--- docklib.c.orig	2020-09-17 11:16:57 UTC
2
+++ docklib.c
3
@@ -300,6 +300,7 @@ execCommand(char *command)
4
 /*****************/
5
 
6
 Window		Root;
7
+Display		*display;
8
 int			screen;
9
 int			x_fd;
10
 int			d_depth;
11
@@ -713,7 +714,7 @@ char text[MAX_LINE_LEN];
12
 
13
 		p_strcpy (text, "# ", MAX_LINE_LEN);
14
 		p_strcat (text, comment, MAX_LINE_LEN);
15
-		fprintf (prefs_filehandle, text);
16
+		fprintf (prefs_filehandle, "%s", text);
17
 }
18
 
19
 /*---------------------------------------------------------------------------*/
(-)wmtunlo/files/patch-docklib.h (+21 lines)
Line 0 Link Here
1
--- docklib.h.orig	2020-09-17 11:03:03 UTC
2
+++ docklib.h
3
@@ -81,12 +81,12 @@ typedef struct {
4
  /* Global variable */
5
 /*******************/
6
 
7
-Display		*display;
8
-Window		Root;
9
-int			d_depth;
10
-GC			NormalGC;
11
-XpmIcon		wmgen;
12
-Window		iconwin, win;
13
+extern Display		*display;
14
+extern Window		Root;
15
+extern int		d_depth;
16
+extern GC		NormalGC;
17
+extern XpmIcon		wmgen;
18
+extern Window		iconwin, win;
19
 
20
   /***********************/
21
  /* Function Prototypes */

Return to bug 249390