void-packages/srcpkgs/valgrind/patches/glibc-2.13.patch

32 lines
1.0 KiB
Diff

--- config.h.in.orig 2010-10-21 06:20:49.000000000 +1000
+++ config.h.in 2011-01-19 10:31:18.476673930 +1000
@@ -33,6 +33,9 @@
/* Define to 1 if you're using glibc 2.12.x */
#undef GLIBC_2_12
+/* Define to 1 if you're using glibc 2.13.x */
+#undef GLIBC_2_13
+
/* Define to 1 if you're using glibc 2.2.x */
#undef GLIBC_2_2
--- configure.orig 2010-10-21 11:16:18.000000000 +1000
+++ configure 2011-01-19 10:32:20.346673926 +1000
@@ -6367,6 +6367,16 @@
DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
;;
+ 2.13)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.13 family" >&5
+$as_echo "2.13 family" >&6; }
+
+$as_echo "#define GLIBC_2_13 1" >>confdefs.h
+
+ DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}"
+ DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
+ DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
+ ;;
aix5)
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: AIX 5.1 or 5.2 or 5.3" >&5
$as_echo "AIX 5.1 or 5.2 or 5.3" >&6; }