summaryrefslogtreecommitdiff
blob: 8dbcbdd62ae5bd1da5dc9f394a514c6362a97bd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
diff -ur toshutils-2.0.1.old/src/machine.h toshutils-2.0.1/src/machine.h
--- toshutils-2.0.1.old/src/machine.h	2006-12-10 12:17:32.000000000 +0200
+++ toshutils-2.0.1/src/machine.h	2006-12-10 12:27:23.000000000 +0200
@@ -23,8 +23,6 @@
 #ifndef MACHINE_H
 #define MACHINE_H
 
-extern int powermode;
-
 void MachineOkCallback(GtkWidget *widget, GtkWidget *dialog);
 void MachineCancelCallback(GtkWidget *widget, GtkWidget *dialog);
 void MachineDefaultsCallback(GtkWidget *widget, gpointer *data);

diff -ur toshutils-2.0.1.old/src/Makefile.in toshutils-2.0.1/src/Makefile.in
--- toshutils-2.0.1.old/src/Makefile.in	2006-12-10 12:17:32.000000000 +0200
+++ toshutils-2.0.1/src/Makefile.in	2006-12-10 12:22:29.000000000 +0200
@@ -83,7 +83,7 @@
 WALL = @WALL@
 
 .c.o:
-	$(CC) $(CFLAGS) -DVERSION=\"$(VERSION)\" -DBINDIR=\"$(BINDESTDIR)\"\
+	$(CC) $(CFLAGS) -DVERSION=\"$(VERSION)\" -DBINDIR=\"$(BINDESTDIR)\" \
 	-DXMESSAGE=\"$(XMESSAGE)\" -DWALL=\"$(WALL)\" -c $<
 
 
@@ -96,7 +96,7 @@
 	$(LEX) -i parsetime.l
 
 wmtuxtime.o: wmtuxtime.c
-	$(CC) $(CFLAGS) -fwritable-strings -DVERSION=\"$(VERSION)\"\
+	$(CC) $(CFLAGS) -DVERSION=\"$(VERSION)\" \
 	-DBINDIR=\"$(BINDESTDIR)\" -DXMESSAGE=\"$(XMESSAGE)\" -c $<
 
 
diff -ur toshutils-2.0.1.old/src/wmgeneral.c toshutils-2.0.1/src/wmgeneral.c
--- toshutils-2.0.1.old/src/wmgeneral.c	2006-12-10 12:17:32.000000000 +0200
+++ toshutils-2.0.1/src/wmgeneral.c	2006-12-10 12:23:44.000000000 +0200
@@ -25,6 +25,7 @@
  */
 
 #include<stdio.h>
+#include<stdlib.h>
 #include<string.h>
 #include<X11/Xlib.h>
 #include<X11/xpm.h>