1 |
josejx 09/07/16 15:31:39 |
2 |
|
3 |
Modified: ChangeLog Makefile Xorgautoconfig.c |
4 |
Log: |
5 |
Fixed some GCC 4.3 compile warnings. |
6 |
|
7 |
Revision Changes Path |
8 |
1.29 Xorgautoconfig/ChangeLog |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-src/Xorgautoconfig/ChangeLog?rev=1.29&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-src/Xorgautoconfig/ChangeLog?rev=1.29&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-src/Xorgautoconfig/ChangeLog?r1=1.28&r2=1.29 |
13 |
|
14 |
Index: ChangeLog |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-src/Xorgautoconfig/ChangeLog,v |
17 |
retrieving revision 1.28 |
18 |
retrieving revision 1.29 |
19 |
diff -u -r1.28 -r1.29 |
20 |
--- ChangeLog 6 Jul 2006 15:49:47 -0000 1.28 |
21 |
+++ ChangeLog 16 Jul 2009 15:31:39 -0000 1.29 |
22 |
@@ -1,3 +1,6 @@ |
23 |
+2009-07-15 Joseph Jezak <josejx@g.o> |
24 |
+ * Fixed some GCC 4.3 compile warnings |
25 |
+ |
26 |
2006-07-06 Joseph Jezak <josejx@g.o> |
27 |
* Removed backing store as it's buggy |
28 |
|
29 |
|
30 |
|
31 |
|
32 |
1.3 Xorgautoconfig/Makefile |
33 |
|
34 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-src/Xorgautoconfig/Makefile?rev=1.3&view=markup |
35 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-src/Xorgautoconfig/Makefile?rev=1.3&content-type=text/plain |
36 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-src/Xorgautoconfig/Makefile?r1=1.2&r2=1.3 |
37 |
|
38 |
Index: Makefile |
39 |
=================================================================== |
40 |
RCS file: /var/cvsroot/gentoo-src/Xorgautoconfig/Makefile,v |
41 |
retrieving revision 1.2 |
42 |
retrieving revision 1.3 |
43 |
diff -u -r1.2 -r1.3 |
44 |
--- Makefile 14 Jun 2005 03:13:55 -0000 1.2 |
45 |
+++ Makefile 16 Jul 2009 15:31:39 -0000 1.3 |
46 |
@@ -3,7 +3,7 @@ |
47 |
OBJS = Xorgautoconfig.o pci.o misc.o ddcprobe/minifind.o ddcprobe/common.o ddcprobe/vesamode.o ddcprobe/of.o |
48 |
|
49 |
all: $(OBJS) |
50 |
- ${CC} -s -o Xorgautoconfig $(CFLAGS) $(OBJS) -lpci |
51 |
+ ${CC} -s -o Xorgautoconfig $(CFLAGS) $(OBJS) -lpci -lz |
52 |
|
53 |
clean: |
54 |
rm -f $(OBJS) Xorgautoconfig |
55 |
|
56 |
|
57 |
|
58 |
1.21 Xorgautoconfig/Xorgautoconfig.c |
59 |
|
60 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-src/Xorgautoconfig/Xorgautoconfig.c?rev=1.21&view=markup |
61 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-src/Xorgautoconfig/Xorgautoconfig.c?rev=1.21&content-type=text/plain |
62 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-src/Xorgautoconfig/Xorgautoconfig.c?r1=1.20&r2=1.21 |
63 |
|
64 |
Index: Xorgautoconfig.c |
65 |
=================================================================== |
66 |
RCS file: /var/cvsroot/gentoo-src/Xorgautoconfig/Xorgautoconfig.c,v |
67 |
retrieving revision 1.20 |
68 |
retrieving revision 1.21 |
69 |
diff -u -r1.20 -r1.21 |
70 |
--- Xorgautoconfig.c 18 May 2006 00:03:21 -0000 1.20 |
71 |
+++ Xorgautoconfig.c 16 Jul 2009 15:31:39 -0000 1.21 |
72 |
@@ -90,7 +90,7 @@ |
73 |
uname(&kern); |
74 |
if(strlen(kern.release) > 6) { |
75 |
strncpy(kern_ver, (const char *)(&kern.release) + 4, 2); |
76 |
- kern_ver[2] = (char) NULL; |
77 |
+ kern_ver[2] = 0; |
78 |
|
79 |
if(atoi(kern_ver) >= 12) |
80 |
kern_new = TRUE; |