diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-02-10 00:12:21 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-02-10 00:12:21 +0000 |
commit | 3a81cede4783e464b7485722b2eaac0280dbc570 (patch) | |
tree | 261618bfbe562244c237d48a7960d4952bc6b318 /games-sports | |
parent | b95a6fd4a7b591baa7cfc689f8ce5643592d07be (diff) |
gentoo auto-resync : 10:02:2025 - 00:12:20
Diffstat (limited to 'games-sports')
-rw-r--r-- | games-sports/Manifest.gz | bin | 2074 -> 2073 bytes | |||
-rw-r--r-- | games-sports/foobillard/Manifest | 6 | ||||
-rw-r--r-- | games-sports/foobillard/files/foobillard-3.0a-c99.patch | 14 | ||||
-rw-r--r-- | games-sports/foobillard/files/foobillard-3.0a-musl.patch | 14 | ||||
-rw-r--r-- | games-sports/foobillard/files/foobillard-3.0a-pointer-types.patch | 36 | ||||
-rw-r--r-- | games-sports/foobillard/files/foobillard-3.0a-queue.patch | 13 | ||||
-rw-r--r-- | games-sports/foobillard/foobillard-3.0a-r2.ebuild (renamed from games-sports/foobillard/foobillard-3.0a-r1.ebuild) | 8 |
7 files changed, 88 insertions, 3 deletions
diff --git a/games-sports/Manifest.gz b/games-sports/Manifest.gz Binary files differindex a1276130cc94..bc1b57bf85a2 100644 --- a/games-sports/Manifest.gz +++ b/games-sports/Manifest.gz diff --git a/games-sports/foobillard/Manifest b/games-sports/foobillard/Manifest index fc879639b16b..1f7f087a3140 100644 --- a/games-sports/foobillard/Manifest +++ b/games-sports/foobillard/Manifest @@ -1,8 +1,12 @@ AUX foobillard-3.0a-as-needed.patch 711 BLAKE2B ffe0b9762057bc928432d7e1e4307da050edf45d772fc87b1d2220b81a19cb3dcb3c20670ddc363fdceeda00c3427bfe51568236cc608574cbfde38fbac8d7c6 SHA512 365021ac777f989d3b2222728189448dd1d4917b6ad5417079433aff31c6b50a19c756c2812b5d2815cd0894994cdb5b15ef76b012848f3a667071b35abc0e1a +AUX foobillard-3.0a-c99.patch 350 BLAKE2B ef3b0792c93ac0430bda1cc5f86d843280f60261b1e0371d336f9d126c7bad207497c09edb2f655d835293f1f2d1d535f4aa6a3baba0d75069681e15f364d6a9 SHA512 0b4df24600a9bb94942817e70c041eb628d7fcae43d31d271bcc16bb99c79cac6fd3a52a2c10f0e44e0bbd491c9b524410bbf79f7af75748f26a6ad376a154eb AUX foobillard-3.0a-fbsd.patch 631 BLAKE2B a4ef4672eb7f415b125b4e5588891fbe947f5ce39697db048acbdd826130908530bc71f14159acdde6787ad859e12e6df35b595440cf4e314a74e10006f6f7e2 SHA512 e1e590c901964752bafc050a03b3b2d2f80bf09967f2fddc8404f2e24ec15e115918d018f64f17b9b1972b33542740f603ef99368ad60c60bd574ec352678346 AUX foobillard-3.0a-freetype_pkgconfig.patch 1478 BLAKE2B cbeacfbafc656f530e986836752b5b97033d1da50a4f90d2cf80d8010bfef2f3b84afbc59dbe74febb2c249d1e5ac6491f801d00bf08544f399ab894997b0286 SHA512 16cf93b98fad501951dfab6ff6b429b21bce215f37f083ca645d555124fdf7c2fef2b8deec705d0254142248a2f2cda6705d3b58e76b2f73ad121ffc55f3645a AUX foobillard-3.0a-gl-clamp.patch 660 BLAKE2B 6062b1bbc2b5909ca94f09b901a2b4298678925ef38813ba8598a1f8e744c6170d87f39ae338135684bd6a139fa1c96de0d3eb141514212f30bcf207f6c4e237 SHA512 5eb0e7e357df8a0617274cdcd3795fa24d4fd13442ea52ab1b38e639cea1a348fd89f69840d28df4c89fe3e22003a6f79fcad7b486bf9640de572d8d518603b2 +AUX foobillard-3.0a-musl.patch 275 BLAKE2B cd3deac50e0c5d6d06e024780b6378b6ed249011de2004a7d03c0fefb713939b008de70607ac78ca212e06c8ed8e916e99c660a341fc2e8ff63b50f87118d3a6 SHA512 15c27a4f5295a7151e7632951f6fe3742ec66ff3361ceffefe18b1dad3034b3dfcba484236e0d70e7c01095daf298f8cd608267c0664c604cf4f883d9e6f4a65 AUX foobillard-3.0a-no_nvidia.patch 697 BLAKE2B 72f8eee1cb830fe0ce94573de236f1433efef4e379f70ab398f8f8a9feb3c53eaa6163374d82d1dcba91ef10445d0db5687a899b8bf4ef5fe0903c3ae1028335 SHA512 2f769a1000b617d07756bec33355bd95c23f492ec4e6dd02244f1812509f3794c64f1fe2a714233517bb87519f005cd98e674633c31b09c6c0a79a93d71f8d40 +AUX foobillard-3.0a-pointer-types.patch 1603 BLAKE2B 096c1272d5054a543ee0feebdfc0a23efae87d80cdf3346cee4c2e38aabf9585aace54758bcbb4513b172ea89022290f3eeda49176257b4ff5f951990ab0c864 SHA512 cdfe408272969c3b991f426627e885ff520d1f0748d5fdfbdc29a643e97a4d2642c03254320607f97e92db5a13f4ea4c93aa39f4558d8bcdf4be9e2dbc22a519 +AUX foobillard-3.0a-queue.patch 392 BLAKE2B 18bef0a557346ff2c94e73043b149c4f49ff136d05f3a33d2121bd4c4ec65f414fc4a88ca7bb8efd181d48b610afc4df2a70416c58a31b040cf53487cc1892f9 SHA512 ee4798dfef132d75fdb9249cfaf23c47aefc6bae0fae8fb810725bd013c78ce91ec9b5060a0ede44b55d4f954fcd68e131a709ae1eda30daf168c069c64e3b67 DIST foobillard-3.0a.tar.gz 1138477 BLAKE2B 8abb068ec9deacff9748e199782699fe3df70a4e787ece2e8247086ed35f6260b6389fb8fb3f17ebf815f167b7c3a672740de889537e025160614a67bc734c87 SHA512 6ff85255384a83cb147a9682beefa021658ba34ad00ed7879bf7887fff248d41aeb34d2dbe39148ee10bffc53091ea5f168b4afeddac9b50d577bad7799d59b2 -EBUILD foobillard-3.0a-r1.ebuild 1445 BLAKE2B 300e07b14788a3bb7ec3bb3e972b7301dda74eb1e9696ad4ae737fc4eb6df3ff6f59e5b671e9354119fabc93ebfcb111bfb8d3d43374848e329f171420bc0241 SHA512 11c53480506dd5273ce66ff9328d7dd45638c480481d3f3f2ef9e9ed0c48948056330c635ef1deaafff236c1199253a4a9a3fd6e7e6966681dfe6ba57b35e503 +EBUILD foobillard-3.0a-r2.ebuild 1578 BLAKE2B 8d1618149d685c83c95c6eec1ac0cdb2e54da3dc775466b5ea878bab8890104b194f18aa7b25d233a6e39a47803074fd36359b582c3d23870956469dd2f9b528 SHA512 e633f68d6792504df3a79089087d1273f9c0ce03783b51a2cedd1311a6cb7eccb1ed06d2a4e69aff6e15f5a1d76e6b6766574850507b5fe47aae857b8a49e762 MISC metadata.xml 334 BLAKE2B 2bb4db12cfc1a11dc6be0003f3f0a5f09f45527eb95faa9011eecd8ae43c3cd874e9d39276aa7df803d7fcd7eacf9752c49a40303b1bc10e9485d4640b5b0012 SHA512 071b8e6e242054fa6913e6a99e99268dc3c758273265af956f33adaf8f8cf37e0ae19d1d9029f943ce5152439440d97d0b1910ac7670055244750d22067eae69 diff --git a/games-sports/foobillard/files/foobillard-3.0a-c99.patch b/games-sports/foobillard/files/foobillard-3.0a-c99.patch new file mode 100644 index 000000000000..bc21563c9405 --- /dev/null +++ b/games-sports/foobillard/files/foobillard-3.0a-c99.patch @@ -0,0 +1,14 @@ +Avoid an implicit int to improve compatibility with future compilers. +Borrowed from https://src.fedoraproject.org/rpms/foobillard/blob/f41/f/foobillard-c99.patch + +--- a/src/billmove.c ++++ b/src/billmove.c +@@ -409,7 +409,7 @@ void record_move_log_event( enum event_type event, + } + + +-int my_rand(nr) ++int my_rand(int nr) + { + return rand()%nr; + } diff --git a/games-sports/foobillard/files/foobillard-3.0a-musl.patch b/games-sports/foobillard/files/foobillard-3.0a-musl.patch new file mode 100644 index 000000000000..adc425722ef4 --- /dev/null +++ b/games-sports/foobillard/files/foobillard-3.0a-musl.patch @@ -0,0 +1,14 @@ +Fix build with musl +https://bugs.gentoo.org/831494 + +--- a/src/sound_stuff.c ++++ b/src/sound_stuff.c +@@ -33,7 +33,7 @@ + #include <stdlib.h> + + #ifndef USE_SDL +-#include <sys/unistd.h> ++#include <unistd.h> + #include <sys/types.h> + #include <sys/stat.h> + #include <sys/ioctl.h> diff --git a/games-sports/foobillard/files/foobillard-3.0a-pointer-types.patch b/games-sports/foobillard/files/foobillard-3.0a-pointer-types.patch new file mode 100644 index 000000000000..5289c8a5ca10 --- /dev/null +++ b/games-sports/foobillard/files/foobillard-3.0a-pointer-types.patch @@ -0,0 +1,36 @@ +https://src.fedoraproject.org/rpms/foobillard/blob/f41/f/pointer-types.patch + +--- a/src/billard3d.c 2004-04-23 20:20:49.000000000 -0500 ++++ b/src/billard3d.c 2024-02-05 15:51:12.482203297 -0600 +@@ -5100,7 +5100,7 @@ + + #if __BYTE_ORDER == __BIG_ENDIAN + { +- char *snd=ball_ball_snd.data; ++ char *snd=(char *)ball_ball_snd.data; + for(i=0;i<ball_ball_snd.len;i+=2) + { + char t=snd[i]; +--- a/src/font.c 2003-08-01 17:16:02.000000000 -0500 ++++ b/src/font.c 2024-02-05 16:01:02.310962392 -0600 +@@ -436,14 +436,14 @@ + struct TessData * tessdata = new_tessdata(); + + gluTessNormal(tessdata->tobj, 0.0, 0.0, -1.0 ); +- gluTessCallback(tessdata->tobj, GLU_TESS_BEGIN, glBegin); +- gluTessCallback(tessdata->tobj, GLU_TESS_VERTEX, my_Vertex_cb); ++ gluTessCallback(tessdata->tobj, GLU_TESS_BEGIN, (_GLUfuncptr)glBegin); ++ gluTessCallback(tessdata->tobj, GLU_TESS_VERTEX, (_GLUfuncptr)my_Vertex_cb); + gluTessCallback(tessdata->tobj, GLU_TESS_END, glEnd); + +- funcs.move_to = cb_tess_move_to; +- funcs.line_to = cb_tess_line_to; +- funcs.conic_to = cb_tess_conic_to; +- funcs.cubic_to = cb_tess_cubic_to; ++ funcs.move_to = (FT_Outline_MoveToFunc)cb_tess_move_to; ++ funcs.line_to = (FT_Outline_LineToFunc)cb_tess_line_to; ++ funcs.conic_to = (FT_Outline_ConicToFunc)cb_tess_conic_to; ++ funcs.cubic_to = (FT_Outline_CubicToFunc)cb_tess_cubic_to; + funcs.shift = 0; + funcs.delta = 0; + gluTessBeginPolygon(tessdata->tobj, NULL); diff --git a/games-sports/foobillard/files/foobillard-3.0a-queue.patch b/games-sports/foobillard/files/foobillard-3.0a-queue.patch new file mode 100644 index 000000000000..abc35900b4a9 --- /dev/null +++ b/games-sports/foobillard/files/foobillard-3.0a-queue.patch @@ -0,0 +1,13 @@ +Fix build with gcc 15 + +--- a/src/queue.h ++++ b/src/queue.h +@@ -24,7 +24,7 @@ + + void delete_queue_texbind( void ); + void create_queue_texbind( void ); +-int create_queue(); ++int create_queue(double (*rfunc)(double)); + void draw_queue( VMvect pos, GLfloat Xrot, GLfloat Zrot, GLfloat zoffs, + GLfloat xoffs, GLfloat yoffs, int spheretexbind, VMvect * lightpos, int lightnr ); + diff --git a/games-sports/foobillard/foobillard-3.0a-r1.ebuild b/games-sports/foobillard/foobillard-3.0a-r2.ebuild index 3cb4c991c6c5..ba632f45c345 100644 --- a/games-sports/foobillard/foobillard-3.0a-r1.ebuild +++ b/games-sports/foobillard/foobillard-3.0a-r2.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit autotools desktop flag-o-matic toolchain-funcs @@ -32,6 +32,10 @@ PATCHES=( "${FILESDIR}"/${P}-fbsd.patch "${FILESDIR}"/${P}-as-needed.patch "${FILESDIR}"/${P}-gl-clamp.patch + "${FILESDIR}"/${P}-c99.patch + "${FILESDIR}"/${P}-queue.patch + "${FILESDIR}"/${P}-pointer-types.patch + "${FILESDIR}"/${P}-musl.patch ) src_prepare() { |