diff options
-rw-r--r-- | include/proto.h | 1 | ||||
-rw-r--r-- | innbbsd/Makefile | 4 | ||||
-rw-r--r-- | util/Makefile | 5 | ||||
-rw-r--r-- | util/buildAnnounce.c | 1 |
4 files changed, 5 insertions, 6 deletions
diff --git a/include/proto.h b/include/proto.h index c439b708..ae4d94a0 100644 --- a/include/proto.h +++ b/include/proto.h @@ -575,6 +575,7 @@ int j_ticket_main(void); /* term */ void init_tty(void); int term_init(void); +void telnet_parse_size(const unsigned char*); void save_cursor(void); void restore_cursor(void); void do_move(int destcol, int destline); diff --git a/innbbsd/Makefile b/innbbsd/Makefile index b5b077ec..9bb71f52 100644 --- a/innbbsd/Makefile +++ b/innbbsd/Makefile @@ -40,7 +40,7 @@ CFLAGS+= -c -I. -I$(BBS_SRC)/include -I$(BBS_SRC)/mbbsd -D$(BBS_DEP) \ $(EXTRAFLAGS) -DDBZDEBUG -DBBSHOME='"$(BBSHOME)"' \ -D_PATH_BBSHOME=\"$(BBSHOME)\" \ -DVERSION=\"$(VERSION)\" -DADMINUSER=\"$(ADMINUSER)\" -LDFLAGS+= -liconv +#LDFLAGS+= -L/usr/local/lib # #################################################### @@ -96,7 +96,7 @@ solaris: @$(MAKE) EXTRAFLAGS="-DMMAP -DSOLARIS -DSYSV" LDFLAGS="-lsocket -lnsl" YACC="bison -y" target FreeBSD: - @$(MAKE) CC=cc EXTRAFLAGS="-DBSD44 -DMMAP -DGETRUSAGE" LIBCRYPT=-lcrypt target + @$(MAKE) CC=cc EXTRAFLAGS="-DBSD44 -DMMAP -DGETRUSAGE" LDFLAGS="-lcrypt -liconv" target bsd: @$(MAKE) CC=cc EXTRAFLAGS="-DMMAP -DGETRUSAGE" target diff --git a/util/Makefile b/util/Makefile index 2fd805e3..4c5312b5 100644 --- a/util/Makefile +++ b/util/Makefile @@ -23,7 +23,7 @@ CPROG_WITH_UTIL= \ indexuser yearsold toplazyBM toplazyBBM \ reaper buildAnnounce inndBM shmctl \ outmail chkhbf checkmoney merge_dir \ - transman angel gamblegive + transman angel gamblegive checkdir # 下面這些程式, 會直接被 compile CPROG_WITHOUT_UTIL= \ @@ -38,8 +38,7 @@ PROGS= ${UTIL_OBJS} ${CPROG_WITH_UTIL} ${CPROG_WITHOUT_UTIL} \ openticket.sh stock.sh topsong.sh weather.sh \ stock.perl weather.perl toplazyBM.sh toplazyBBM.sh \ dailybackup.pl tarqueue.pl waterball.pl filtermail.pl \ - getbackup.pl udnnews.pl rebuildaloha.pl railway_wrapper.pl\ - checkdir + getbackup.pl udnnews.pl rebuildaloha.pl railway_wrapper.pl all: ${CPROG_WITH_UTIL} ${CPROG_WITHOUT_UTIL} ${PROGS} diff --git a/util/buildAnnounce.c b/util/buildAnnounce.c index 0bfbefbd..be1b4ad4 100644 --- a/util/buildAnnounce.c +++ b/util/buildAnnounce.c @@ -4,7 +4,6 @@ #define GROUPROOT BBSHOME"/man/group" extern boardheader_t *bcache; -extern void resolve_boards(); extern int numboards; int cmpboardclass(const void *a, const void *b) |