as the maintainer of TomeNET on FreeBSD I encountered a link error when trying to build tomenet 4.5.5 with the following flags:
Code: Select all
CFLAGS += -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937
LIBS += -lncurses -lcrypt -lm
Code: Select all
--- client/nclient.c.orig 2013-11-10 05:48:24.000000000 -0500
+++ client/nclient.c 2013-11-28 09:08:59.000000000 -0500
@@ -4358,7 +4358,11 @@
#endif
}
+ #ifdef USE_SOUND_2010
+ #ifdef SOUND_SDL
if (ambient_fading) ambient_handle_fading();
+ #endif
+ #endif
/* Handle chat time-stamping too - C. Blue */
if (c_cfg.time_stamp_chat) {
Frederic