Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 156769 Details for
Bug 226655
net-firewall/conntrack-tools-0.9.7 compile fails with PATH_MAX undeclared
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
New patch with INT_MAX support
patch-1 (text/plain), 937 bytes, created by
Bandan
on 2008-06-14 18:51:10 UTC
(
hide
)
Description:
New patch with INT_MAX support
Filename:
MIME Type:
Creator:
Bandan
Created:
2008-06-14 18:51:10 UTC
Size:
937 bytes
patch
obsolete
>diff -Naur conntrack-tools-0.9.7.orig/src/ignore_pool.c conntrack-tools-0.9.7/src/ignore_pool.c >--- conntrack-tools-0.9.7.orig/src/ignore_pool.c 2008-06-14 11:51:06.000000000 -0400 >+++ conntrack-tools-0.9.7/src/ignore_pool.c 2008-06-14 14:43:26.000000000 -0400 >@@ -26,6 +26,11 @@ > #include <stdlib.h> > #include <string.h> > >+/*older glibc shouldn't be needing it*/ >+#ifndef INT_MAX >+#include <linux/limits.h> >+#endif >+ > /* XXX: These should be configurable, better use a rb-tree */ > #define IGNORE_POOL_SIZE 128 > #define IGNORE_POOL_LIMIT INT_MAX >diff -Naur conntrack-tools-0.9.7.orig/src/main.c conntrack-tools-0.9.7/src/main.c >--- conntrack-tools-0.9.7.orig/src/main.c 2008-06-14 11:51:06.000000000 -0400 >+++ conntrack-tools-0.9.7/src/main.c 2008-06-14 11:54:46.000000000 -0400 >@@ -19,6 +19,7 @@ > #include "conntrackd.h" > #include "log.h" > >+#include <linux/limits.h> > #include <sys/types.h> > #include <sys/stat.h> > #include <fcntl.h>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 226655
:
156757
| 156769