Gentoo Archives: gentoo-commits

From: "Samuli Suominen (drac)" <drac@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-arch/arj/files: arj-3.10.22-implicit-declarations.patch
Date: Fri, 09 May 2008 12:22:11
Message-Id: E1JuRbz-00014u-TH@stork.gentoo.org
1 drac 08/05/09 12:22:07
2
3 Added: arj-3.10.22-implicit-declarations.patch
4 Log:
5 Might as well fix implicit declarations too.
6 (Portage version: 2.1.5_rc7)
7
8 Revision Changes Path
9 1.1 app-arch/arj/files/arj-3.10.22-implicit-declarations.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/arj/files/arj-3.10.22-implicit-declarations.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/arj/files/arj-3.10.22-implicit-declarations.patch?rev=1.1&content-type=text/plain
13
14 Index: arj-3.10.22-implicit-declarations.patch
15 ===================================================================
16 diff -up arj-3.10.22/environ.c~ arj-3.10.22/environ.c
17 --- arj-3.10.22/environ.c~ 2008-03-31 15:19:36.000000000 +0200
18 +++ arj-3.10.22/environ.c 2008-03-31 15:19:36.000000000 +0200
19 @@ -12,6 +12,8 @@
20 #include <conio.h>
21 #include <io.h>
22 #include <process.h>
23 +#else
24 +#include <sys/wait.h>
25 #endif
26
27 #include <fcntl.h>
28 diff -up arj-3.10.22/arjsfx.c~ arj-3.10.22/arjsfx.c
29 --- arj-3.10.22/arjsfx.c~ 2008-03-31 15:17:45.000000000 +0200
30 +++ arj-3.10.22/arjsfx.c 2008-03-31 15:17:45.000000000 +0200
31 @@ -5,6 +5,7 @@
32 *
33 */
34
35 +#define _GNU_SOURCE
36 #include <stdio.h>
37 #include <signal.h>
38
39 diff -up arj-3.10.22/arj.c~ arj-3.10.22/arj.c
40 --- arj-3.10.22/arj.c~ 2008-03-31 15:17:14.000000000 +0200
41 +++ arj-3.10.22/arj.c 2008-03-31 15:17:14.000000000 +0200
42 @@ -5,6 +5,7 @@
43 *
44 */
45
46 +#define _GNU_SOURCE
47 #include <stdio.h>
48 #include <signal.h>
49
50
51 --
52 gentoo-commits@l.g.o mailing list