Hi James, reactos has now officially 2 fedora 13 users ;)
Since noone notified until today, not even the unix buildbot, Im building reactos using the same kind of fix since months. Feel free to commit.
Kind regards, Sylvain Petreolle
----- Message d'origine ----
De : James Tabor jimtabor.rosdev@gmail.com À : ReactOS Development List ros-dev@reactos.org Envoyé le : Mar 27 juillet 2010, 5h 48min 54s Objet : [ros-dev] Fedora 13 Build Error
I ran into this on Fedora 13,
[HOST-CC] tools/cabman/cabinet.cxx tools/cabman/cabinet.cxx: In member function ‘bool CCabinet::CreateSimpleCabinet()’: tools/cabman/cabinet.cxx:2177: error: no matching function for call to ‘stat::stat(char [260], stat*)’ /usr/include/bits/stat.h:40: note: candidates are: stat::stat() /usr/include/bits/stat.h:40: note: stat::stat(const stat&)
from http://code.google.com/p/libproxy/issues/detail?id=122 the patch is based on this;
http://code.google.com/p/libproxy/issues/attachmentText?id=122&aid=20023...
Index: tools/cabman/cabinet.cxx
--- - tools/cabman/cabinet.cxx (revision 48297) +++ tools/cabman/cabinet.cxx (working copy) @@ -21,7 +21,8 @@ #if !defined(WIN32) # include <dirent.h> #endif -#if defined(__FreeBSD__) || defined(__APPLE__) +#if !defined(WIN32) || defined(__FreeBSD__) || defined(__APPLE__) +# include <sys/types.h> # include <sys/stat.h> #endif // __FreeBSD__ #include "cabinet.h"
Not sure this is right, so~ posted here for fast review and fix, James
Ros-dev mailing list Ros-dev@reactos.org http://www.reactos.org/mailman/listinfo/ros-dev