From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-misc/linux-igd/files: linux-igd-1.0-include.patch |
Date: | Sat, 28 Jan 2012 01:05:51 |
Message-Id: | 20120128010540.C63092004C@flycatcher.gentoo.org |
1 | ssuominen 12/01/28 01:05:40 |
2 | |
3 | Added: linux-igd-1.0-include.patch |
4 | Log: |
5 | Fix building because of missing #include(s) wrt #401107 by James Shaw |
6 | |
7 | (Portage version: 2.2.0_alpha84/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 net-misc/linux-igd/files/linux-igd-1.0-include.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/linux-igd/files/linux-igd-1.0-include.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/linux-igd/files/linux-igd-1.0-include.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: linux-igd-1.0-include.patch |
16 | =================================================================== |
17 | This is 07-fix-includes.patch from Debian and linux-igd-includes.patch from Fedora for bug 401107. |
18 | |
19 | --- gatedevice.c |
20 | +++ gatedevice.c |
21 | @@ -1,4 +1,5 @@ |
22 | #include <syslog.h> |
23 | +#include <stdio.h> |
24 | #include <stdlib.h> |
25 | #include <upnp/ixml.h> |
26 | #include <string.h> |
27 | --- main.c |
28 | +++ main.c |
29 | @@ -3,8 +3,8 @@ |
30 | #include <unistd.h> |
31 | #include <syslog.h> |
32 | #include <signal.h> |
33 | +#include <string.h> |
34 | #include <sys/types.h> |
35 | -#include <unistd.h> |
36 | #include <sys/stat.h> |
37 | #include <sys/resource.h> |
38 | #include <time.h> |
39 | --- pmlist.c |
40 | +++ pmlist.c |
41 | @@ -1,4 +1,6 @@ |
42 | #include <stdlib.h> |
43 | +#include <stdio.h> |
44 | +#include <string.h> |
45 | #include <sys/wait.h> |
46 | #include <unistd.h> |
47 | #include <upnp/upnp.h> |