1 diff -urN ser-0.9.0.old/Makefile.defs ser-0.9.0/Makefile.defs
2 --- ser-0.9.0.old/Makefile.defs 2004-12-16 18:50:40.000000000 +0100
3 +++ ser-0.9.0/Makefile.defs 2005-03-25 15:24:03.000000000 +0100
7 # on solaris add -lxnet (e.g. LIBS= -lxnet)
8 -LIBS= -lfl -ldl -lresolv
15 OLD_SOLARIS= $(shell echo "$(OSREL)" | \
16 sed -e 's/^5\.[0-6][^0-9]*$$/yes/' )
17 - LIBS+= -L/usr/local/lib -lfl -lxnet -lnsl
18 + LIBS+= -L/usr/local/lib -lxnet -lnsl
19 ifeq ($(OLD_SOLARIS), yes)
23 ifneq ($(found_lock_method), yes)
24 DEFS+= -DUSE_PTHREAD_MUTEX # try pthread sems
26 - LIBS= -pthread -lfl #dlopen is in libc
27 + LIBS= -pthread #dlopen is in libc
29 - LIBS= -lfl #dlopen is in libc
30 + LIBS= #dlopen is in libc
35 # (symbols on openbsd are prefixed by "_")
37 # no sched_yield on openbsd unless linking with c_r (not recommended)
40 OPENBSD_IS_AOUT= $(shell echo "$(OSREL)" | \
41 sed -e 's/^3\.[0-3][^0-9]*$$/yes/' |sed -e 's/^[0-2]\..*/yes/')
42 # exception: on sparc openbsd 3.2 is elf and not aout
51 # OS X support, same as freebsd
53 ifneq ($(found_lock_method), yes)
54 DEFS+= -DUSE_PTHREAD_MUTEX # try pthread sems
56 - LIBS= -pthread -lfl -lresolv #dlopen is in libc
57 + LIBS= -pthread -lresolv #dlopen is in libc
59 - LIBS= -lfl -lresolv #dlopen is in libc
60 + LIBS= -lresolv #dlopen is in libc
62 LDFLAGS= # darwin doesn't like -O2 or -E
63 MOD_LDFLAGS= -bundle -bundle_loader ../../$(MAIN_NAME)
64 diff -urN ser-0.9.0.old/cfg.lex ser-0.9.0/cfg.lex
65 --- ser-0.9.0.old/cfg.lex 2004-11-30 17:28:23.000000000 +0100
66 +++ ser-0.9.0/cfg.lex 2005-03-25 15:27:49.000000000 +0100
68 static char* addstr(struct str_buf *, char*, int);