summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2007-07-22 12:10:02 +0000
committerTristan Heaven <tristan@gentoo.org>2007-07-22 12:10:02 +0000
commita46735c85dbc5e776777d61ae546b9a66efbfed4 (patch)
tree37e10b97b17bc078c4d0c2bca3fd305c86d8aad1 /media-libs
parentRevision bump. Added oracle and firebird support. (diff)
downloadhistorical-a46735c85dbc5e776777d61ae546b9a66efbfed4.tar.gz
historical-a46735c85dbc5e776777d61ae546b9a66efbfed4.tar.bz2
historical-a46735c85dbc5e776777d61ae546b9a66efbfed4.zip
Version bump
Package-Manager: portage-2.1.3_rc8
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/allegro/ChangeLog9
-rw-r--r--media-libs/allegro/Manifest34
-rw-r--r--media-libs/allegro/allegro-4.2.2.ebuild99
-rw-r--r--media-libs/allegro/files/allegro-4.2.2-exec-stack.patch234
-rw-r--r--media-libs/allegro/files/allegro-4.2.2-flags.patch61
-rw-r--r--media-libs/allegro/files/digest-allegro-4.2.23
6 files changed, 435 insertions, 5 deletions
diff --git a/media-libs/allegro/ChangeLog b/media-libs/allegro/ChangeLog
index a9ac11e87349..714db1a75f7d 100644
--- a/media-libs/allegro/ChangeLog
+++ b/media-libs/allegro/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-libs/allegro
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/allegro/ChangeLog,v 1.66 2007/07/22 09:43:17 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/allegro/ChangeLog,v 1.67 2007/07/22 12:10:02 nyhm Exp $
+
+*allegro-4.2.2 (22 Jul 2007)
+
+ 22 Jul 2007; Tristan Heaven <nyhm@gentoo.org>
+ +files/allegro-4.2.2-exec-stack.patch, +files/allegro-4.2.2-flags.patch,
+ +allegro-4.2.2.ebuild:
+ Version bump
22 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>;
allegro-4.1.14.ebuild, allegro-4.2.0-r1.ebuild:
diff --git a/media-libs/allegro/Manifest b/media-libs/allegro/Manifest
index cc4d1acf4e8e..5c9b74ff7f64 100644
--- a/media-libs/allegro/Manifest
+++ b/media-libs/allegro/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX allegro-4.2.0-exec-stack.patch 4523 RMD160 71b77b6c29a46f478a731e7eff3b47285c89bd80 SHA1 6cd70fb48ca88df77a7bc00f5f5f2e37703b3cf4 SHA256 2d2924b847eac9bdf8cd43f56b11c53d62ae0b496e02d39b4bab6911ada4aa64
MD5 38a8238eb574242bc74fbd53ff5edffb files/allegro-4.2.0-exec-stack.patch 4523
RMD160 71b77b6c29a46f478a731e7eff3b47285c89bd80 files/allegro-4.2.0-exec-stack.patch 4523
@@ -14,9 +17,18 @@ AUX allegro-4.2.1-flags.patch 1776 RMD160 7f9610f4d8a1734eeffdc0835ed27a0d8d5189
MD5 57da91fdaf9c88f0a49e688130a50129 files/allegro-4.2.1-flags.patch 1776
RMD160 7f9610f4d8a1734eeffdc0835ed27a0d8d5189b6 files/allegro-4.2.1-flags.patch 1776
SHA256 85c869ba264f8d786045b0568b77acc7c7f929aa10f4d00f6b57941f2a1cf1ef files/allegro-4.2.1-flags.patch 1776
+AUX allegro-4.2.2-exec-stack.patch 4523 RMD160 71b77b6c29a46f478a731e7eff3b47285c89bd80 SHA1 6cd70fb48ca88df77a7bc00f5f5f2e37703b3cf4 SHA256 2d2924b847eac9bdf8cd43f56b11c53d62ae0b496e02d39b4bab6911ada4aa64
+MD5 38a8238eb574242bc74fbd53ff5edffb files/allegro-4.2.2-exec-stack.patch 4523
+RMD160 71b77b6c29a46f478a731e7eff3b47285c89bd80 files/allegro-4.2.2-exec-stack.patch 4523
+SHA256 2d2924b847eac9bdf8cd43f56b11c53d62ae0b496e02d39b4bab6911ada4aa64 files/allegro-4.2.2-exec-stack.patch 4523
+AUX allegro-4.2.2-flags.patch 1776 RMD160 7f9610f4d8a1734eeffdc0835ed27a0d8d5189b6 SHA1 024645cef686d4c82b61518ea632783ec598f050 SHA256 85c869ba264f8d786045b0568b77acc7c7f929aa10f4d00f6b57941f2a1cf1ef
+MD5 57da91fdaf9c88f0a49e688130a50129 files/allegro-4.2.2-flags.patch 1776
+RMD160 7f9610f4d8a1734eeffdc0835ed27a0d8d5189b6 files/allegro-4.2.2-flags.patch 1776
+SHA256 85c869ba264f8d786045b0568b77acc7c7f929aa10f4d00f6b57941f2a1cf1ef files/allegro-4.2.2-flags.patch 1776
DIST allegro-4.1.14.tar.gz 2774495 RMD160 511712ca0c4deb81d1426093240261948a71f53c SHA1 3b2cf8089304f7904ba0e4dfba3ef46bd99b8a37 SHA256 ee7c6d04f7e64778baf2c161bc0b564d5298a5dc575c3de3d5fce939c5d11b13
DIST allegro-4.2.0.tar.gz 3056173 RMD160 e1602ea2f8bc1761be0ee34001e9d77d3a6ea3ff SHA1 5b4a542c038ee196564f9107de59fe30a8caeaf5 SHA256 d8df27558bc083298d6933c843d4fdaf9afc0aa1607276acc96ed8fa9a39060c
DIST allegro-4.2.1.tar.gz 3107022 RMD160 acbc976409b9db92d5588b41cb389c06b6d4d2ea SHA1 1593f24fe92eae58512447145511c84398ca8926 SHA256 a800a4c61db448e327c13b898fa9bdc00bea43319266a27ad37435f68c5d414b
+DIST allegro-4.2.2.tar.gz 3178406 RMD160 ea5b38f2eee95994bd134039822c6b0b6e78e04a SHA1 25e3854432cede0266632019ae912eb33cd18f8e SHA256 3e7fe701fa0fa99e0870e2c10e21e6592b0b58e6eb5e9844aff17db9a25d06a8
EBUILD allegro-4.1.14.ebuild 2150 RMD160 df825a385c655ba8f032beb11fd25f72b5d49e97 SHA1 8b2970275d4a78dcf9593ea6229c4dcf559b078e SHA256 6088236a558b25ec258fef50d2af8f2e9bbd258d8a4a1169511706ad74f3d500
MD5 bde239a6a0883fbc483e2663028d5a1f allegro-4.1.14.ebuild 2150
RMD160 df825a385c655ba8f032beb11fd25f72b5d49e97 allegro-4.1.14.ebuild 2150
@@ -33,10 +45,14 @@ EBUILD allegro-4.2.1.ebuild 2389 RMD160 3fdbb9a81aca72aa354ee209545f8446786de271
MD5 3e6453254c5af2caa453884347457b2f allegro-4.2.1.ebuild 2389
RMD160 3fdbb9a81aca72aa354ee209545f8446786de271 allegro-4.2.1.ebuild 2389
SHA256 e0650a9b249f1a631dced5928cc71022803bb02c88e757c138b6ad3ed4971e95 allegro-4.2.1.ebuild 2389
-MISC ChangeLog 8570 RMD160 52d18cd18c8d4c819263152d88a329549a6e9d26 SHA1 bd2259e57b40365507a4aa314907ee201961bed0 SHA256 80a131bc353ae3167f76e50937b9cce668d23ddd55461eae2b5917fa20158d6e
-MD5 b3256241023c8a983a7dec2bbcef436d ChangeLog 8570
-RMD160 52d18cd18c8d4c819263152d88a329549a6e9d26 ChangeLog 8570
-SHA256 80a131bc353ae3167f76e50937b9cce668d23ddd55461eae2b5917fa20158d6e ChangeLog 8570
+EBUILD allegro-4.2.2.ebuild 2389 RMD160 76e22cdfcbd62534812cdd58afb6ff32311643be SHA1 2323d83450890d42b561c12e8b61b592080e4b1e SHA256 fca020bd4bb5f364339f4c2b714e9cca1af88c42c030db94149efd1fb897cab4
+MD5 c174a86e30e7219f525fc09a4b3aaa1c allegro-4.2.2.ebuild 2389
+RMD160 76e22cdfcbd62534812cdd58afb6ff32311643be allegro-4.2.2.ebuild 2389
+SHA256 fca020bd4bb5f364339f4c2b714e9cca1af88c42c030db94149efd1fb897cab4 allegro-4.2.2.ebuild 2389
+MISC ChangeLog 8759 RMD160 2c6b27459dfb988d3d7bd15ef383815219a531d5 SHA1 86930d9471f89f0ed568731ed78be40b032fb2c2 SHA256 40848ba77e065931fb4ed472d6ab5b8a2d2c2ad512c688b0980bc7abf2c84396
+MD5 6b75559cb66c2b4246e6f445b9d977e1 ChangeLog 8759
+RMD160 2c6b27459dfb988d3d7bd15ef383815219a531d5 ChangeLog 8759
+SHA256 40848ba77e065931fb4ed472d6ab5b8a2d2c2ad512c688b0980bc7abf2c84396 ChangeLog 8759
MISC metadata.xml 636 RMD160 b2926813da5e98049d86fa5e2fc4a75d16b12b69 SHA1 bd01d531b12f11d21d75cd91cf9fa6c34505e2de SHA256 e26af044016a39f2ef99c3796d0cee3e84ca728501af8e71d7f91bd1d9edb3bc
MD5 69afb3c206fdd20a361ee6dbff286ace metadata.xml 636
RMD160 b2926813da5e98049d86fa5e2fc4a75d16b12b69 metadata.xml 636
@@ -53,3 +69,13 @@ SHA256 51789d055eb913090d7428c659fd08bfe9af906938fcee59941759f794c0bf99 files/di
MD5 dcdac17d0fa4d2481c9bc63ad07e9564 files/digest-allegro-4.2.1 244
RMD160 af7954adc5c4dd4ce9cd39fff8fb393d30c2b62e files/digest-allegro-4.2.1 244
SHA256 fb81d91cb8e7ed036c469f90249f937d0b3039cc7a2ef92674e6e452787182fb files/digest-allegro-4.2.1 244
+MD5 9d33df17b7400b22a534c12f42651460 files/digest-allegro-4.2.2 244
+RMD160 a3f7f06f66f9070ff8cbecf8b93e7bcfe1ad93e3 files/digest-allegro-4.2.2 244
+SHA256 ecc81fa1d156824b23481ea3030ffecd22f8b6d7af38d5158f1218cca27f0b77 files/digest-allegro-4.2.2 244
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.5 (GNU/Linux)
+
+iD8DBQFGo0kYdz7hIScOURERAkEmAJ4nIbnQ0+IsxJl1rdVhaEjBVv+LdQCgogxM
++0uvdHVWiN8+xsmWjoPvR74=
+=Gg7B
+-----END PGP SIGNATURE-----
diff --git a/media-libs/allegro/allegro-4.2.2.ebuild b/media-libs/allegro/allegro-4.2.2.ebuild
new file mode 100644
index 000000000000..a5c60a65e68a
--- /dev/null
+++ b/media-libs/allegro/allegro-4.2.2.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/allegro/allegro-4.2.2.ebuild,v 1.1 2007/07/22 12:10:02 nyhm Exp $
+
+inherit autotools eutils
+
+DESCRIPTION="cross-platform multimedia library"
+HOMEPAGE="http://alleg.sourceforge.net/"
+SRC_URI="mirror://sourceforge/alleg/${P}.tar.gz"
+
+LICENSE="Allegro"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 -sparc ~x86"
+IUSE="X alsa arts esd fbcon jack oss svga vga"
+
+RDEPEND="alsa? ( media-libs/alsa-lib )
+ esd? ( media-sound/esound )
+ arts? ( kde-base/arts )
+ X? (
+ x11-libs/libX11
+ x11-libs/libXcursor
+ x11-libs/libXext
+ x11-libs/libXpm
+ x11-libs/libXt
+ x11-libs/libXxf86dga
+ x11-libs/libXxf86vm
+ )
+ svga? ( media-libs/svgalib )
+ jack? ( media-sound/jack-audio-connection-kit )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ X? (
+ x11-proto/xextproto
+ x11-proto/xf86dgaproto
+ x11-proto/xf86vidmodeproto
+ x11-proto/xproto
+ )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch \
+ "${FILESDIR}"/${P}-exec-stack.patch \
+ "${FILESDIR}"/${P}-flags.patch
+ eautoreconf
+}
+
+src_compile() {
+ econf \
+ --enable-linux \
+ --enable-static \
+ --disable-asm \
+ --disable-mmx \
+ --disable-sse \
+ $(use_enable oss ossdigi) \
+ $(use_enable oss ossmidi) \
+ $(use_enable alsa alsadigi) \
+ $(use_enable alsa alsamidi) \
+ $(use_enable esd esddigi) \
+ $(use_enable arts artsdigi) \
+ $(use_with X x) \
+ $(use_enable X xwin-shm) \
+ $(use_enable X xwin-vidmode) \
+ $(use_enable X xwin-dga) \
+ $(use_enable X xwin-dga2) \
+ $(use_enable fbcon) \
+ $(use_enable svga svgalib) \
+ $(use_enable vga) \
+ $(use_enable jack jackdigi) \
+ || die
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install || die "emake install failed"
+
+ if use X ; then
+ newbin setup/setup ${PN}-setup || die "newbin failed"
+ insinto /usr/share/${PN}
+ doins {keyboard,language,setup/setup}.dat || die "doins failed"
+ newicon misc/alex.png ${PN}.png
+ make_desktop_entry ${PN}-setup "Allegro Setup" ${PN}.png "Settings"
+ fi
+
+ dodoc AUTHORS CHANGES THANKS readme.txt todo.txt
+ doman docs/man/*.3
+ doinfo docs/info/${PN}.info
+ dohtml docs/html/*
+ docinto txt
+ dodoc docs/txt/*.txt
+ docinto rtf
+ dodoc docs/rtf/*.rtf
+ docinto build
+ dodoc docs/build/*.txt
+}
+
+pkg_postinst() {
+ ewarn "Please run \"revdep-rebuild --library liballeg.so.4.2\""
+}
diff --git a/media-libs/allegro/files/allegro-4.2.2-exec-stack.patch b/media-libs/allegro/files/allegro-4.2.2-exec-stack.patch
new file mode 100644
index 000000000000..22a85919d45b
--- /dev/null
+++ b/media-libs/allegro/files/allegro-4.2.2-exec-stack.patch
@@ -0,0 +1,234 @@
+--- src/amd64/acpus.s
++++ src/amd64/acpus.s
+@@ -128,3 +128,6 @@
+ popq %rbp
+ ret
+
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
+--- src/i386/iblit16.s
++++ src/i386/iblit16.s
+@@ -743,3 +743,6 @@
+
+
+ #endif /* ifdef ALLEGRO_COLOR16 */
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
+--- src/i386/iblit24.s
++++ src/i386/iblit24.s
+@@ -372,3 +372,6 @@
+
+
+ #endif /* ifdef ALLEGRO_COLOR24 */
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
+--- src/i386/iblit32.s
++++ src/i386/iblit32.s
+@@ -357,3 +357,6 @@
+
+
+ #endif /* ifdef ALLEGRO_COLOR32 */
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
+--- src/i386/iblit8.s
++++ src/i386/iblit8.s
+@@ -787,3 +787,6 @@
+
+
+ #endif /* ifdef ALLEGRO_COLOR8 */
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
+--- src/i386/icpus.s
++++ src/i386/icpus.s
+@@ -213,3 +213,6 @@
+ popl %ebp
+ ret
+
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
+--- src/i386/igfx15.s
++++ src/i386/igfx15.s
+@@ -436,3 +436,6 @@
+
+ #endif /* ifdef ALLEGRO_COLOR16 */
+
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
+--- src/i386/igfx16.s
++++ src/i386/igfx16.s
+@@ -487,3 +487,6 @@
+
+ #endif /* ifdef ALLEGRO_COLOR16 */
+
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
+--- src/i386/igfx24.s
++++ src/i386/igfx24.s
+@@ -581,3 +581,6 @@
+
+ #endif /* ifdef ALLEGRO_COLOR24 */
+
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
+--- src/i386/igfx32.s
++++ src/i386/igfx32.s
+@@ -467,3 +467,6 @@
+
+ #endif /* ifdef ALLEGRO_COLOR32 */
+
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
+--- src/i386/igfx8.s
++++ src/i386/igfx8.s
+@@ -530,3 +530,6 @@
+
+ #endif /* ifdef ALLEGRO_COLOR8 */
+
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
+--- src/i386/imisc.s
++++ src/i386/imisc.s
+@@ -600,3 +600,6 @@
+ popl %ebp
+ ret /* end of fixhypot() */
+
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
+--- src/i386/iscanmmx.s
++++ src/i386/iscanmmx.s
+@@ -1672,3 +1672,6 @@
+
+
+ #endif /* MMX */
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
+--- src/i386/iscan.s
++++ src/i386/iscan.s
+@@ -2777,3 +2777,6 @@
+ ret /* end of _poly_scanline_ptex_mask_trans24() */
+
+ #endif /* COLOR24 */
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
+--- src/i386/ispr15.s
++++ src/i386/ispr15.s
+@@ -494,3 +494,6 @@
+
+ #endif /* ifdef ALLEGRO_COLOR16 */
+
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
+--- src/i386/ispr16.s
++++ src/i386/ispr16.s
+@@ -889,3 +889,6 @@
+
+ #endif /* ifdef ALLEGRO_COLOR16 */
+
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
+--- src/i386/ispr24.s
++++ src/i386/ispr24.s
+@@ -913,3 +913,6 @@
+
+ #endif /* ifdef ALLEGRO_COLOR24 */
+
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
+--- src/i386/ispr32.s
++++ src/i386/ispr32.s
+@@ -700,3 +700,6 @@
+
+ #endif /* ifdef ALLEGRO_COLOR32 */
+
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
+--- src/i386/ispr8.s
++++ src/i386/ispr8.s
+@@ -1046,3 +1046,6 @@
+
+
+ #endif /* ifdef ALLEGRO_COLOR8 */
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
+--- src/i386/izbuf.s
++++ src/i386/izbuf.s
+@@ -2328,3 +2328,6 @@
+ ret /* end of _poly_zbuf_ptex_mask_trans24() */
+
+ #endif /* COLOR24 */
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
+--- src/linux/svgalibs.s
++++ src/linux/svgalibs.s
+@@ -65,3 +65,6 @@
+
+ #endif
+ #endif
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
+--- src/misc/icolconv.s
++++ src/misc/icolconv.s
+@@ -3288,3 +3288,6 @@
+
+ #endif /* ALLEGRO_NO_COLORCOPY */
+
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
+--- src/misc/modexgfx.s
++++ src/misc/modexgfx.s
+@@ -1688,3 +1688,6 @@
+
+
+ #endif /* (!defined ALLEGRO_LINUX) || ((defined ALLEGRO_LINUX_VGA) && ... */
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
+--- src/misc/vbeafs.s
++++ src/misc/vbeafs.s
+@@ -188,3 +188,6 @@
+
+
+ #endif /* ifdef VBE/AF is cool on this platform */
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
+--- src/x/xdga2s.s
++++ src/x/xdga2s.s
+@@ -51,3 +51,6 @@
+ #endif
+ #endif
+
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
+--- src/x/xwins.s
++++ src/x/xwins.s
+@@ -51,3 +51,6 @@
+
+ #endif
+
++#ifdef __ELF__
++.section .note.GNU-stack,"",%progbits
++#endif
diff --git a/media-libs/allegro/files/allegro-4.2.2-flags.patch b/media-libs/allegro/files/allegro-4.2.2-flags.patch
new file mode 100644
index 000000000000..c79e684151b2
--- /dev/null
+++ b/media-libs/allegro/files/allegro-4.2.2-flags.patch
@@ -0,0 +1,61 @@
+--- configure.in
++++ configure.in
+@@ -280,11 +280,7 @@
+ COMPILE_PROGRAM=COMPILE_NORMAL
+ COMPILE_CXX_PROGRAM=COMPILE_CXX_NORMAL
+ COMPILE_S_PROGRAM=COMPILE_S_NORMAL
+- if test "X$allegro_cv_prog_ld_s" = "Xyes"; then
+- PROG_LDFLAGS="-s \$(LDFLAGS)"
+- else
+- PROG_LDFLAGS="\$(LDFLAGS)"
+- fi
++ PROG_LDFLAGS="\$(LDFLAGS)"
+ LIB_TO_LINK=alleg
+ PLUGIN_LIB=lib/unix/libaldat.a
+ allegro_build_normal_library=yes
+@@ -761,11 +757,7 @@
+ ALLEGRO_DEBUG_CFLAGS="$ALLEGRO_DEBUG_CFLAGS -DDMALLOC"
+ fi
+ ALLEGRO_PROFILE_CFLAGS="$CFLAGS -pg $TARGET_ARCH -O2 -funroll-loops -ffast-math $WFLAGS"
+- if test "X$allegro_cv_support_fomit_frame_pointer" = "Xyes"; then
+- CFLAGS="$CFLAGS $TARGET_ARCH -O2 -funroll-loops -ffast-math -fomit-frame-pointer $WFLAGS"
+- else
+- CFLAGS="$CFLAGS $TARGET_ARCH -O2 -funroll-loops -ffast-math $WFLAGS"
+- fi
++ CFLAGS="$CFLAGS $WFLAGS"
+ ALLEGRO_SFLAGS="-x assembler-with-cpp"
+ ALLEGRO_SHAREDLIB_CFLAGS="-fPIC -DALLEGRO_SHARED"
+ else
+--- misc/allegro-config.in
++++ misc/allegro-config.in
+@@ -21,7 +21,6 @@
+
+ accepts_frameworks=no
+
+-allegro_ldflags="@LDFLAGS@"
+ allegro_libs="@LIBS@"
+ allegro_frameworks="@FRAMEWORKS@"
+ allegro_cflags=""
+@@ -180,9 +179,9 @@
+ if test "$echo_libs" = "yes"; then
+ libdirs=-L${exec_prefix}/lib
+ if test "$static_libs" = "yes"; then
+- echo $libdirs $allegro_ldflags -l${lib_type} $allegro_libs
++ echo $libdirs -l${lib_type} $allegro_libs
+ else
+- echo $libdirs $allegro_ldflags -l${lib_type}-${version} -l${lib_type}_unsharable
++ echo $libdirs -l${lib_type}-${version} -l${lib_type}_unsharable
+ fi
+ fi
+
+--- misc/deplib.sh
++++ misc/deplib.sh
+@@ -70,7 +70,7 @@
+ done
+ echo "$prev"
+ echo ""
+-write_code alleg LIBALLEG -s
++write_code alleg LIBALLEG
+ echo ""
+ echo ""
+
diff --git a/media-libs/allegro/files/digest-allegro-4.2.2 b/media-libs/allegro/files/digest-allegro-4.2.2
new file mode 100644
index 000000000000..0c6958f57d55
--- /dev/null
+++ b/media-libs/allegro/files/digest-allegro-4.2.2
@@ -0,0 +1,3 @@
+MD5 7529b5bf5438b7202c6127c44611912a allegro-4.2.2.tar.gz 3178406
+RMD160 ea5b38f2eee95994bd134039822c6b0b6e78e04a allegro-4.2.2.tar.gz 3178406
+SHA256 3e7fe701fa0fa99e0870e2c10e21e6592b0b58e6eb5e9844aff17db9a25d06a8 allegro-4.2.2.tar.gz 3178406