summaryrefslogtreecommitdiff
path: root/libraries/wvstreams/wvstreams-4.6.1-glibc212.patch
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2010-12-27 22:06:42 -0600
committerRobby Workman <rworkman@slackbuilds.org>2010-12-29 01:08:49 -0600
commit051ada24554b5ade4cece3c88fa61718a47e726a (patch)
treeadccf9f796edcd030de1cb9339c82949dfa25061 /libraries/wvstreams/wvstreams-4.6.1-glibc212.patch
parent48934c2eac31ecf24bdb36ce237a39ac67bc0291 (diff)
downloadslackbuilds-051ada24554b5ade4cece3c88fa61718a47e726a.tar.gz
libraries/wvstreams: Updated for version 4.6.1.
This update includes a patch to build against glibc-2.12.x. I actually did this update, but I shot it over to vbatts for a lookie before going any further with it... That said, blame me if there are problems... :-) Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/wvstreams/wvstreams-4.6.1-glibc212.patch')
-rw-r--r--libraries/wvstreams/wvstreams-4.6.1-glibc212.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/libraries/wvstreams/wvstreams-4.6.1-glibc212.patch b/libraries/wvstreams/wvstreams-4.6.1-glibc212.patch
new file mode 100644
index 0000000000..473d3e8329
--- /dev/null
+++ b/libraries/wvstreams/wvstreams-4.6.1-glibc212.patch
@@ -0,0 +1,23 @@
+http://bugs.gentoo.org/333301
+
+--- ipstreams/wvunixdgsocket.cc
++++ ipstreams/wvunixdgsocket.cc
+@@ -1,5 +1,5 @@
+ #include "wvunixdgsocket.h"
+-#ifdef MACOS
++#if defined(MACOS) || defined(__GNUC__)
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #endif
+--- streams/wvatomicfile.cc
++++ streams/wvatomicfile.cc
+@@ -11,7 +11,8 @@
+ #include "wvfileutils.h"
+ #include "wvstrutils.h"
+
+-#ifdef MACOS
++#if defined(MACOS) || defined(__GNUC__)
++#include <sys/types.h>
+ #include <sys/stat.h>
+ #endif
+