View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001031 | SOGo | SOPE | public | 2010-12-03 07:59 | 2011-03-30 18:22 |
Reporter | buzzdee | Assigned To | ludovic | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 1.3.4 | ||||
Fixed in Version | 1.3.6 | ||||
Summary | 0001031: fix compilation warnings in SOPE due to missing header files | ||||
Description | Without attached patch, I get warnings like the one below when compiling SOPE. This is due to missing include of system headers. When including arpa/inet.h then netinet/in.h should be included before. cc NSArray+enumerator.m -c \ | ||||
Additional Information | I don't know whether those warnings also appear on Linux. If wanted, I could also update the patches to surround the inclusion of netinet/in.h with a #defined OpenBSD. At least what I know is that the header file exists on Linux. | ||||
Tags | No tags attached. | ||||
2010-12-03 07:59
|
patch-include-netinet-in.h.diff (571 bytes)
--- sope-core/NGStreams/common.h.orig Mon Nov 29 18:21:07 2010 +++ sope-core/NGStreams/common.h Mon Nov 29 18:21:32 2010 @@ -106,6 +106,7 @@ #endif #if !defined(WIN32) || defined(__CYGWIN32__) +# include <netinet/in.h> # include <arpa/inet.h> # include <sys/un.h> #endif --- sope-core/NGExtensions/common.h.orig Mon Nov 29 18:20:14 2010 +++ sope-core/NGExtensions/common.h Mon Nov 29 18:20:50 2010 @@ -32,6 +32,7 @@ #elif defined(NeXT) || NeXT_Foundation_LIBRARY # include <netinet/in.h> #else +# include <netinet/in.h> # include <arpa/inet.h> #endif |
Fixed in 01aca3f61dbe0541db88ea9497a114cb2e10f039. Thanks! |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2010-12-03 07:59 | buzzdee | New Issue | |
2010-12-03 07:59 | buzzdee | File Added: patch-include-netinet-in.h.diff | |
2011-02-15 22:02 | ludovic | Status | new => assigned |
2011-02-15 22:02 | ludovic | Assigned To | => ludovic |
2011-03-30 18:22 |
|
Note Added: 0002317 | |
2011-03-30 18:22 |
|
Status | assigned => resolved |
2011-03-30 18:22 |
|
Fixed in Version | => 1.3.6 |
2011-03-30 18:22 |
|
Resolution | open => fixed |