diff options
Diffstat (limited to 'media-libs/allegro')
-rw-r--r-- | media-libs/allegro/Manifest | 8 | ||||
-rw-r--r-- | media-libs/allegro/allegro-4.4.2-r2.ebuild | 115 | ||||
-rw-r--r-- | media-libs/allegro/files/allegro-4.4.2-GLX_RGBA_FLOAT_BIT.patch | 20 | ||||
-rw-r--r-- | media-libs/allegro/files/allegro-4.4.2-Werror-format-security.patch | 107 | ||||
-rw-r--r-- | media-libs/allegro/files/allegro-4.4.2-glibc228.patch | 41 | ||||
-rw-r--r-- | media-libs/allegro/files/allegro-4.4.2-static-func.patch | 13 | ||||
-rw-r--r-- | media-libs/allegro/metadata.xml | 1 |
7 files changed, 2 insertions, 303 deletions
diff --git a/media-libs/allegro/Manifest b/media-libs/allegro/Manifest index a970b54601e3..2ffad0ac7870 100644 --- a/media-libs/allegro/Manifest +++ b/media-libs/allegro/Manifest @@ -1,16 +1,10 @@ -AUX allegro-4.4.2-GLX_RGBA_FLOAT_BIT.patch 701 BLAKE2B 76b9a2aaca022bbdc143b25adf4d5ad5bc62a52d72222bff3b9fd7b115f62482e98d69919a73324265b3f4a4aa548eb39fe613576166d51ba676d47ed9bdd948 SHA512 d3cbf252917a3dea316475fb8add5f966d6317a8563ac4e15324bcc34585c71c0dd71287507d8ee1f62b223054f009d28eece16656954597a9d35a1406f68dfd -AUX allegro-4.4.2-Werror-format-security.patch 5100 BLAKE2B 1e52bd5bb0eaa4df2c0c5ecb9d5421d9e41c074a7535dc29532ce976f5562de3c59979b33c042d33da4ee775d190e93036d3a5e3579786b10933f1ecec99110c SHA512 42a4f59d10a5bf3290178943181ba23ef08074abe94bd32d2f6f94f316424bbc0031350793c3d5610feef62a4a42080820fec5dbdb27802c1dc1abd0e64b13f9 AUX allegro-4.4.2-gentoo.patch 756 BLAKE2B 9273b38794a904eedadf8210d5519eda46103e2441090eeff45bfa7810d0112177f334bff66f943f915f5a48fb41542c6aa1b9f2edbaac2130dcab15332e06b5 SHA512 8abac7ade02fe7592ea77f782562d74b9cd45006e63e71f2965f8fa53c37cd5c3fb2543301bb1610a8f41f5c50b734ab9497c52721495c59fae4f3e434cbb615 -AUX allegro-4.4.2-glibc228.patch 1586 BLAKE2B e25f3f34a6a980b1a2067daec2cfaba49bd650fe065b2ccc4f9ee70a191b8fc22f3fe2501b54ac8fb2dbdb4630958f68585895c4f813a67495690a8d830d4879 SHA512 8783c04c765c3f28afd0b94603056e4a28a968f329f8814f60b074327dbd0f22e0e124df17223f04f840fdbdb5db7c9b868ccb90062902699df44b59c3b91060 AUX allegro-4.4.2-rpath.patch 182 BLAKE2B c6bae5a2ca5cd77022bf07690c5eb4d5b78f442f5951098bb30b036e37c0272fea6955908df73fdacef2e5f8698ae57a99dd73de32a056a9580a0e808a8f54f0 SHA512 6e262dc9dac274bdcbeeb2cf54b1c073a69db4a4abeb720caf5c58cb1d692286300c93fd9b7d3cea2f01aea4aeed33a34cb9e585a58ab083685c5f8c937c6536 AUX allegro-4.4.2-shared.patch 247 BLAKE2B d5bada972b4c2555f9ad9da18b30b224f5aa70762d6d68883601df933cc44788b6e5a78289d0bde863f788b65cf583ea828ffb6455d03d1d7493b00ff6c40b77 SHA512 5b982f857197dd9256bb1a151b544484b0178fa8e90d6b876bf2d26ea37c6e6bf6f44d1b729f9d2ccd11899024dccc2afbfbbfb73b816cb17e97dc3eb4df51e5 -AUX allegro-4.4.2-static-func.patch 416 BLAKE2B 3f7436cf87dd66c6ac336a3d8be8901a4679ae3054c1fe8ecb1012b5da883d3bfffc41c7421af6d95171e24e5ed864c8a6b029a9b387ad76c082437b406a8891 SHA512 ad1cd77c66f75192ccf5048f0742b9f420e611b7790576c3915721d104299b9e91619451d615d3653737bb2333b1cb170acb3202f0293be92b8be3371445ac19 AUX allegro-4.4.2-underlink.patch 456 BLAKE2B ede5f9e5195b1c54460f584924afd9daa64c795a0e083499084c7377f1989bc0df621339ff3988bc2a997447050ebf3fe0f5055fbcef8ee21dd66dfdf1ca003a SHA512 0e873aa6d1b6e72e2e4b46276f0a2a4ffe816c8d0b6a10dd9462cfed826b40d7b3461ebe51e595e9f2e7a5d2f19fd261b1ad0e05f60b77717224911e59a537d0 AUX allegro-4.4.3.1-texinfo-encoding.patch 778 BLAKE2B 7bd9538fb2fbded6e425ef6bbc0aa009707e522e1dc3d09540bf1f9fa6350375f7acea942a986304a834964bb20849da4f08ff3f963b86f43c179a9fc2b012ff SHA512 d8960e21b713a24d415704d023443dc09d6a8909d65063a7b55da47228619485fc7e647c5c52e9a9459da027daaebdc19e6c3e56fe618ee5f553fd03c4716bcc -DIST allegro-4.4.2.tar.gz 4674902 BLAKE2B 9f43fad416348425692481524f6c15808ee03946d93df4a072a46557817ccd5f6ae7eede908ca4a02a0a9e49f9a7c42909c48c14923b2155d3999ff370401006 SHA512 ad4bc1c15fc83bc8a019031fed82f37a793664bb6683cf023ec05fd9cd945f00f43764f3126892426036249c63afa5678fb4906407bb325ce5827b36aee0fa86 DIST allegro-4.4.3.1.tar.gz 4663634 BLAKE2B 23fa8cd77858243bfa8191f6bca26f50d1621fa84616968595c1284c73a86160cdbad201eece5bd026bb7ac13753568b6915295646b86e536b5d26c0394e2d1f SHA512 c5a552ab710226493447eb2547b3d7559badb96f511fbefd315b665b7486013a6710c83b69363eb09f90f53ef4278fe7b90cfee88d90d88f0fe8dc7df7606729 DIST allegro-5.2.6.0.tar.gz 7867726 BLAKE2B 3f21372442e5b8c802ac179019a11648febdcecddfda864559e1e9621f99c9ff7584fb422594c6fd3a1c352c892533c825faef10e35ecbf97058396fbb46fc7d SHA512 a475de67b0e6c727295cc51e113859eb0c57825a240e70bc45cd3b000c40518932b89cecdd13ba957416136db4ee9a9363adb5d3bfa7c8acda04ee95de6ba721 -EBUILD allegro-4.4.2-r2.ebuild 2737 BLAKE2B 53d1da512860d07ae86685094c73795eff384dccac3bfdcaa14e766300043289163cf721ff53abcc826070182eb14bef098fcadb2cda4730cd6042ed76116d4c SHA512 947594d6b3dcc1df3cb7359d41ddac48b8095933aa82dc5e064c92534e94d380ff0b65896a5558b82c11b7149c5f4dd552017b247c35b233318a6e5b010cff0c EBUILD allegro-4.4.3.1.ebuild 2970 BLAKE2B 9286e322b7397b7ad99f42170b6e260d586e896af3396bb5e8d315d1a120ad0445dacf22825ea180264cec3236ffa967f5346695a13e2a934d70e63894619505 SHA512 caa42406b233bec316d1f57285cec04928f470cc4ac57c0a6b50a5ccf39816b43d4fc376bf06f46daa954af6795b06a811851a50124fc8259d2a93b293aaa594 EBUILD allegro-5.2.6.0.ebuild 2948 BLAKE2B 6a09a2460d6d002dc2760e1d9651ec610eb0b1cd3ff8de0dc4c0713fe86824f28ac1798e4b814352425468f9627a60292ff1cb76f8a3fa4ae835be7678910cf8 SHA512 1b17d768dc4797f36ff940d6e9f9f22b2a0ff5c716700fc903b2779f7e779a82cd13ae3e4ff4a1f46b5f55bb6cd88271f0d69a7fbf521c67cae7217bfc21281d -MISC metadata.xml 1034 BLAKE2B c1cdd935feae4561903bde181428ef0d71743f85e7756f507087528641471b4af3d1339758c3d829f8244b5cec7cc74bb7563699b9e5b05146ae4c6abe8dd5af SHA512 21301cc66fe94a4d728900cd5856d3e0d27507b1d340e36246c183b13232cb7f9c9da9f8b20428bd387c7216a892dce169c2bc885caabacb08a32892faffc994 +MISC metadata.xml 1093 BLAKE2B 8cc4e85959faafa86e52e526676ae7bc69cbdfde6ea829db073f27dd2bf205130618673dca511f02b2d57ded95261ee5b47ffd337c6e1ce8f15a02a82929e77c SHA512 b66c3f858aba247b1ec1c0e77ff8bbf9fb11f2b98e827984af1fbdaa5af5a396e463aab40eeecdbde27e10be2c4c4ff836b197ed6dbb2afd6be30303004070ae diff --git a/media-libs/allegro/allegro-4.4.2-r2.ebuild b/media-libs/allegro/allegro-4.4.2-r2.ebuild deleted file mode 100644 index 0387f700f4a8..000000000000 --- a/media-libs/allegro/allegro-4.4.2-r2.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -CMAKE_IN_SOURCE_BUILD=1 -inherit cmake-utils desktop - -DESCRIPTION="cross-platform multimedia library" -HOMEPAGE="https://liballeg.org/" -SRC_URI="mirror://sourceforge/alleg/${P}.tar.gz" - -LICENSE="Allegro MIT GPL-2+ ZLIB" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~mips ppc ppc64 x86" -IUSE="alsa fbcon jack jpeg opengl oss png svga test vga vorbis X" -RESTRICT="!test? ( test )" - -RDEPEND=" - alsa? ( media-libs/alsa-lib ) - jack? ( media-sound/jack-audio-connection-kit ) - jpeg? ( virtual/jpeg:0 ) - png? ( media-libs/libpng:0= ) - svga? ( media-libs/svgalib ) - vorbis? ( media-libs/libvorbis ) - X? ( - x11-libs/libX11 - x11-libs/libXcursor - x11-libs/libXext - x11-libs/libXpm - x11-libs/libXt - x11-libs/libXxf86dga - x11-libs/libXxf86vm - opengl? ( - virtual/glu - virtual/opengl - ) - )" -DEPEND="${RDEPEND} - virtual/pkgconfig - X? ( x11-base/xorg-proto )" - -PATCHES=( - "${FILESDIR}"/${P}-shared.patch - "${FILESDIR}"/${P}-underlink.patch - "${FILESDIR}"/${P}-gentoo.patch - "${FILESDIR}"/${P}-rpath.patch - "${FILESDIR}"/${P}-Werror-format-security.patch # bug 540470 - "${FILESDIR}"/${P}-glibc228.patch # bug 670781 - "${FILESDIR}"/${P}-GLX_RGBA_FLOAT_BIT.patch # bug 672858 - "${FILESDIR}"/${P}-static-func.patch # bug 696034 -) - -src_prepare() { - cmake-utils_src_prepare - - sed -i \ - -e "s:allegro-\${ALLEGRO_VERSION}:${PF}:" \ - docs/CMakeLists.txt || die -} - -src_configure() { - # WANT_LINUX_CONSOLE is by default OFF - # WANT_EXAMPLES doesn't install anything - local mycmakeargs=( - -DDOCDIR=share/doc - -DMANDIR=share/man - -DWANT_ALSA=$(usex alsa) - -DWANT_DOCS_INFO=OFF - -DWANT_EXAMPLES=OFF - -DWANT_JACK=$(usex jack) - -DWANT_JPGALLEG=$(usex jpeg) - -DWANT_LINUX_CONSOLE=OFF - -DWANT_LINUX_FBCON=$(usex fbcon) - -DWANT_LINUX_SVGALIB=$(usex svga) - -DWANT_LINUX_VGA=$(usex vga) - -DWANT_LOADPNG=$(usex png) - -DWANT_LOGG=$(usex vorbis) - -DWANT_OSS=$(usex oss) - -DWANT_TESTS=$(usex test) - -DWANT_TOOLS=$(usex X) - -DWANT_X11=$(usex X) - ) - - if use X; then - mycmakeargs+=( -DWANT_ALLEGROGL=$(usex opengl) ) - else - mycmakeargs+=( -DWANT_ALLEGROGL=OFF ) - fi - - cmake-utils_src_configure -} - -src_install() { - rm -r docs/html/{build,tmpfile.txt} || die - local HTML_DOCS=( docs/html/. ) - - cmake-utils_src_install - - #176020 (init_dialog.3), #409305 (key.3) - pushd docs/man >/dev/null - local manpage - for manpage in $(ls -d *.3); do - newman ${manpage} ${PN}-${manpage} - done - popd >/dev/null - - if use X; then - newbin setup/setup ${PN}-setup - insinto /usr/share/${PN} - doins {keyboard,language,setup/setup}.dat - newicon misc/icon.png ${PN}.png - make_desktop_entry ${PN}-setup "Allegro Setup" ${PN} "Settings" - fi -} diff --git a/media-libs/allegro/files/allegro-4.4.2-GLX_RGBA_FLOAT_BIT.patch b/media-libs/allegro/files/allegro-4.4.2-GLX_RGBA_FLOAT_BIT.patch deleted file mode 100644 index 54ff4f97fbb1..000000000000 --- a/media-libs/allegro/files/allegro-4.4.2-GLX_RGBA_FLOAT_BIT.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/addons/allegrogl/src/x.c 2019-01-27 20:35:26.209055856 +0100 -+++ b/addons/allegrogl/src/x.c 2019-01-27 20:38:54.135570782 +0100 -@@ -650,7 +650,7 @@ - return -1; - } - -- if (!(render_type & GLX_RGBA_BIT) && !(render_type & GLX_RGBA_FLOAT_BIT)) { -+ if (!(render_type & GLX_RGBA_BIT) && !(render_type & GLX_RGBA_FLOAT_BIT_ARB)) { - TRACE(PREFIX_I "decode_fbconfig: Not RGBA mode\n"); - return -1; - } -@@ -674,7 +674,7 @@ - /* Floating-point depth is not supported as glx extension (yet). */ - i->float_depth = 0; - -- i->float_color = (render_type & GLX_RGBA_FLOAT_BIT); -+ i->float_color = (render_type & GLX_RGBA_FLOAT_BIT_ARB); - - v = glXGetVisualFromFBConfig(_xwin.display, fbc); - if (!v) { diff --git a/media-libs/allegro/files/allegro-4.4.2-Werror-format-security.patch b/media-libs/allegro/files/allegro-4.4.2-Werror-format-security.patch deleted file mode 100644 index b3b0bc30b344..000000000000 --- a/media-libs/allegro/files/allegro-4.4.2-Werror-format-security.patch +++ /dev/null @@ -1,107 +0,0 @@ -diff -up allegro-4.4.2/src/unix/umodules.c~ allegro-4.4.2/src/unix/umodules.c ---- allegro-4.4.2/src/unix/umodules.c~ 2011-05-13 10:11:33.000000000 +0200 -+++ allegro-4.4.2/src/unix/umodules.c 2017-03-15 14:42:39.822612368 +0100 -@@ -126,11 +126,11 @@ void _unix_load_modules(int system_drive - continue; - - if (!fullpath_slash) { -- snprintf(fullpath, sizeof fullpath, filename); -+ snprintf(fullpath, sizeof fullpath, "%s", filename); - fullpath[(sizeof fullpath) - 1] = 0; - } - else { -- snprintf(fullpath_slash+1, (sizeof fullpath) - (fullpath_slash - fullpath) - 1, filename); -+ snprintf(fullpath_slash+1, (sizeof fullpath) - (fullpath_slash - fullpath) - 1, "%s", filename); - fullpath[(sizeof fullpath) - 1] = 0; - } - -diff -up allegro-4.4.2/src/linux/ljoy.c~ allegro-4.4.2/src/linux/ljoy.c ---- allegro-4.4.2/src/linux/ljoy.c~ 2010-02-20 06:18:16.000000000 +0100 -+++ allegro-4.4.2/src/linux/ljoy.c 2017-03-15 14:52:28.474215615 +0100 -@@ -93,7 +93,7 @@ static int joy_init(void) - - if (ioctl(joy_fd[i], JSIOCGVERSION, &raw_version) < 0) { - /* NOTE: IOCTL fails if the joystick API is version 0.x */ -- uszprintf(allegro_error, ALLEGRO_ERROR_SIZE, get_config_text("Your Linux joystick API is version 0.x which is unsupported.")); -+ uszprintf(allegro_error, ALLEGRO_ERROR_SIZE, "%s", get_config_text("Your Linux joystick API is version 0.x which is unsupported.")); - return -1; - } - -diff -up allegro-4.4.2/examples/extrans2.c~ allegro-4.4.2/examples/extrans2.c ---- allegro-4.4.2/examples/extrans2.c~ 2008-01-30 11:56:50.000000000 +0100 -+++ allegro-4.4.2/examples/extrans2.c 2017-03-15 15:43:03.494831521 +0100 -@@ -211,7 +211,7 @@ int main(int argc, char **argv) - } else { - msg = "no flipping"; - } -- textprintf_ex(buffer, font, 1, 1, makecol(255, 255, 255), -1, msg); -+ textprintf_ex(buffer, font, 1, 1, makecol(255, 255, 255), -1, "%s", msg); - - /* finally blit the back buffer on the screen */ - blit(buffer, screen, 0, 0, 0, 0, buffer->w, buffer->h); -diff -up allegro-4.4.2/setup/setup.c~ allegro-4.4.2/setup/setup.c ---- allegro-4.4.2/setup/setup.c~ 2010-05-23 18:05:33.000000000 +0200 -+++ allegro-4.4.2/setup/setup.c 2017-03-15 16:13:42.243136380 +0100 -@@ -1163,7 +1163,7 @@ static void plot_joystick_state(BITMAP * - textprintf_ex(bmp, font, SCREEN_W/2-96, SCREEN_H/2-60+c*20, -1, -1, uconvert_ascii("%s (%d/%d)", tmp), - joystick_driver->name, i+1, num_joysticks); - else -- textprintf_ex(bmp, font, SCREEN_W/2-96, SCREEN_H/2-60+c*20, -1, -1, joystick_driver->name); -+ textprintf_ex(bmp, font, SCREEN_W/2-96, SCREEN_H/2-60+c*20, -1, -1, "%s", joystick_driver->name); - c++; - } - -@@ -2879,7 +2879,7 @@ int main(void) - alert(uconvert_ascii("Error loading " SETUP_DATA_FILE, tmp1), NULL, NULL, uconvert_ascii("OK", tmp2), NULL, 13, 0); - #else - set_gfx_mode(GFX_TEXT, 0, 0, 0, 0); -- allegro_message(uconvert_ascii("Error loading " SETUP_DATA_FILE "\n", tmp1)); -+ allegro_message("%s", uconvert_ascii("Error loading " SETUP_DATA_FILE "\n", tmp1)); - #endif - return 1; - } -diff -up allegro-4.4.2/examples/exkeys.c~ allegro-4.4.2/examples/exkeys.c ---- allegro-4.4.2/examples/exkeys.c~ 2008-01-10 20:46:00.000000000 +0100 -+++ allegro-4.4.2/examples/exkeys.c 2017-03-15 16:17:30.268545467 +0100 -@@ -193,7 +193,7 @@ int main(void) - if (key_shifts & KB_NUMLOCK_FLAG) strcat(buf, " num"); - if (key_shifts & KB_SCROLOCK_FLAG) strcat(buf, " scrl"); - scroll(); -- textprintf_ex(screen, font, 8, SCREEN_H-16, makecol(0, 0, 0), makecol(255, 255, 255), buf); -+ textprintf_ex(screen, font, 8, SCREEN_H-16, makecol(0, 0, 0), makecol(255, 255, 255), "%s", buf); - } while (k != 27); - - /* various scan codes are defined in allegro.h as KEY_* constants */ -@@ -234,7 +234,7 @@ int main(void) - if (key[KEY_8]) buf[8] = '8'; else buf[8] = ' '; - if (key[KEY_9]) buf[9] = '9'; else buf[9] = ' '; - buf[10] = 0; -- textprintf_ex(screen, font, 8, SCREEN_H-16, makecol(0, 0, 0), makecol(255, 255, 255), buf); -+ textprintf_ex(screen, font, 8, SCREEN_H-16, makecol(0, 0, 0), makecol(255, 255, 255), "%s", buf); - rest(1); - } while (!keypressed() || (readkey() >> 8) != KEY_ESC); - -diff -up allegro-4.4.2/tests/play.c~ allegro-4.4.2/tests/play.c ---- allegro-4.4.2/tests/play.c~ 2005-03-19 12:15:07.000000000 +0100 -+++ allegro-4.4.2/tests/play.c 2017-03-15 16:35:18.628156496 +0100 -@@ -74,7 +74,7 @@ void usage(void) - - strcat(msg, "\nIf you don't specify the card, Allegro will auto-detect (ie. guess :-)\n"); - -- allegro_message(msg); -+ allegro_message("%s", msg); - free(msg); - } - -diff -up allegro-4.2.3/tools/pack.c~ allegro-4.2.3/tools/pack.c ---- allegro-4.2.3/tools/pack.c~ 2006-05-20 16:49:58.000000000 +0200 -+++ allegro-4.2.3/tools/pack.c 2010-12-30 11:20:42.425231307 +0100 -@@ -42,7 +42,7 @@ static void err(char *s1, char *s2) - printf(": %s", s1); - - if (s2) -- printf(s2); -+ printf("%s", s2); - - printf("\n"); - diff --git a/media-libs/allegro/files/allegro-4.4.2-glibc228.patch b/media-libs/allegro/files/allegro-4.4.2-glibc228.patch deleted file mode 100644 index afcdf5100c5e..000000000000 --- a/media-libs/allegro/files/allegro-4.4.2-glibc228.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 4848f1583c3dbe41f5f056869ff2c796d33d8121 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Andreas=20R=C3=B6nnquist?= <andreas@ronnquist.net> -Date: Wed, 12 Dec 2018 16:39:23 +0100 -Subject: [PATCH] Remove f* variants of fixed math functions - -Removing functions that conflicts with later glibc implementations, -people should use fix* variants instead. -(Simply use fixadd instead of fadd). ---- - include/allegro/alcompat.h | 18 ------------------ - 1 file changed, 18 deletions(-) - -diff --git a/include/allegro/alcompat.h b/include/allegro/alcompat.h -index d31ab5b6d..c9536839d 100644 ---- a/include/allegro/alcompat.h -+++ b/include/allegro/alcompat.h -@@ -40,24 +40,6 @@ - #endif - #endif - -- #ifndef ALLEGRO_NO_FIX_ALIASES -- AL_ALIAS(fixed fadd(fixed x, fixed y), fixadd(x, y)) -- AL_ALIAS(fixed fsub(fixed x, fixed y), fixsub(x, y)) -- AL_ALIAS(fixed fmul(fixed x, fixed y), fixmul(x, y)) -- AL_ALIAS(fixed fdiv(fixed x, fixed y), fixdiv(x, y)) -- AL_ALIAS(int fceil(fixed x), fixceil(x)) -- AL_ALIAS(int ffloor(fixed x), fixfloor(x)) -- AL_ALIAS(fixed fcos(fixed x), fixcos(x)) -- AL_ALIAS(fixed fsin(fixed x), fixsin(x)) -- AL_ALIAS(fixed ftan(fixed x), fixtan(x)) -- AL_ALIAS(fixed facos(fixed x), fixacos(x)) -- AL_ALIAS(fixed fasin(fixed x), fixasin(x)) -- AL_ALIAS(fixed fatan(fixed x), fixatan(x)) -- AL_ALIAS(fixed fatan2(fixed y, fixed x), fixatan2(y, x)) -- AL_ALIAS(fixed fsqrt(fixed x), fixsqrt(x)) -- AL_ALIAS(fixed fhypot(fixed x, fixed y), fixhypot(x, y)) -- #endif -- - #endif /* !defined ALLEGRO_SRC */ - - diff --git a/media-libs/allegro/files/allegro-4.4.2-static-func.patch b/media-libs/allegro/files/allegro-4.4.2-static-func.patch deleted file mode 100644 index ac107d387d56..000000000000 --- a/media-libs/allegro/files/allegro-4.4.2-static-func.patch +++ /dev/null @@ -1,13 +0,0 @@ -https://sourceforge.net/p/alleg/bugs/398/ - ---- a/addons/jpgalleg/src/decode.c 2008-02-13 14:04:57.000000000 +0100 -+++ b/addons/jpgalleg/src/decode.c 2015-09-03 14:57:57.888485546 +0200 -@@ -477,7 +477,7 @@ - * Reads a string of bits from the input stream and returns a properly signed - * number given the category. - */ --INLINE int -+static INLINE int - get_value(int category) - { - int result = get_bits(category); diff --git a/media-libs/allegro/metadata.xml b/media-libs/allegro/metadata.xml index 1a6f9338ec6e..8c4daf206b01 100644 --- a/media-libs/allegro/metadata.xml +++ b/media-libs/allegro/metadata.xml @@ -20,6 +20,7 @@ and a GUI. <flag name="vga">Enables the VGA graphics driver</flag> </use> <upstream> + <remote-id type="github">liballeg/allegro5</remote-id> <remote-id type="sourceforge">alleg</remote-id> </upstream> </pkgmetadata> |