Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 730068
Collapse All | Expand All

(-)pptpd-1.4.0.orig/Makefile.am (-1 / +1 lines)
Lines 11-17 Link Here
11
##  warning with -Wmissing-prototypes).
11
##  warning with -Wmissing-prototypes).
12
## -Wmissing-prototypes removed (eg, Linux 2.2.6 headers
12
## -Wmissing-prototypes removed (eg, Linux 2.2.6 headers
13
##  aren't up to it).
13
##  aren't up to it).
14
CFLAGS += -fno-builtin -Wall -DSBINDIR='"$(sbindir)"'
14
CFLAGS += -fno-builtin -Wall -DSBINDIR='"$(sbindir)"' -DLIBDIR='"$(libdir)"'
15
#CFLAGS = -O2 -fno-builtin -Wall -ansi -DSBINDIR='"$(sbindir)"'
15
#CFLAGS = -O2 -fno-builtin -Wall -ansi -DSBINDIR='"$(sbindir)"'
16
#CFLAGS = -O2 -fno-builtin -Wall -ansi -pedantic -Wmissing-prototypes -Werror -DSBINDIR='"$(sbindir)"'
16
#CFLAGS = -O2 -fno-builtin -Wall -ansi -pedantic -Wmissing-prototypes -Werror -DSBINDIR='"$(sbindir)"'
17
17
(-)pptpd-1.4.0.orig/pptpctrl.c (-1 / +1 lines)
Lines 786-792 Link Here
786
786
787
        if (pptp_logwtmp) {
787
        if (pptp_logwtmp) {
788
                 pppd_argv[an++] = "plugin";
788
                 pppd_argv[an++] = "plugin";
789
                 pppd_argv[an++] = "/usr/lib/pptpd/pptpd-logwtmp.so";
789
                 pppd_argv[an++] = LIBDIR "/pptpd/pptpd-logwtmp.so";
790
                 pppd_argv[an++] = "pptpd-original-ip";
790
                 pppd_argv[an++] = "pptpd-original-ip";
791
                 pppd_argv[an++] = inet_ntoa(inetaddrs[1]);
791
                 pppd_argv[an++] = inet_ntoa(inetaddrs[1]);
792
        }
792
        }

Return to bug 730068