Magellan Linux

Contents of /trunk/libmsn/patches/libmsn-4.2.1-unistd.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2741 - (show annotations) (download)
Tue Dec 15 15:04:04 2015 UTC (8 years, 5 months ago) by niro
File size: 541 byte(s)
- >=gcc-4.7 ftbfs
1 Patch by Robert Scheck <robert@fedoraproject.org> for libmsn >= 4.2.1, that
2 adds the missing include "unistd.h" for unlink(). Without that patch, any
3 rebuild of libmsn using GCC 4.7 is going to fail, like it is doing already
4 on Fedora 17+.
5
6 --- libmsn-4.2.1/msn/util.cpp 2009-07-22 21:57:10.000000000 +0200
7 +++ libmsn-4.2.1/msn/util.cpp.unistd 2012-01-15 20:44:17.000000000 +0100
8 @@ -30,6 +30,7 @@
9 #include <openssl/rand.h>
10 #include <cstring>
11 #include <sys/timeb.h>
12 +#include <unistd.h>
13 #include "md5.h"
14 #include "libsiren/siren7.h"
15