-
Notifications
You must be signed in to change notification settings - Fork 340
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #851 from cazfi/srvup
- Loading branch information
Showing
6 changed files
with
67 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 0 additions & 32 deletions
32
freeciv/patches/backports/0050-Initialize-extra-before-calling-unit_assign_specific.patch
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
freeciv/patches/backports/0077-Meson-Make-pack_client-to-depend-on-verhdr.patch
This file was deleted.
Oops, something went wrong.
32 changes: 32 additions & 0 deletions
32
freeciv/patches/backports/0077-city_freeze_workers_queue-Set-needs_arrange-for-citi.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
From 2af5f7de98ee8d5dcfe9dae9b524ceaa817a79b8 Mon Sep 17 00:00:00 2001 | ||
From: Marko Lindqvist <cazfi74@gmail.com> | ||
Date: Wed, 22 May 2024 15:12:31 +0300 | ||
Subject: [PATCH 77/77] city_freeze_workers_queue(): Set needs_arrange for | ||
cities already in queue | ||
|
||
See RM #661 | ||
|
||
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> | ||
--- | ||
server/citytools.c | 5 +++++ | ||
1 file changed, 5 insertions(+) | ||
|
||
diff --git a/server/citytools.c b/server/citytools.c | ||
index d9332656e7..b687c07b74 100644 | ||
--- a/server/citytools.c | ||
+++ b/server/citytools.c | ||
@@ -162,6 +162,11 @@ void city_freeze_workers_queue(struct city *pcity) | ||
if (arrange_workers_queue == nullptr) { | ||
arrange_workers_queue = city_list_new(); | ||
} else if (city_list_find_number(arrange_workers_queue, pcity->id)) { | ||
+ /* City might have been arranged since it was originally put to the queue. | ||
+ * Make sure needs_arrange is set again. */ | ||
+ if (pcity->server.needs_arrange == CNA_NOT) { | ||
+ pcity->server.needs_arrange = CNA_NORMAL; | ||
+ } | ||
return; | ||
} | ||
|
||
-- | ||
2.43.0 | ||
|
28 changes: 28 additions & 0 deletions
28
freeciv/patches/backports/0089-Meson-Make-fc_client_common-to-depend-on-verhdr.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
From 79e30f320d9f8f299e47014b37d517fd063688c0 Mon Sep 17 00:00:00 2001 | ||
From: Marko Lindqvist <cazfi74@gmail.com> | ||
Date: Tue, 21 May 2024 09:50:07 +0300 | ||
Subject: [PATCH 89/92] Meson: Make fc_client_common to depend on verhdr | ||
|
||
See RM #596 | ||
|
||
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> | ||
--- | ||
meson.build | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/meson.build b/meson.build | ||
index cd05e91f2e..0d6b15bead 100644 | ||
--- a/meson.build | ||
+++ b/meson.build | ||
@@ -2169,7 +2169,7 @@ client_common = static_library('fc_client_common', | ||
'client/update_queue.c', | ||
'client/voteinfo.c', | ||
'client/zoom.c', | ||
- sources: [audio_sdl_src, pack_client, | ||
+ sources: [verhdr, audio_sdl_src, pack_client, | ||
tolua.process('client/luascript/tolua_client.pkg')], | ||
include_directories: client_inc, | ||
link_with: [common_lib], | ||
-- | ||
2.43.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters