diff options
author | Alexis Ballier <aballier@gentoo.org> | 2007-11-06 23:21:18 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2007-11-06 23:21:18 +0000 |
commit | e1cbbfc47c0e6721d618f436b7c9dbf0d8f2eed0 (patch) | |
tree | 8a3c40dff8832e01abfbcbb0f8f2ed8e9570aff8 /media-libs/libcaca/files | |
parent | Stable on amd64 wrt bug #197958. (diff) | |
download | gentoo-2-e1cbbfc47c0e6721d618f436b7c9dbf0d8f2eed0.tar.gz gentoo-2-e1cbbfc47c0e6721d618f436b7c9dbf0d8f2eed0.tar.bz2 gentoo-2-e1cbbfc47c0e6721d618f436b7c9dbf0d8f2eed0.zip |
small build fix for bsd
(Portage version: 2.1.3.18)
Diffstat (limited to 'media-libs/libcaca/files')
-rw-r--r-- | media-libs/libcaca/files/libcaca-0.99_beta12-bsd.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/media-libs/libcaca/files/libcaca-0.99_beta12-bsd.patch b/media-libs/libcaca/files/libcaca-0.99_beta12-bsd.patch new file mode 100644 index 000000000000..6483503f3bc3 --- /dev/null +++ b/media-libs/libcaca/files/libcaca-0.99_beta12-bsd.patch @@ -0,0 +1,19 @@ +--- libcaca-0.99.beta12-new/src/cacaserver.c 2007-11-06 13:19:34 +0000 ++++ libcaca-0.99.beta12/src/cacaserver.c 2007-11-06 13:19:50 +0000 +@@ -25,13 +25,14 @@ + /* for sockaddr_in (not included from arpa/inet.h in 10.3.9 SDK) */ + # include <netinet/in.h> + # endif +-#elif defined(HAVE_NETINET_IN_H) +-# include <netinet/in.h> + #elif defined(HAVE_WINSOCK2_H) + # include <winsock2.h> + # include <ws2tcpip.h> + # define USE_WINSOCK 1 + #endif ++#if defined(HAVE_NETINET_IN_H) ++# include <netinet/in.h> ++#endif + #if defined(HAVE_UNISTD_H) + # include <unistd.h> + #endif |