summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2006-10-30 07:37:29 +0000
committerTristan Heaven <tristan@gentoo.org>2006-10-30 07:37:29 +0000
commit7c56b59a7b16317415f742d78d43b3db3e94cdce (patch)
treed140850e5289d3b639d88770441300aa3572ef67 /media-libs/allegro
parent* bump. (diff)
downloadhistorical-7c56b59a7b16317415f742d78d43b3db3e94cdce.tar.gz
historical-7c56b59a7b16317415f742d78d43b3db3e94cdce.tar.bz2
historical-7c56b59a7b16317415f742d78d43b3db3e94cdce.zip
No more exec stacks; always install static lib; let portage strip binaries
Package-Manager: portage-2.1.2_rc1-r1
Diffstat (limited to 'media-libs/allegro')
-rw-r--r--media-libs/allegro/ChangeLog9
-rw-r--r--media-libs/allegro/Manifest29
-rw-r--r--media-libs/allegro/allegro-4.2.0-r2.ebuild104
-rw-r--r--media-libs/allegro/files/allegro-4.2.0-exec-stack.patch234
-rw-r--r--media-libs/allegro/files/allegro-4.2.0-flags.patch43
-rw-r--r--media-libs/allegro/files/digest-allegro-4.2.0-r23
6 files changed, 414 insertions, 8 deletions
diff --git a/media-libs/allegro/ChangeLog b/media-libs/allegro/ChangeLog
index 4cca49c61cf1..15b9b3bc507a 100644
--- a/media-libs/allegro/ChangeLog
+++ b/media-libs/allegro/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-libs/allegro
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/allegro/ChangeLog,v 1.58 2006/08/28 02:09:59 metalgod Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/allegro/ChangeLog,v 1.59 2006/10/30 07:37:28 nyhm Exp $
+
+*allegro-4.2.0-r2 (30 Oct 2006)
+
+ 30 Oct 2006; Tristan Heaven <nyhm@gentoo.org>
+ +files/allegro-4.2.0-exec-stack.patch, +files/allegro-4.2.0-flags.patch,
+ +allegro-4.2.0-r2.ebuild:
+ No more exec stacks; always install static lib; let portage strip binaries
28 Aug 2006; Luis Medinas <metalgod@gentoo.org> allegro-4.2.0-r1.ebuild:
Stable on amd64. Bug #145148.
diff --git a/media-libs/allegro/Manifest b/media-libs/allegro/Manifest
index aca333134517..d22a8c635561 100644
--- a/media-libs/allegro/Manifest
+++ b/media-libs/allegro/Manifest
@@ -9,6 +9,14 @@ AUX allegro-4.1.18-m4.patch 468 RMD160 3aa877cc8759890c46ea4deca9d454a9177df5ed
MD5 80085d45008c152850633d5746809bd0 files/allegro-4.1.18-m4.patch 468
RMD160 3aa877cc8759890c46ea4deca9d454a9177df5ed files/allegro-4.1.18-m4.patch 468
SHA256 8f747d187f8e72ac79a7605279890eb7b39c631b007bc3f178af6ec011d53729 files/allegro-4.1.18-m4.patch 468
+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
+SHA256 2d2924b847eac9bdf8cd43f56b11c53d62ae0b496e02d39b4bab6911ada4aa64 files/allegro-4.2.0-exec-stack.patch 4523
+AUX allegro-4.2.0-flags.patch 1369 RMD160 ef4313be14d08122499aea255a4a3d7fd66b51aa SHA1 7c427caabfdc7806cd3ad8230d588a1103cf42de SHA256 78fd78bc9cb67dcf85e90c172b7cf65f4edb83a7a64937561663091cf9c470c0
+MD5 3b6daf3fcbc03e6d33d72f3bf9400028 files/allegro-4.2.0-flags.patch 1369
+RMD160 ef4313be14d08122499aea255a4a3d7fd66b51aa files/allegro-4.2.0-flags.patch 1369
+SHA256 78fd78bc9cb67dcf85e90c172b7cf65f4edb83a7a64937561663091cf9c470c0 files/allegro-4.2.0-flags.patch 1369
DIST allegro-4.0.3.tar.gz 2440083 RMD160 920b5536c71a7dfc60b0cfa39a7d14a780b270f7 SHA1 726d7ac6f9a0c5765ba3b8e53b6ff7dec48834d0 SHA256 fefd91ead73d1e3c3109440e2d465ee7e56eb88f0952199d36b3bc2a2f221f0f
DIST allegro-4.1.14.tar.gz 2774495 RMD160 511712ca0c4deb81d1426093240261948a71f53c SHA1 3b2cf8089304f7904ba0e4dfba3ef46bd99b8a37 SHA256 ee7c6d04f7e64778baf2c161bc0b564d5298a5dc575c3de3d5fce939c5d11b13
DIST allegro-4.1.18.tar.gz 2900486 RMD160 05dc8ca8783487c9cca694bc22f95a06e77d64fe SHA1 6bfed4fc3e5cfcd8ad8ab1dc1744023f0b5e702e SHA256 a1d588449d467cd3a0a9c116402f531ef2eb7f8d58836663d12c5188b4cd9982
@@ -29,10 +37,14 @@ EBUILD allegro-4.2.0-r1.ebuild 2595 RMD160 7cc5e5e440a9e5d220d8cfb9d0c3f396a6fa6
MD5 81880c86b35c3b8319acf6029f801e11 allegro-4.2.0-r1.ebuild 2595
RMD160 7cc5e5e440a9e5d220d8cfb9d0c3f396a6fa6f64 allegro-4.2.0-r1.ebuild 2595
SHA256 0b82d40c079f97f6acee76bef31b767926a88223981265936f2b3734809a330f allegro-4.2.0-r1.ebuild 2595
-MISC ChangeLog 7411 RMD160 53ffff04abb85312d3981fe7e5d166c44990eba1 SHA1 5c5bbe18cd2a3c22d0a8fd10b367ccbda7a5e0d6 SHA256 80bc23ea2749535a1990ba9032e05d217af62cafbcf8cb53311f6fa2037223b7
-MD5 0203184c0600819949455677171f0191 ChangeLog 7411
-RMD160 53ffff04abb85312d3981fe7e5d166c44990eba1 ChangeLog 7411
-SHA256 80bc23ea2749535a1990ba9032e05d217af62cafbcf8cb53311f6fa2037223b7 ChangeLog 7411
+EBUILD allegro-4.2.0-r2.ebuild 2634 RMD160 10a0b0e9ed4e167dbb1977ab49d6626840d7dea7 SHA1 3627a6d9407f74a2c6e35ef1b147c15fd4599138 SHA256 fdb7350b352cbbd6534c64e057083593cb16564f99c9930ba3c4e96a090176d9
+MD5 eecd5fc19ed4e99f8e6ee6de0d42ab01 allegro-4.2.0-r2.ebuild 2634
+RMD160 10a0b0e9ed4e167dbb1977ab49d6626840d7dea7 allegro-4.2.0-r2.ebuild 2634
+SHA256 fdb7350b352cbbd6534c64e057083593cb16564f99c9930ba3c4e96a090176d9 allegro-4.2.0-r2.ebuild 2634
+MISC ChangeLog 7669 RMD160 21978c20bef78cc0e0f2474e5a8568a21a96f588 SHA1 04e7962a0f539175e8efbdea14361f13ba6e698d SHA256 e060fd704c3411176f2cd902b3c615256b6696a78714f125e9c63f75b242a686
+MD5 8f819c5a32c31fdb1aff601b9c42fefd ChangeLog 7669
+RMD160 21978c20bef78cc0e0f2474e5a8568a21a96f588 ChangeLog 7669
+SHA256 e060fd704c3411176f2cd902b3c615256b6696a78714f125e9c63f75b242a686 ChangeLog 7669
MISC metadata.xml 636 RMD160 b2926813da5e98049d86fa5e2fc4a75d16b12b69 SHA1 bd01d531b12f11d21d75cd91cf9fa6c34505e2de SHA256 e26af044016a39f2ef99c3796d0cee3e84ca728501af8e71d7f91bd1d9edb3bc
MD5 69afb3c206fdd20a361ee6dbff286ace metadata.xml 636
RMD160 b2926813da5e98049d86fa5e2fc4a75d16b12b69 metadata.xml 636
@@ -49,10 +61,13 @@ SHA256 ad6b152f1d79fc9451e33f14fbce8feba230f8c55884ac86bdecb130c1520b95 files/di
MD5 2ac185f9549cd04da9fe501611ba09a5 files/digest-allegro-4.2.0-r1 244
RMD160 62ae56f916cfb604276666e75b12d34e7c2413df files/digest-allegro-4.2.0-r1 244
SHA256 51789d055eb913090d7428c659fd08bfe9af906938fcee59941759f794c0bf99 files/digest-allegro-4.2.0-r1 244
+MD5 2ac185f9549cd04da9fe501611ba09a5 files/digest-allegro-4.2.0-r2 244
+RMD160 62ae56f916cfb604276666e75b12d34e7c2413df files/digest-allegro-4.2.0-r2 244
+SHA256 51789d055eb913090d7428c659fd08bfe9af906938fcee59941759f794c0bf99 files/digest-allegro-4.2.0-r2 244
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
-iD8DBQFE8lCQwUpWvClEHQoRAsNwAJ9dzrubLaxkN4kpXjt9mRlIW0l8XQCfRLFu
-/FdVwSQnhqGf9OnwcGCUoIE=
-=xJNa
+iD8DBQFFRau/dz7hIScOURERAjFzAJ9S0Aexml/pELUXdj632h0x72O87ACeKphB
+ZECeHbQZ25mAga+2Gw8Aoag=
+=+pjz
-----END PGP SIGNATURE-----
diff --git a/media-libs/allegro/allegro-4.2.0-r2.ebuild b/media-libs/allegro/allegro-4.2.0-r2.ebuild
new file mode 100644
index 000000000000..53d405e76899
--- /dev/null
+++ b/media-libs/allegro/allegro-4.2.0-r2.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/allegro/allegro-4.2.0-r2.ebuild,v 1.1 2006/10/30 07:37:28 nyhm Exp $
+
+inherit flag-o-matic 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 doc esd fbcon mmx oss sse svga tetex"
+
+RDEPEND="alsa? ( media-libs/alsa-lib )
+ esd? ( media-sound/esound )
+ arts? ( kde-base/arts )
+ alsa? ( media-libs/alsa-lib )
+ 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 )"
+DEPEND="${RDEPEND}
+ tetex? ( virtual/tetex )
+ 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
+}
+
+src_compile() {
+ filter-flags -fPIC -fprefetch-loop-arrays
+ econf \
+ --enable-linux \
+ --enable-static \
+ --enable-vga \
+ $(use_enable mmx) \
+ $(use_enable 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) \
+ || die
+
+ emake -j1 CFLAGS="${CFLAGS}" || die "emake failed"
+
+ if use tetex ; then
+ addwrite /var/lib/texmf
+ addwrite /usr/share/texmf
+ addwrite /var/cache/fonts
+ emake docs-dvi docs-ps || die
+ fi
+}
+
+src_install() {
+ addpredict /usr/share/info
+ emake DESTDIR="${D}" \
+ install \
+ install-gzipped-man \
+ install-gzipped-info \
+ || die "emake install failed"
+
+ # Different format versions of the Allegro documentation
+ dodoc AUTHORS CHANGES THANKS readme.txt todo.txt
+ use tetex && dodoc docs/allegro.{dvi,ps}
+ use doc && dodoc examples/*
+ dohtml docs/html/*
+ docinto txt
+ dodoc docs/txt/*.txt
+ docinto rtf
+ dodoc docs/rtf/*.rtf
+ docinto build
+ dodoc docs/build/*.txt
+}
+
+pkg_postinst() {
+ ewarn "\"revdep-rebuild\" must be run now for applications already"
+ ewarn "using allegro to continue to work."
+ ewarn "revdep-rebuild is part of the gentoolkit package."
+ ewarn "(Run \"emerge gentoolkit\" if revdep-rebuild isn't already"
+ ewarn " available on your system.)"
+ ewarn
+}
diff --git a/media-libs/allegro/files/allegro-4.2.0-exec-stack.patch b/media-libs/allegro/files/allegro-4.2.0-exec-stack.patch
new file mode 100644
index 000000000000..22a85919d45b
--- /dev/null
+++ b/media-libs/allegro/files/allegro-4.2.0-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.0-flags.patch b/media-libs/allegro/files/allegro-4.2.0-flags.patch
new file mode 100644
index 000000000000..26aee313d06d
--- /dev/null
+++ b/media-libs/allegro/files/allegro-4.2.0-flags.patch
@@ -0,0 +1,43 @@
+--- configure
++++ configure
+@@ -2880,7 +2880,6 @@
+ echo "$as_me:$LINENO: checking whether linker works with -s option" >&5
+ echo $ECHO_N "checking whether linker works with -s option... $ECHO_C" >&6
+ allegro_save_LDFLAGS=$LDFLAGS
+-LDFLAGS="-s $LDFLAGS"
+ if test "${allegro_cv_prog_ld_s+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+@@ -4959,7 +4958,7 @@
+ 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)"
++ PROG_LDFLAGS="\$(LDFLAGS)"
+ else
+ PROG_LDFLAGS="\$(LDFLAGS)"
+ fi
+@@ -11367,11 +11366,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 -funroll-loops -ffast-math $WFLAGS"
+ ALLEGRO_SFLAGS="-x assembler-with-cpp"
+ ALLEGRO_SHAREDLIB_CFLAGS="-fPIC -DALLEGRO_SHARED"
+ else
+--- 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.0-r2 b/media-libs/allegro/files/digest-allegro-4.2.0-r2
new file mode 100644
index 000000000000..9cccac0876ee
--- /dev/null
+++ b/media-libs/allegro/files/digest-allegro-4.2.0-r2
@@ -0,0 +1,3 @@
+MD5 a8b2c85c58b16345fe735f72763f3a6e allegro-4.2.0.tar.gz 3056173
+RMD160 e1602ea2f8bc1761be0ee34001e9d77d3a6ea3ff allegro-4.2.0.tar.gz 3056173
+SHA256 d8df27558bc083298d6933c843d4fdaf9afc0aa1607276acc96ed8fa9a39060c allegro-4.2.0.tar.gz 3056173