Your message dated Fri, 17 May 2013 11:33:19 +0000
with message-id <[email protected]>
and subject line Bug#707930: Removed package(s) from unstable
has caused the Debian Bug report #662258,
regarding egoboo: Please de-bundle and use Debian's Enet 1.3
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
662258: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=662258
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: egoboo
Version: 1:2.8.1-1
Severity: normal

Dear Maintainer,
Egoboo uses an out-dated bundled version of the Enet library.
As per Debian best-practice it should make use of the libraries already
available in Debian.

I have prepared a patch which makes egoboo pick up Debian's Enet and not use
the bundled version, please consider applying it (and adding a dependencies on
libenet as appropriate).
>From bb73278a87646308a42d9c68727d623beadcce76 Mon Sep 17 00:00:00 2001
From: Martin Erik Werner <[email protected]>
Date: Mon, 5 Mar 2012 01:32:24 +0100
Subject: [PATCH] Debundle and use Debian's Enet

---
 src/Makefile          |    5 ++---
 src/game/Makefile     |    6 +++---
 src/game/Makefile.lua |    2 +-
 src/game/network.c    |    8 ++++----
 4 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/src/Makefile b/src/Makefile
index 57d0df2..58c237f 100755
--- a/src/Makefile
+++ b/src/Makefile
@@ -14,10 +14,9 @@ PROJ_NAME := egoboo-2.x
 
 .PHONY: all clean
 
-all: enet egoboo
+all: egoboo
 
 clean:
-	make -C ./enet clean
 	make -C ./game clean
 
 ./enet/lib/libenet.a:
@@ -25,7 +24,7 @@ clean:
 
 enet:   ./enet/lib/libenet.a
 
-egoboo: enet
+egoboo:
 	make -C ./game all PREFIX=$(PREFIX) PROJ_NAME=$(PROJ_NAME)
 	
 egoboo_lua: enet
diff --git a/src/game/Makefile b/src/game/Makefile
index f8ac07f..21828db 100755
--- a/src/game/Makefile
+++ b/src/game/Makefile
@@ -33,8 +33,8 @@ SDLCONF_L := $(shell ${SDL_CONF} --libs)
 # the compiler options
 
 CC      := gcc
-INC     := -I. -I.. -I../enet/include ${SDLCONF_I} -I./extensions -I./file_formats -I./platform
-LDFLAGS := ${SDLCONF_L} -L../enet/lib -lSDL_ttf -lSDL_mixer -lGL -lGLU -lSDL_image -lphysfs -lenet
+INC     := -I. -I.. ${SDLCONF_I} -I./extensions -I./file_formats -I./platform
+LDFLAGS := ${SDLCONF_L} -lSDL_ttf -lSDL_mixer -lGL -lGLU -lSDL_image -lphysfs -lenet
 
 # use different options if the environmental variable PREFIX is defined
 ifdef ($(PREFIX),"")
@@ -43,7 +43,7 @@ else
 	OPT := -Os -Wall -DPREFIX=\"${PREFIX}\" -D_NIX_PREFIX
 endif
 
-CFLAGS  := ${OPT} ${INC}
+CFLAGS  := ${OPT} -DENET11 ${INC}
 
 #------------------------------------
 # definitions of the target projects
diff --git a/src/game/Makefile.lua b/src/game/Makefile.lua
index 537c788..01ae58d 100755
--- a/src/game/Makefile.lua
+++ b/src/game/Makefile.lua
@@ -24,7 +24,7 @@ SDLCONF_L := $(shell ${SDL_CONF} --libs)
 
 CC      := gcc
 OPT     := -Os -Wall -DPREFIX=\"${PREFIX}\"
-INC     := -I. -I.. -I../enet/include -I/usr/include/lua5.1 ${SDLCONF_I} -I./extensions -I./file_formats -I./platform
+INC     := -I. -I.. -I/usr/include/lua5.1 ${SDLCONF_I} -I./extensions -I./file_formats -I./platform
 CFLAGS  := ${OPT} ${INC} -DUSE_LUA_CONSOLE
 LDFLAGS := ${SDLCONF_L} -lSDL_ttf -lSDL_mixer -lGL -lGLU -lSDL_image -lphysfs -llua5.1
 
diff --git a/src/game/network.c b/src/game/network.c
index 9d48114..33e3d37 100755
--- a/src/game/network.c
+++ b/src/game/network.c
@@ -1845,7 +1845,7 @@ int cl_joinGame( const char* hostname )
         log_info( "cl_joinGame: Creating client network connection... " );
         // Create my host thingamabober
         /// @todo Should I limit client bandwidth here?
-        net_myHost = enet_host_create( NULL, 1, 0, 0 );
+        net_myHost = enet_host_create( NULL, 1, 2, 0, 0 );
         if ( NULL == net_myHost )
         {
             // can't create a network connection at all
@@ -1861,7 +1861,7 @@ int cl_joinGame( const char* hostname )
         log_info( "cl_joinGame: Attempting to connect to %s:%d\n", hostname, NET_EGOBOO_PORT );
         enet_address_set_host( &address, hostname );
         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 )
         {
             log_info( "cl_joinGame: No available peers to create a connection!\n" );
@@ -1904,7 +1904,7 @@ int sv_hostGame()
         address.port = NET_EGOBOO_PORT;
 
         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, 2, 0, 0 );
         if ( NULL == net_myHost )
         {
             log_info( "sv_hostGame: Could not create network connection!\n" );
@@ -2180,4 +2180,4 @@ player_t* chr_get_ppla( const CHR_REF ichr )
     if ( !VALID_PLA( iplayer ) ) return NULL;
 
     return PlaStack.lst + iplayer;
-}
\ No newline at end of file
+}
-- 
1.7.9.1


--- End Message ---
--- Begin Message ---
Version: 1:2.8.1-1+rm

Dear submitter,

as the package egoboo has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see http://bugs.debian.org/707930

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Luca Falavigna (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to