diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-01-31 21:22:33 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-01-31 21:22:33 +0000 |
commit | 9e453fb42d369968b461abc7d7d1b05199a48de7 (patch) | |
tree | a334aee1cdb588e2bf2dda6999d1c5c0ede857cf /package/l2tp/l2tp-legacy.patch | |
parent | f0be91fd176ab4816eb1219f1f392b3b3edb0665 (diff) | |
download | buildroot-novena-9e453fb42d369968b461abc7d7d1b05199a48de7.tar.gz buildroot-novena-9e453fb42d369968b461abc7d7d1b05199a48de7.zip |
- add a layer 2 tunneling protocol package
Diffstat (limited to 'package/l2tp/l2tp-legacy.patch')
-rw-r--r-- | package/l2tp/l2tp-legacy.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/l2tp/l2tp-legacy.patch b/package/l2tp/l2tp-legacy.patch new file mode 100644 index 000000000..39506d881 --- /dev/null +++ b/package/l2tp/l2tp-legacy.patch @@ -0,0 +1,14 @@ +--- 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_ */ |