diff options
Diffstat (limited to 'games-simulation')
-rw-r--r-- | games-simulation/Manifest.gz | bin | 3936 -> 3929 bytes | |||
-rw-r--r-- | games-simulation/lincity/Manifest | 2 | ||||
-rw-r--r-- | games-simulation/lincity/lincity-1.13.1-r4.ebuild (renamed from games-simulation/lincity/lincity-1.13.1-r3.ebuild) | 11 | ||||
-rw-r--r-- | games-simulation/senken/Manifest | 5 | ||||
-rw-r--r-- | games-simulation/senken/files/senken-0.3.0-implicit-function-decl.patch | 29 | ||||
-rw-r--r-- | games-simulation/senken/metadata.xml | 3 | ||||
-rw-r--r-- | games-simulation/senken/senken-0.3.0-r2.ebuild (renamed from games-simulation/senken/senken-0.3.0-r1.ebuild) | 23 |
7 files changed, 62 insertions, 11 deletions
diff --git a/games-simulation/Manifest.gz b/games-simulation/Manifest.gz Binary files differindex c042247dde71..8b563fe95e13 100644 --- a/games-simulation/Manifest.gz +++ b/games-simulation/Manifest.gz diff --git a/games-simulation/lincity/Manifest b/games-simulation/lincity/Manifest index 56c6e181542c..9f6df5c8f3c5 100644 --- a/games-simulation/lincity/Manifest +++ b/games-simulation/lincity/Manifest @@ -3,5 +3,5 @@ AUX lincity-1.13.1-build.patch 1476 BLAKE2B 941fca117f259915c0e55fd8febddb5c3b6b AUX lincity-1.13.1-gcc-10.patch 1540 BLAKE2B 9eb02f6f5820ddb6fdd0edbd25921f7f2a01595f1c1ac3d70e0683bd3fa625ee5a477e5df5d616eb334648ff01d8379970ecb72d272abadbd4867cac349cb0fa SHA512 433929f62f2dc425304bd34ccfdcbb92cbef17486c3628bb649d0c74e0fb68c5c5ab4219a2eb1028d197769ec02566db221c2e9666cfae84dc49e96f67e8d215 DIST lincity-1.13.1.tar.gz 1064236 BLAKE2B 1172ced3255048f3132f85cd9ae994c7e0558170f7e7a24909af1856669c4ad90d57acd76f330fb556656ed74843dda159005350760fc059c6b184cedf1e9393 SHA512 bc4ee7a1642b1efa25f9edaabd3aeb52d1ca1d016735c5094586f52fda3ec4e9080ff35fe518c1ccbfad9fd54babb370f4b9b6a158b4d2f43b7182155084eefc DIST lincity.png 5377 BLAKE2B 2238140719a8c1b094fbe6d7b52b9224245f2c36f970e04aa3fcaf6090409145f17dad2c2a83f6528e695fd9d26d9c053c45978502b7e44f73cf25719d7ed3aa SHA512 40a8955fdc8397662ef0d084163e7dcad59e278429792bd7096e193a0d04791c2355a0dbd2c1f72a032bbfc71bc4e27e37a3d0d4e82de8e7170bb70205d983a3 -EBUILD lincity-1.13.1-r3.ebuild 1065 BLAKE2B db35b616bfac1b21bfa5140cc77719f846b5e0563e29709386ddda93c685e2060ba5284630973d6e269bbe60c525e75e4ccaf6dea875f81efa55b09c5c676078 SHA512 9d545ff078ffdafdf7a6716ca0909c6ea2d670b89c48d2af94b32c097e7e1639ef928d7e0e40e2986d8bf32a4558973a4a3f93c72655d6055a101955e2f0ae4b +EBUILD lincity-1.13.1-r4.ebuild 1142 BLAKE2B 2563a372701292a9e6e8857b77d519b0f7eda3ba249378c14598936cb69ce5b601c7a8e62314e491ef8d45d5b884f764c85c5501b931672acb4f913e2ae6b5b3 SHA512 180f8b27869be2c89df002d1a3fb6ea61cf38f7e0ea8c392d522c5adc1674867c3818c43eb297dc5a0c5b53db59f76650e1dc013cf9bbb7e9adc54fad2d1fd1f MISC metadata.xml 331 BLAKE2B 593e63be77f20f26d1f8e8b9a4eb77ca71db1f34edba26420edad3f7578f10f41b9deae0f4caeb74767de6afc1948a989a005936ef33f3f46c315823c88730d4 SHA512 ced143eeec08adb0cf97914ca2995271dd2303b715335f5f4e10591fa341c9ddf1889d75abba8cb9dcfc51effaf8f082752d9842844fe5a3c3b81cf23224d745 diff --git a/games-simulation/lincity/lincity-1.13.1-r3.ebuild b/games-simulation/lincity/lincity-1.13.1-r4.ebuild index c80cf4adcb21..29d3d9a64773 100644 --- a/games-simulation/lincity/lincity-1.13.1-r3.ebuild +++ b/games-simulation/lincity/lincity-1.13.1-r4.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit desktop +inherit autotools desktop DESCRIPTION="City simulation game for X" HOMEPAGE="http://lincity.sourceforge.net/" @@ -30,6 +30,13 @@ PATCHES=( "${FILESDIR}"/${P}-Fix-prototypes-and-implicit-function-declarations.patch ) +src_prepare() { + default + + # Clang 16, bug #899020 + eautoreconf +} + src_configure() { local econfargs=( --with-gzip diff --git a/games-simulation/senken/Manifest b/games-simulation/senken/Manifest index fba7775cc947..469d5760ac89 100644 --- a/games-simulation/senken/Manifest +++ b/games-simulation/senken/Manifest @@ -1,5 +1,6 @@ AUX senken-0.3.0-as-needed.patch 947 BLAKE2B 0de09e827bf94bd9a4e2f289a3a685dfcbfa8860e9f2d3f343fb29ff4e345984b88f7c731add1f58a9a179061cee1e93ec3a4ec718e8c3f0dd80a4a4730e79c9 SHA512 6f1f5ae454b9f186624a2ac9d3d5d802c973fadcedf236d83b47020302645c197683ee8765c9b3536866d5281fd37ce94ebdafebde5b5653c1a2188a81fd6a44 +AUX senken-0.3.0-implicit-function-decl.patch 809 BLAKE2B 1f56ca0c90e329c0c54908b7a2f9ccd5cd3585bd46ed246fdfcd20e9ac1e64200703b91c518f99d2f34ded79f2d86eebb8da182ee73db0fe9916d53bb878087b SHA512 f61a5bb885ea93db74b4c5e1285fcf0aea21e68c5a616237cb58ceee5f57beb5d62f97d3c3ff06d777ff4552b0c9377cf32f943877dc5d36feea8708e282006d AUX senken-0.3.0-warnings.patch 1099 BLAKE2B 845bca95ba6ef003a751a096e3895386efe7920ac707249c229cfdd5593dd23c44adb96f985890a353233c7fd38f5f705b21a1e31b53b3dc6ae21523a01b2adf SHA512 5e48805adcec08e8deab671df7bf5a8303c29d8d2679bf9ce6608674d225e5acafc3f0f66b07c0362f9da735263773259db8f77dfe7028f268dbe13ce67e6b10 DIST senken-0.3.0.tar.gz 1391010 BLAKE2B ac55f61c6a1c86ca3a891190f562e91aaed56f19f08dffe2a17016dd8ef5e35a3e1c6188b402506d063c4ee812a43f63bfd45b58e102c4a1199a733ab336a8dc SHA512 df0c15cabf667fb7b56db40baf03fcae6695aa9ec0e42a7db682ff20877a5b89ee67e7799e762b4a78cf0f3fdee7f001419091f0683df74ba1bbe6b9501f0272 -EBUILD senken-0.3.0-r1.ebuild 1042 BLAKE2B 7ecaf1e570aafe0330125f839c32cea6e19a101b36a6154394850d113aa402dbffbe4eba54a3248da82de8d6a53a36132175bcb736a038edf6cae7052310404b SHA512 787ba69b0fd4fae23977c2b2668c1bd07a2536dca0d4fa53926e8f4a8f052bb6ee9902cdea117c9befbbff27c8e76096589389af623b38a20515af9b98ef24d0 -MISC metadata.xml 250 BLAKE2B 8d44bd4c6e7d6491273e2015e36ddac74af7b94a124fd240ff030e16430f5c85e53ab812f0e3e94bb2e6d138f39b512bbe01ff98b0081cacc21a02d648ec7643 SHA512 80ac07a3cac10ad2e72e9989a130b7d2073934fe92914a9db2af4d0e769d4bf537770f8faba0654bbd64a7e85ee38cf1f9d03b4b9cd322864b1b2bb35087d610 +EBUILD senken-0.3.0-r2.ebuild 1213 BLAKE2B ea6a965e73b92b72178e2da5fb7420bce4f04b19bf48903fbf646dc41d99996adb517038104d3bb38f377ed1c44d1560dcea06c3045708200ccb2a98042c0c2c SHA512 db17a525be4d7bcce6e1d648fa8a73fe5754da20011b3495320ee1f0bf235f7131207b9f358f5c81572cdc9c54c4dd714f0532114a33661a0b25e201a083d0ae +MISC metadata.xml 326 BLAKE2B ccc701ef796e6e50f0c8fffd0a28d9c651d11b81d18b16360b51e2777cb3ad4fc79a4193913cf46ebfb9cf10001972ef45c09916d2bb503bc721bf096c05a17f SHA512 69b3861fe88897ca4332c8212472ad9c0df93aaba22fd77bf41776f6f830d0813b98eb822f5335c3b79752db4965b257e40f048b87814a52a2e40e75e6133093 diff --git a/games-simulation/senken/files/senken-0.3.0-implicit-function-decl.patch b/games-simulation/senken/files/senken-0.3.0-implicit-function-decl.patch new file mode 100644 index 000000000000..f4792cfb0649 --- /dev/null +++ b/games-simulation/senken/files/senken-0.3.0-implicit-function-decl.patch @@ -0,0 +1,29 @@ +--- a/src/callbacks.c ++++ b/src/callbacks.c +@@ -47,6 +47,7 @@ + #include "client.h" + #include "landvalue.h" + #include "gtkhelp_reports.h" ++#include "support.h" + + #include "sdlwin.h" + #include "utils.h" +--- a/src/gtkhelp_reports.c ++++ b/src/gtkhelp_reports.c +@@ -5,6 +5,7 @@ + #include "player.h" + #include "client.h" + #include "gtkhelp_reports.h" ++#include "support.h" + + /**** HELPERS ****/ + +--- a/src/gtkhelp_reports.h ++++ b/src/gtkhelp_reports.h +@@ -17,4 +17,6 @@ extern void update_population_report(GtkWidget *window, client_t *client); + extern void setup_info_treeview(GtkWidget *window); + extern void update_info_report(GtkWidget *window, client_t *client, int mapx, int mapy); + ++extern void update_info_window(GtkWidget *window, client_t *client, int mapx, int mapy); ++ + #endif /* GTKHELP_REPORTS */ diff --git a/games-simulation/senken/metadata.xml b/games-simulation/senken/metadata.xml index 1c3ba213c494..36d202f38fa2 100644 --- a/games-simulation/senken/metadata.xml +++ b/games-simulation/senken/metadata.xml @@ -5,4 +5,7 @@ <email>games@gentoo.org</email> <name>Gentoo Games Project</name> </maintainer> +<upstream> +<remote-id type="savannah-nongnu">senken</remote-id> +</upstream> </pkgmetadata> diff --git a/games-simulation/senken/senken-0.3.0-r1.ebuild b/games-simulation/senken/senken-0.3.0-r2.ebuild index 206d6b75324d..a9c9fdf39deb 100644 --- a/games-simulation/senken/senken-0.3.0-r1.ebuild +++ b/games-simulation/senken/senken-0.3.0-r2.ebuild @@ -1,9 +1,11 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 -DESCRIPTION="city simulation game" +inherit autotools + +DESCRIPTION="City simulation game" HOMEPAGE="https://savannah.nongnu.org/projects/senken/" SRC_URI="mirror://gentoo/${P}.tar.gz" @@ -16,13 +18,17 @@ RDEPEND=" >=media-libs/libsdl-1.2.4 media-libs/sdl-image x11-libs/gtk+:2 - nls? ( virtual/libintl )" -DEPEND="${RDEPEND} - nls? ( sys-devel/gettext )" + nls? ( virtual/libintl ) +" +DEPEND=" + ${RDEPEND} + nls? ( sys-devel/gettext ) +" PATCHES=( "${FILESDIR}"/${P}-as-needed.patch "${FILESDIR}"/${P}-warnings.patch + "${FILESDIR}"/${P}-implicit-function-decl.patch ) src_prepare() { @@ -31,7 +37,12 @@ src_prepare() { sed -i \ -e "s:/usr/local/share:/usr/share:" \ lib/utils.h || die + + # Clang 16, bug #899022 + sed -i -e "s:configure.in:configure.ac:" Makefile.in || die + eautoconf } + src_configure() { econf $(use_enable nls) } |