1 |
slyfox 12/02/06 06:59:47 |
2 |
|
3 |
Added: aalib-1.4_rc5-fix-protos.patch |
4 |
Log: |
5 |
Fixed bug #224267 by Peter Hüwe (missing function prototypes). Added myself to maintainers. |
6 |
|
7 |
(Portage version: 2.2.0_alpha84_p53/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 media-libs/aalib/files/aalib-1.4_rc5-fix-protos.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/aalib/files/aalib-1.4_rc5-fix-protos.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/aalib/files/aalib-1.4_rc5-fix-protos.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: aalib-1.4_rc5-fix-protos.patch |
16 |
=================================================================== |
17 |
fix missing protos |
18 |
|
19 |
* QA Notice: Package triggers severe warnings which indicate that it |
20 |
* may exhibit random runtime failures. |
21 |
* aainfo.c:12:2: warning: incompatible implicit declaration of built-in function 'exit' |
22 |
* aainfo.c:17:2: warning: incompatible implicit declaration of built-in function 'exit' |
23 |
* aatest.c:8:5: warning: incompatible implicit declaration of built-in function 'strcpy' |
24 |
* aatest.c:11:2: warning: incompatible implicit declaration of built-in function 'exit' |
25 |
* aatest.c:16:2: warning: incompatible implicit declaration of built-in function 'exit' |
26 |
* aatest.c:21:2: warning: incompatible implicit declaration of built-in function 'exit' |
27 |
* aafire.c:55:7: warning: incompatible implicit declaration of built-in function 'exit' |
28 |
* aafire.c:68:3: warning: incompatible implicit declaration of built-in function 'exit' |
29 |
* aafire.c:154:7: warning: incompatible implicit declaration of built-in function 'exit' |
30 |
* aasavefont.c:10:2: warning: incompatible implicit declaration of built-in function 'exit' |
31 |
|
32 |
Gentoo-bug: http://bugs.gentoo.org/224267 |
33 |
Reported-by: Peter Hüwe |
34 |
diff --git a/src/aafire.c b/src/aafire.c |
35 |
index 4f36149..5e41237 100644 |
36 |
--- a/src/aafire.c |
37 |
+++ b/src/aafire.c |
38 |
@@ -1,4 +1,5 @@ |
39 |
#include <stdio.h> |
40 |
+#include <stdlib.h> /* exit() */ |
41 |
#include "aalib.h" |
42 |
|
43 |
#define XSIZ aa_imgwidth(context) |
44 |
diff --git a/src/aainfo.c b/src/aainfo.c |
45 |
index d3f6d50..e24082d 100644 |
46 |
--- a/src/aainfo.c |
47 |
+++ b/src/aainfo.c |
48 |
@@ -1,4 +1,4 @@ |
49 |
- |
50 |
+#include <stdlib.h> /* exit() */ |
51 |
#include "aalib.h" |
52 |
#include "aaint.h" |
53 |
int main(int argc, char **argv) |
54 |
diff --git a/src/aasavefont.c b/src/aasavefont.c |
55 |
index b00e1e6..16591e8 100644 |
56 |
--- a/src/aasavefont.c |
57 |
+++ b/src/aasavefont.c |
58 |
@@ -1,3 +1,4 @@ |
59 |
+#include <stdlib.h> /* exit() */ |
60 |
#include "aalib.h" |
61 |
int main(int argc, char **argv) |
62 |
{ |
63 |
diff --git a/src/aatest.c b/src/aatest.c |
64 |
index 9816f5d..ed0c2da 100644 |
65 |
--- a/src/aatest.c |
66 |
+++ b/src/aatest.c |
67 |
@@ -1,3 +1,5 @@ |
68 |
+#include <string.h> /* strcpy() */ |
69 |
+#include <stdlib.h> /* exit() */ |
70 |
#include "aalib.h" |
71 |
int main(int argc, char **argv) |
72 |
{ |