diff options
author | Martin Banky <martin.banky@gmail.com> | 2010-12-12 22:54:05 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-12-14 01:35:41 +0100 |
commit | 767dce8cee8b295ce91bc0ac1d71287eef4be08a (patch) | |
tree | b416a4339657c5e6091122d34bc506af4870cbc2 /package/xl2tp/xl2tp-1.2.7-legacy.patch | |
parent | fc13fc7b57844429e09bd49d84f86b54971fc487 (diff) | |
download | buildroot-novena-767dce8cee8b295ce91bc0ac1d71287eef4be08a.tar.gz buildroot-novena-767dce8cee8b295ce91bc0ac1d71287eef4be08a.zip |
l2tp: convert to gentargets and change to xl2tp
l2tp is no longer being developed, and xl2tpd is forked from l2tpd and is
maintained by Xelerance Corporation.
[Peter: remove invalid pppd dependency]
Signed-off-by: Martin Banky <Martin.Banky@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/xl2tp/xl2tp-1.2.7-legacy.patch')
-rw-r--r-- | package/xl2tp/xl2tp-1.2.7-legacy.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/package/xl2tp/xl2tp-1.2.7-legacy.patch b/package/xl2tp/xl2tp-1.2.7-legacy.patch new file mode 100644 index 000000000..5279fd707 --- /dev/null +++ b/package/xl2tp/xl2tp-1.2.7-legacy.patch @@ -0,0 +1,17 @@ +Replace SUSV3-specific functions index, bcopy, bzero and bcmp by their +POSIX variants. + +--- l2tpd-0.70-pre20031121.oorig/osport.h 2004-07-08 22:47:52.000000000 +0200 ++++ l2tpd-0.70-pre20031121/osport.h 2006-12-28 15:32:50.000000000 +0100 +@@ -37,4 +37,11 @@ + + #endif /* defined(SOLARIS) */ + ++#if defined __UCLIBC__ && !defined UCLIBC_SUSV3_LEGACY_MACROS ++# define index(x, y) strchr(x, y) ++# define bcopy(S1, S2, LEN) ((void)memmove(S2, S1, LEN)) ++# define bzero(S1, LEN) ((void)memset(S1, 0, LEN)) ++# define bcmp(S1,S2,LEN) ((memcmp(S2, S1, LEN)==0)?0:1) ++#endif /* defined __UCLIBC__ && !defined UCLIBC_SUSV3_LEGACY_MACROS */ ++ + #endif /* _OSPORT_H_ */ |