diff options
author | ponce | 2012-08-09 21:21:54 +0200 |
---|---|---|
committer | Robby Workman | 2012-08-22 03:08:25 +0200 |
commit | 8ad56b83a029c130bef5fae2a05345dce47c5b55 (patch) | |
tree | 1a99bee37aea99c529d6bdcb422eaa279cb0a2d0 /libraries/wvstreams/patches/05_gcc.diff | |
parent | ee8df823970ffd5754563af3fdb9898f2ad73649 (diff) | |
download | slackbuilds-8ad56b83a029c130bef5fae2a05345dce47c5b55.tar.gz |
libraries/wvstreams: Various build fixes
Added a patch for parallel builds, two more to fix building on
14.0, and some compiler flags needed for the new gcc-4.7.x.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/wvstreams/patches/05_gcc.diff')
-rw-r--r-- | libraries/wvstreams/patches/05_gcc.diff | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/libraries/wvstreams/patches/05_gcc.diff b/libraries/wvstreams/patches/05_gcc.diff new file mode 100644 index 0000000000..8e4fd03298 --- /dev/null +++ b/libraries/wvstreams/patches/05_gcc.diff @@ -0,0 +1,41 @@ +Index: wvstreams-4.6.1/crypto/wvx509.cc +=================================================================== +--- wvstreams-4.6.1.orig/crypto/wvx509.cc 2011-05-20 00:02:38.119136584 +0200 ++++ wvstreams-4.6.1/crypto/wvx509.cc 2011-05-20 00:02:26.035136589 +0200 +@@ -1157,7 +1157,7 @@ + + if (ext) + { +- X509V3_EXT_METHOD *method = X509V3_EXT_get(ext); ++ X509V3_EXT_METHOD *method = (X509V3_EXT_METHOD *)X509V3_EXT_get(ext); + if (!method) + { + WvDynBuf buf; +Index: wvstreams-4.6.1/ipstreams/wvunixdgsocket.cc +=================================================================== +--- wvstreams-4.6.1.orig/ipstreams/wvunixdgsocket.cc 2011-05-20 00:02:38.391136584 +0200 ++++ wvstreams-4.6.1/ipstreams/wvunixdgsocket.cc 2011-05-20 00:02:35.283136585 +0200 +@@ -1,8 +1,6 @@ + #include "wvunixdgsocket.h" +-#ifdef MACOS + #include <sys/types.h> + #include <sys/stat.h> +-#endif + + WvUnixDGSocket::WvUnixDGSocket(WvStringParm filename, bool _server, int perms) + : socketfile(filename) +Index: wvstreams-4.6.1/streams/wvatomicfile.cc +=================================================================== +--- wvstreams-4.6.1.orig/streams/wvatomicfile.cc 2011-05-20 00:02:38.223136584 +0200 ++++ wvstreams-4.6.1/streams/wvatomicfile.cc 2011-05-20 00:02:31.619136587 +0200 +@@ -10,10 +10,7 @@ + #include "wvatomicfile.h" + #include "wvfileutils.h" + #include "wvstrutils.h" +- +-#ifdef MACOS + #include <sys/stat.h> +-#endif + + WvAtomicFile::WvAtomicFile(WvStringParm filename, int flags, mode_t create_mode) + : tmp_file(WvString::null) |