summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2007-11-06 23:21:18 +0000
committerAlexis Ballier <aballier@gentoo.org>2007-11-06 23:21:18 +0000
commite1cbbfc47c0e6721d618f436b7c9dbf0d8f2eed0 (patch)
tree8a3c40dff8832e01abfbcbb0f8f2ed8e9570aff8 /media-libs/libcaca
parentStable on amd64 wrt bug #197958. (diff)
downloadgentoo-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')
-rw-r--r--media-libs/libcaca/ChangeLog6
-rw-r--r--media-libs/libcaca/files/libcaca-0.99_beta12-bsd.patch19
-rw-r--r--media-libs/libcaca/libcaca-0.99_beta12.ebuild3
3 files changed, 26 insertions, 2 deletions
diff --git a/media-libs/libcaca/ChangeLog b/media-libs/libcaca/ChangeLog
index cc7fc3f36f5f..6c0750471680 100644
--- a/media-libs/libcaca/ChangeLog
+++ b/media-libs/libcaca/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/libcaca
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaca/ChangeLog,v 1.48 2007/11/05 22:37:59 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaca/ChangeLog,v 1.49 2007/11/06 23:21:18 aballier Exp $
+
+ 06 Nov 2007; Alexis Ballier <aballier@gentoo.org>
+ +files/libcaca-0.99_beta12-bsd.patch, libcaca-0.99_beta12.ebuild:
+ small build fix for bsd
*libcaca-0.99_beta12 (05 Nov 2007)
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
diff --git a/media-libs/libcaca/libcaca-0.99_beta12.ebuild b/media-libs/libcaca/libcaca-0.99_beta12.ebuild
index a0a60354d3ef..dcf718301903 100644
--- a/media-libs/libcaca/libcaca-0.99_beta12.ebuild
+++ b/media-libs/libcaca/libcaca-0.99_beta12.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaca/libcaca-0.99_beta12.ebuild,v 1.1 2007/11/05 22:37:59 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaca/libcaca-0.99_beta12.ebuild,v 1.2 2007/11/06 23:21:18 aballier Exp $
inherit eutils autotools libtool
@@ -30,6 +30,7 @@ src_unpack() {
cd "${S}"
epatch "${FILESDIR}/${PN}-0.99_beta4-deoptimise.patch"
+ epatch "${FILESDIR}/${P}-bsd.patch"
eautoreconf
elibtoolize