Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 157387 Details for
Bug 227923
dev-util/pretrace-0.4 fails to build with glibc 2.8 (ARG_MAX undefined)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix to include limits.h
gcc-4.3.patch (text/plain), 837 bytes, created by
Bandan
on 2008-06-18 05:43:35 UTC
(
hide
)
Description:
Fix to include limits.h
Filename:
MIME Type:
Creator:
Bandan
Created:
2008-06-18 05:43:35 UTC
Size:
837 bytes
patch
obsolete
>diff -Nru libpretrace-0.4.orig/libpretrace.c libpretrace-0.4/libpretrace.c >--- libpretrace-0.4.orig/libpretrace.c 2008-06-18 01:24:17.000000000 -0400 >+++ libpretrace-0.4/libpretrace.c 2008-06-18 01:25:11.000000000 -0400 >@@ -9,7 +9,7 @@ > #include <stdio.h> > #include <unistd.h> > #include <errno.h> >-#include <limits.h> >+#include <linux/limits.h> > #include <fcntl.h> > #include <string.h> > #include <libgen.h> >diff -Nru libpretrace-0.4.orig/ptgenmap.c libpretrace-0.4/ptgenmap.c >--- libpretrace-0.4.orig/ptgenmap.c 2008-06-18 01:24:17.000000000 -0400 >+++ libpretrace-0.4/ptgenmap.c 2008-06-18 01:38:50.000000000 -0400 >@@ -1,8 +1,12 @@ > #include <stdio.h> >-#include <limits.h> >+#include <linux/limits.h> > #include <string.h> > #include <stdlib.h> > >+#ifndef LINE_MAX >+#include <limits.h> >+#endif >+ > #include "pretrace.h" > #include "trie.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 227923
:
157387
|
157451