diff options
author | 2013-10-25 11:23:14 +0000 | |
---|---|---|
committer | 2013-10-25 11:23:14 +0000 | |
commit | f0bc0c8cea70fdbd93b0b2d3fdf71d19acd40c65 (patch) | |
tree | b4c92fcbf790bbd404249e69c237eef3652fbd18 /net-dialup/pptpd/files | |
parent | x86 stable wrt bug #487892 (diff) | |
download | historical-f0bc0c8cea70fdbd93b0b2d3fdf71d19acd40c65.tar.gz historical-f0bc0c8cea70fdbd93b0b2d3fdf71d19acd40c65.tar.bz2 historical-f0bc0c8cea70fdbd93b0b2d3fdf71d19acd40c65.zip |
Revision bump: fix compatibility with gcc 4.7, wrt bug #462108. Drop old revision
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Manifest-Sign-Key: 0x1F357D42
Diffstat (limited to 'net-dialup/pptpd/files')
-rw-r--r-- | net-dialup/pptpd/files/pptpd-1.3.4-gcc-4.7.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/net-dialup/pptpd/files/pptpd-1.3.4-gcc-4.7.patch b/net-dialup/pptpd/files/pptpd-1.3.4-gcc-4.7.patch new file mode 100644 index 000000000000..46bd3c6c4d8d --- /dev/null +++ b/net-dialup/pptpd/files/pptpd-1.3.4-gcc-4.7.patch @@ -0,0 +1,12 @@ +--- pptpctrl.c.orig 2013-10-25 15:10:53.632625057 +0400 ++++ pptpctrl.c 2013-10-25 15:11:12.175626673 +0400 +@@ -759,8 +759,8 @@ + syslog(LOG_DEBUG, "CTRL (PPPD Launcher): remote address = %s", pppaddrs[1]); + } + ++ char pppInterfaceIPs[33]; + if (*pppaddrs[0] || *pppaddrs[1]) { +- char pppInterfaceIPs[33]; + sprintf(pppInterfaceIPs, "%s:%s", pppaddrs[0], pppaddrs[1]); + pppd_argv[an++] = pppInterfaceIPs; + } |