Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 179597 Details for
Bug 254795
app-admin/logrotate-3.7.7 not compiling on FreeBSD
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Updated version of the -fbsd.patch
logrotate-3.7.7-fbsd.patch (text/plain), 983 bytes, created by
Javier Villavicencio (RETIRED)
on 2009-01-24 22:18:12 UTC
(
hide
)
Description:
Updated version of the -fbsd.patch
Filename:
MIME Type:
Creator:
Javier Villavicencio (RETIRED)
Created:
2009-01-24 22:18:12 UTC
Size:
983 bytes
patch
obsolete
>Fix compilation on Gentoo/FreeBSD, no alloca.h here and PATH_MAX >is defined elsewhere. > >See bug 254795 > >--- logrotate-3.7.7.orig/config.c >+++ logrotate-3.7.7/config.c >@@ -1,5 +1,7 @@ > #include <sys/queue.h> >+#ifndef NO_ALLOCA_H > #include <alloca.h> >+#endif /* NO_ALLOCA_H */ > #include <ctype.h> > #include <dirent.h> > #include <errno.h> >@@ -21,6 +21,9 @@ > #include <wctype.h> > #include <fnmatch.h> > >+#if !defined(PATH_MAX) && defined(__FreeBSD__) >+#include <sys/param.h> >+#endif > #include "basenames.h" > #include "log.h" > #include "logrotate.h" >--- logrotate-3.7.7.orig/logrotate.c >+++ logrotate-3.7.7/logrotate.c >@@ -1,5 +1,7 @@ > #include <sys/queue.h> >+#ifndef NO_ALLOCA_H > #include <alloca.h> >+#endif /* NO_ALLOCA_H */ > #include <ctype.h> > #include <dirent.h> > #include <errno.h> >@@ -24,6 +24,9 @@ > int selinux_enforce = 0; > #endif > >+#if !defined(PATH_MAX) && defined(__FreeBSD__) >+#include <sys/param.h> >+#endif > #include "basenames.h" > #include "log.h" > #include "logrotate.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 254795
: 179597