summaryrefslogtreecommitdiff
path: root/network/pptpd/pptpd.SlackBuild
diff options
context:
space:
mode:
authorSwaz <swaznz@gmail.com>2012-09-13 23:55:39 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-09-14 16:40:34 -0500
commit51d4ea72f75ca803b3b6a519f279a87435c30ffa (patch)
tree1494547552f13a517081924d548a6661d4297821 /network/pptpd/pptpd.SlackBuild
parent5344a7a8d1844a7fda6774cc91e420eb1f38c83d (diff)
downloadslackbuilds-51d4ea72f75ca803b3b6a519f279a87435c30ffa.tar.gz
network/pptpd: Fixed invalid declaration of pppInterfaceIPs
> Hi, have been testing pptpd on slackware 14.0RC4 using your > slackbuild, and found there was a corruption in arguments > being passed to pppd. > > had spent a lot of time searching for a fix, but found none. > many others had mentioned the problem, but not a fix. > > the attached patch fixed the issue (have posted to the poptop > mailing list) > > seems to be a compiler issue around the declaration of > char pppInterfaceIPs[33]; > inside the if { } no longer being valid outside of the statement. > and hence being corrupted when referred to when pppd is invoked. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/pptpd/pptpd.SlackBuild')
-rw-r--r--network/pptpd/pptpd.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/network/pptpd/pptpd.SlackBuild b/network/pptpd/pptpd.SlackBuild
index 0e4d657fb5..2e2359aeba 100644
--- a/network/pptpd/pptpd.SlackBuild
+++ b/network/pptpd/pptpd.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=pptpd
VERSION=${VERSION:-1.3.4}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -79,6 +79,9 @@ patch -p1 < $CWD/fix_plugins_patchlevel_h.diff
# Fix hardcoded /usr/lib/pptpd/ in pptpctrl.c if ARCH=x86_64
[ "$ARCH" = "x86_64" ] && patch -p1 < $CWD/fix_pptpctrl_c_for_x86_64.diff
+# Thanks to Swaz for the patch to fix an invalid declaration of pppInterfaceIPs
+patch -p1 < $CWD/pptpctl_fix.patch
+
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \