diff options
author | Matteo Bernardini | 2021-03-27 10:25:10 +0100 |
---|---|---|
committer | Matteo Bernardini | 2021-03-27 10:25:10 +0100 |
commit | 2fba1c878b57d3afa631b9369518be5d21221c09 (patch) | |
tree | dce412a05dfeb7fbb53d24c934a732c3b522ad0f /libraries/wvstreams/patches/08_glibc-2.12.diff | |
parent | f4c325577c3399f98410adb164155c38bb8ed86a (diff) | |
download | slackbuilds-current-20210327.1.tar.gz |
20210327.1 global branch merge.current-20210327.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/wvstreams/patches/08_glibc-2.12.diff')
-rw-r--r-- | libraries/wvstreams/patches/08_glibc-2.12.diff | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/libraries/wvstreams/patches/08_glibc-2.12.diff b/libraries/wvstreams/patches/08_glibc-2.12.diff new file mode 100644 index 0000000000..f9e1d6beaf --- /dev/null +++ b/libraries/wvstreams/patches/08_glibc-2.12.diff @@ -0,0 +1,30 @@ +Description: fix FTBFS with glibc 2.12 +Author: Luca Falavigna <dktrkranz@debian.org> +Bug: https://code.google.com/p/wvstreams/issues/detail?id=28 +Forwarded: no +Last-Update: 2013-10-30 + +--- a/ipstreams/wvunixdgsocket.cc ++++ b/ipstreams/wvunixdgsocket.cc +@@ -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) +--- a/streams/wvatomicfile.cc ++++ b/streams/wvatomicfile.cc +@@ -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) |