diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-06-05 19:58:50 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-06-05 19:58:50 +0200 |
commit | e874f84fdb6eb83d905a72b35d87398374594b97 (patch) | |
tree | 38ecc86989a194756836fa411c4bfb7c4b68913f /package/tcp_wrappers/patches/patch-fix_options_c | |
parent | 68e89ea1a3ec3690ddefbd97c45174f799847a16 (diff) |
more regressions found at runtime on alic1c
Diffstat (limited to 'package/tcp_wrappers/patches/patch-fix_options_c')
-rw-r--r-- | package/tcp_wrappers/patches/patch-fix_options_c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/package/tcp_wrappers/patches/patch-fix_options_c b/package/tcp_wrappers/patches/patch-fix_options_c new file mode 100644 index 000000000..fc987965f --- /dev/null +++ b/package/tcp_wrappers/patches/patch-fix_options_c @@ -0,0 +1,15 @@ +--- tcp_wrappers_7.6.orig/fix_options.c 1997-04-08 02:29:19.000000000 +0200 ++++ tcp_wrappers_7.6/fix_options.c 2009-06-05 18:45:03.000000000 +0200 +@@ -35,7 +35,12 @@ struct request_info *request; + #ifdef IP_OPTIONS + unsigned char optbuf[BUFFER_SIZE / 3], *cp; + char lbuf[BUFFER_SIZE], *lp; ++#if !defined(__GLIBC__) + int optsize = sizeof(optbuf), ipproto; ++#else /* __GLIBC__ */ ++ size_t optsize = sizeof(optbuf); ++ int ipproto; ++#endif /* __GLIBC__ */ + struct protoent *ip; + int fd = request->fd; + unsigned int opt; |