diff options
Diffstat (limited to 'net-libs/wvstreams/files/wvstreams-4.4.1-valgrind.patch')
-rw-r--r-- | net-libs/wvstreams/files/wvstreams-4.4.1-valgrind.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/net-libs/wvstreams/files/wvstreams-4.4.1-valgrind.patch b/net-libs/wvstreams/files/wvstreams-4.4.1-valgrind.patch new file mode 100644 index 000000000000..b6be9f7b8b43 --- /dev/null +++ b/net-libs/wvstreams/files/wvstreams-4.4.1-valgrind.patch @@ -0,0 +1,21 @@ +diff -ruN wvstreams-4.4.1/utils/wvtask.cc wvstreams-4.4.1.patched/utils/wvtask.cc +--- wvstreams-4.4.1/utils/wvtask.cc 2007-07-19 23:22:55.000000000 +0200 ++++ wvstreams-4.4.1.patched/utils/wvtask.cc 2008-04-02 20:20:54.000000000 +0200 +@@ -37,12 +37,12 @@ + #include <unistd.h> + #include <sys/resource.h> + +-#ifdef HAVE_VALGRIND_MEMCHECK_H ++//#ifdef HAVE_VALGRIND_MEMCHECK_H + #include <valgrind/memcheck.h> +-#else +-#define VALGRIND_MAKE_READABLE(x, y) +-#define RUNNING_ON_VALGRIND 0 +-#endif ++//#else ++#define VALGRIND_MAKE_READABLE(x, y) ++//#define RUNNING_ON_VALGRIND 0 ++//#endif + + #define TASK_DEBUG 0 + #if TASK_DEBUG |