blob: 1ebbda77c0782b272adb0d4e6f45fc33d1bac56f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
--- telnetd/Makefile.orig 2004-09-29 22:16:50.175839840 -0500
+++ telnetd/Makefile 2004-09-29 22:09:30.439689896 -0500
@@ -10,7 +10,7 @@
CFLAGS += '-DISSUE_FILE="/etc/issue.net"' -DPARANOID_TTYS \
-DNO_REVOKE -DKLUDGELINEMODE -DDIAGNOSTICS \
- -DLOGIN_WRAPPER=\"/usr/lib/telnetlogin\"
+ -DLOGIN_WRAPPER=\"/usr/sbin/telnetlogin\" -D_GNU_SOURCE
# LIBS += $(LIBTERMCAP)
OBJS = telnetd.o state.o termstat.o slc.o sys_term.o utility.o \
--- telnet/Makefile.orig 2004-11-01 15:23:29 -0500
+++ telnet/Makefile 2004-11-01 16:05:05 -0500
@@ -6,7 +6,7 @@
#CXXFLAGS:=$(patsubst -O2, -g, $(CXXFLAGS))
# -DAUTHENTICATE
-CXXFLAGS += -DUSE_TERMIO -DKLUDGELINEMODE
+CXXFLAGS += -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE
LIBS = $(LIBTERMCAP)
SRCS = commands.cc main.cc network.cc ring.cc sys_bsd.cc telnet.cc \
|