From: | "Alexis Ballier (aballier)" <aballier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-libs/libdvbpsi/files: libdvbpsi-0.1.6-fbsd.patch |
Date: | Fri, 08 Aug 2008 14:40:47 |
Message-Id: | E1KRT92-00022X-7j@stork.gentoo.org |
1 | aballier 08/08/08 14:40:44 |
2 | |
3 | Added: libdvbpsi-0.1.6-fbsd.patch |
4 | Log: |
5 | backport a fix from upstream to fix build on fbsd |
6 | (Portage version: 2.2_rc6/cvs/Linux 2.6.26-gentoo x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 media-libs/libdvbpsi/files/libdvbpsi-0.1.6-fbsd.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libdvbpsi/files/libdvbpsi-0.1.6-fbsd.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libdvbpsi/files/libdvbpsi-0.1.6-fbsd.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: libdvbpsi-0.1.6-fbsd.patch |
15 | =================================================================== |
16 | See |
17 | http://mailman.videolan.org/pipermail/libdvbpsi-devel/2008-January/000290.html |
18 | |
19 | --- libdvbpsi5-0.1.6/examples/connect.c.old 2008-08-08 14:29:48 +0000 |
20 | +++ libdvbpsi5-0.1.6/examples/connect.c 2008-08-08 14:30:06 +0000 |
21 | @@ -38,7 +38,9 @@ |
22 | # include <netinet/if_ether.h> |
23 | #endif |
24 | #include <netdb.h> |
25 | +#ifndef __FreeBSD__ |
26 | #include <netinet/ip.h> |
27 | +#endif |
28 | #include <netinet/udp.h> |
29 | #include <arpa/inet.h> |