diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
commit | d18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c (patch) | |
tree | 4a95cbc6ffdf13bad6ecbc7f8d5af99631984123 /games-rpg/egoboo/files/egoboo-2.8.1-enet-1.3.patch | |
parent | e748ba9741f6540f4675c23e3e37b73e822c13a4 (diff) |
gentoo resync : 15.06.2021
Diffstat (limited to 'games-rpg/egoboo/files/egoboo-2.8.1-enet-1.3.patch')
-rw-r--r-- | games-rpg/egoboo/files/egoboo-2.8.1-enet-1.3.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/games-rpg/egoboo/files/egoboo-2.8.1-enet-1.3.patch b/games-rpg/egoboo/files/egoboo-2.8.1-enet-1.3.patch new file mode 100644 index 000000000000..dbde2db53861 --- /dev/null +++ b/games-rpg/egoboo/files/egoboo-2.8.1-enet-1.3.patch @@ -0,0 +1,21 @@ +https://bugs.gentoo.org/628038 +From: "Azamat H. Hackimov" <azamat.hackimov@gmail.com> +Date: Thu, 10 Sep 2020 18:39:45 +0300 +Subject: [PATCH] Add support for enet-1.3 +--- a/src/game/network.c ++++ b/src/game/network.c +@@ -1847,3 +1847,3 @@ + /// @todo Should I limit client bandwidth here?
+- net_myHost = enet_host_create( NULL, 1, 0, 0 );
++ net_myHost = enet_host_create( NULL, 1, 0, 0, 0 );
+ if ( NULL == net_myHost )
+@@ -1863,3 +1863,3 @@ + address.port = NET_EGOBOO_PORT;
+- net_gameHost = enet_host_connect( net_myHost, &address, NET_EGOBOO_NUM_CHANNELS );
++ net_gameHost = enet_host_connect( net_myHost, &address, NET_EGOBOO_NUM_CHANNELS, 0 );
+ if ( NULL == net_gameHost )
+@@ -1906,3 +1906,3 @@ + log_info( "sv_hostGame: Creating game on port %d\n", NET_EGOBOO_PORT );
+- net_myHost = enet_host_create( &address, MAX_PLAYER, 0, 0 );
++ net_myHost = enet_host_create( &address, MAX_PLAYER, 0, 0, 0 );
+ if ( NULL == net_myHost )
|