summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-04-25 01:39:35 +0000
committerMike Frysinger <vapier@gentoo.org>2005-04-25 01:39:35 +0000
commitb3ea11847c53017aca1dbb951001287ba091d8bc (patch)
treee12e0ff76b1bc6d64e72e44a408a99ca4440b625 /media-libs/sdl-net
parentold (diff)
downloadgentoo-2-b3ea11847c53017aca1dbb951001287ba091d8bc.tar.gz
gentoo-2-b3ea11847c53017aca1dbb951001287ba091d8bc.tar.bz2
gentoo-2-b3ea11847c53017aca1dbb951001287ba091d8bc.zip
add patch to remove extra semi colon #88889
(Portage version: 2.0.51.20)
Diffstat (limited to 'media-libs/sdl-net')
-rw-r--r--media-libs/sdl-net/files/sdl-net-1.2.5-extra-semi.patch21
-rw-r--r--media-libs/sdl-net/sdl-net-1.2.5.ebuild12
2 files changed, 31 insertions, 2 deletions
diff --git a/media-libs/sdl-net/files/sdl-net-1.2.5-extra-semi.patch b/media-libs/sdl-net/files/sdl-net-1.2.5-extra-semi.patch
new file mode 100644
index 000000000000..28b6c8f4b4f2
--- /dev/null
+++ b/media-libs/sdl-net/files/sdl-net-1.2.5-extra-semi.patch
@@ -0,0 +1,21 @@
+Patch from upstream to remove extra semi colon.
+
+http://bugs.gentoo.org/show_bug.cgi?id=88889
+
+Index: SDL_net.h
+===================================================================
+RCS file: /home/sdlweb/libsdl.org/cvs/SDL_net/SDL_net.h,v
+retrieving revision 1.21
+retrieving revision 1.22
+diff -u -r1.21 -r1.22
+--- SDL_net.h 23 Jul 2003 05:16:19 -0000 1.21
++++ SDL_net.h 7 Aug 2003 01:34:23 -0000 1.22
+@@ -436,7 +436,7 @@
+ #endif
+ /* Ends C function definitions when using C++ */
+ #ifdef __cplusplus
+-};
++}
+ #endif
+ #include "close_code.h"
+
diff --git a/media-libs/sdl-net/sdl-net-1.2.5.ebuild b/media-libs/sdl-net/sdl-net-1.2.5.ebuild
index f342ae4ab885..1ae762d3efc8 100644
--- a/media-libs/sdl-net/sdl-net-1.2.5.ebuild
+++ b/media-libs/sdl-net/sdl-net-1.2.5.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-net/sdl-net-1.2.5.ebuild,v 1.11 2004/12/15 14:44:58 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-net/sdl-net-1.2.5.ebuild,v 1.12 2005/04/25 01:39:35 vapier Exp $
+
+inherit eutils
MY_P=${P/sdl-/SDL_}
DESCRIPTION="Simple Direct Media Layer Network Support Library"
@@ -16,6 +18,12 @@ DEPEND=">=media-libs/libsdl-1.2.5"
S="${WORKDIR}/${MY_P}"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-extra-semi.patch
+}
+
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc CHANGES README