diff options
author | sem <sem@FreeBSD.org> | 2007-04-02 21:50:21 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2007-04-02 21:50:21 +0800 |
commit | 300c85ca7fc18b8c883fa67a80c4db718e221da8 (patch) | |
tree | daa93ba82a858d3903e58c8685a7183d299125ee /devel | |
parent | 38b35dfd87ba5101ddd02b17856253b5bc557fc7 (diff) | |
download | freebsd-ports-gnome-300c85ca7fc18b8c883fa67a80c4db718e221da8.tar.gz freebsd-ports-gnome-300c85ca7fc18b8c883fa67a80c4db718e221da8.tar.zst freebsd-ports-gnome-300c85ca7fc18b8c883fa67a80c4db718e221da8.zip |
- Fix build with gcc 4.1
Submitted by: maintainer
Diffstat (limited to 'devel')
-rw-r--r-- | devel/libpdel/files/patch-ppp_auth_radius.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/libpdel/files/patch-ppp_auth_radius.c b/devel/libpdel/files/patch-ppp_auth_radius.c index 982007326c13..2d32809afa46 100644 --- a/devel/libpdel/files/patch-ppp_auth_radius.c +++ b/devel/libpdel/files/patch-ppp_auth_radius.c @@ -9,3 +9,14 @@ #include <poll.h> #include <radlib.h> #include <radlib_vs.h> +--- ppp/ppp_auth_radius.c.orig Sun Apr 1 23:13:10 2007 ++++ ppp/ppp_auth_radius.c Sun Apr 1 23:16:01 2007 +@@ -462,7 +462,7 @@ + + /* Compensate for broken servers that leave out the ID byte */ + if (len > 0 && (len < 3 || ((const char *)data)[1] != '=')) { +- ((const char *)data)++; ++ data = (const char *)data + 1; + len--; + } + |