summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2006-01-15 04:24:46 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2006-01-15 04:24:46 +0000
commitfeaef25cd55c9ba5d21817b907fa89e5650b9897 (patch)
treeb425c581136f3dc2b0d3304d1e47858e509a5601 /media-libs/allegrogl
parentMarked ~amd64 per bug# 109764 (diff)
downloadgentoo-2-feaef25cd55c9ba5d21817b907fa89e5650b9897.tar.gz
gentoo-2-feaef25cd55c9ba5d21817b907fa89e5650b9897.tar.bz2
gentoo-2-feaef25cd55c9ba5d21817b907fa89e5650b9897.zip
add compile patch from Tupone Alfredo (bug #119006); tidy; stable for x86
(Portage version: 2.0.53)
Diffstat (limited to 'media-libs/allegrogl')
-rw-r--r--media-libs/allegrogl/ChangeLog8
-rw-r--r--media-libs/allegrogl/allegrogl-0.2.4-r1.ebuild16
-rw-r--r--media-libs/allegrogl/files/allegrogl-0.2.4-agl_write_line_c.patch20
3 files changed, 35 insertions, 9 deletions
diff --git a/media-libs/allegrogl/ChangeLog b/media-libs/allegrogl/ChangeLog
index 9e8fecbaca7b..599dd0aaadb2 100644
--- a/media-libs/allegrogl/ChangeLog
+++ b/media-libs/allegrogl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/allegrogl
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/allegrogl/ChangeLog,v 1.6 2005/03/12 16:08:40 wolf31o2 Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/allegrogl/ChangeLog,v 1.7 2006/01/15 04:24:46 mr_bones_ Exp $
+
+ 15 Jan 2006; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/allegrogl-0.2.4-agl_write_line_c.patch, allegrogl-0.2.4-r1.ebuild:
+ add compile patch from Tupone Alfredo (bug #119006); tidy; stable for x86
*allegrogl-0.2.4-r1 (12 Mar 2005)
diff --git a/media-libs/allegrogl/allegrogl-0.2.4-r1.ebuild b/media-libs/allegrogl/allegrogl-0.2.4-r1.ebuild
index 45a3cd9e0a5a..59ffba6f2e21 100644
--- a/media-libs/allegrogl/allegrogl-0.2.4-r1.ebuild
+++ b/media-libs/allegrogl/allegrogl-0.2.4-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/allegrogl/allegrogl-0.2.4-r1.ebuild,v 1.1 2005/03/12 16:08:40 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/allegrogl/allegrogl-0.2.4-r1.ebuild,v 1.2 2006/01/15 04:24:46 mr_bones_ Exp $
inherit eutils
@@ -11,19 +11,21 @@ SRC_URI="mirror://sourceforge/allegrogl/${MY_PN}-${PV}.tar.gz"
LICENSE="ZLIB"
SLOT="0"
-KEYWORDS="~amd64 ~sparc ~x86"
+KEYWORDS="~amd64 ~sparc x86"
IUSE="doc"
DEPEND=">=media-libs/allegro-4.0.0"
-S="${WORKDIR}/${MY_PN}"
+S=${WORKDIR}/${MY_PN}
src_unpack() {
unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${P}-destdir.patch
- epatch ${FILESDIR}/${P}-noasm.patch
+ cd "${S}"
+ epatch \
+ "${FILESDIR}"/${P}-destdir.patch \
+ "${FILESDIR}"/${P}-noasm.patch \
+ "${FILESDIR}"/${P}-agl_write_line_c.patch
}
src_compile() {
diff --git a/media-libs/allegrogl/files/allegrogl-0.2.4-agl_write_line_c.patch b/media-libs/allegrogl/files/allegrogl-0.2.4-agl_write_line_c.patch
new file mode 100644
index 000000000000..9a58e925bdbf
--- /dev/null
+++ b/media-libs/allegrogl/files/allegrogl-0.2.4-agl_write_line_c.patch
@@ -0,0 +1,20 @@
+--- src/scrmode.c 2004-01-02 19:34:35.000000000 +0100
++++ /var/tmp/portage/scrmode.c 2006-01-14 18:54:58.000000000 +0100
+@@ -15,7 +15,7 @@
+
+
+ /* C write/unwrite line routines -- defined in full later on */
+-static unsigned long agl_write_line_c(BITMAP * bmp, int line);
++unsigned long agl_write_line_c(BITMAP * bmp, int line);
+ static void agl_unwrite_line_c(BITMAP * bmp);
+
+
+@@ -109,7 +109,7 @@
+ * This routine will be called by Allegro whenever the user
+ * tries to write to a line of the `__allegro_gl_memory' bitmap.
+ */
+-static unsigned long agl_write_line_c(BITMAP * bmp, int line)
++unsigned long agl_write_line_c(BITMAP * bmp, int line)
+ {
+ switch (__allegro_gl_screen_mode) {
+