aboutsummaryrefslogtreecommitdiffstats
path: root/devel/valgrind-snapshot
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-12-10 07:08:41 +0800
committerpav <pav@FreeBSD.org>2004-12-10 07:08:41 +0800
commitd93d25151f5b57d50e04adc890a71a9deb5b7cc3 (patch)
treed29b363776cb7c21f9ac601990fcf2a32b8e2219 /devel/valgrind-snapshot
parent1d0390ebfa4034a7883e3dc0e21f244d22de8c70 (diff)
downloadfreebsd-ports-gnome-d93d25151f5b57d50e04adc890a71a9deb5b7cc3.tar.gz
freebsd-ports-gnome-d93d25151f5b57d50e04adc890a71a9deb5b7cc3.tar.zst
freebsd-ports-gnome-d93d25151f5b57d50e04adc890a71a9deb5b7cc3.zip
- Starting from some point after FreeBSD 5.2.1, valgrind did not terminate
correctly, but got stuck in state ``umtx''. This was mentioned on the lists and in kern/68992 [closed], but I was never able to fix the problem. On FreeBSD >= 502120, the kernel's and valgrind's definition of UMTX_CONTESTED flag were out of sync, which is why valgrind did not terminate on these systems. PR: ports/74903 Submitted by: Simon Barner <barner@gmx.de> (maintainer)
Diffstat (limited to 'devel/valgrind-snapshot')
-rw-r--r--devel/valgrind-snapshot/Makefile2
-rw-r--r--devel/valgrind-snapshot/files/patch-coregrind-vg_proxylwp.c10
2 files changed, 11 insertions, 1 deletions
diff --git a/devel/valgrind-snapshot/Makefile b/devel/valgrind-snapshot/Makefile
index 1e4240e498e1..38f0f3571857 100644
--- a/devel/valgrind-snapshot/Makefile
+++ b/devel/valgrind-snapshot/Makefile
@@ -7,7 +7,7 @@
PORTNAME= valgrind
PORTVERSION= 352
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://www.rabson.org/
PKGNAMESUFFIX= -snapshot
diff --git a/devel/valgrind-snapshot/files/patch-coregrind-vg_proxylwp.c b/devel/valgrind-snapshot/files/patch-coregrind-vg_proxylwp.c
new file mode 100644
index 000000000000..21354e263c44
--- /dev/null
+++ b/devel/valgrind-snapshot/files/patch-coregrind-vg_proxylwp.c
@@ -0,0 +1,10 @@
+--- coregrind/vg_proxylwp.c.orig Thu Dec 9 20:02:58 2004
++++ coregrind/vg_proxylwp.c Thu Dec 9 20:03:16 2004
+@@ -30,6 +30,7 @@
+
+
+ #include "vg_include.h"
++#include "vg_unsafe.h"
+
+ #ifndef UMTX_CONTESTED
+ # if __FreeBSD_version < 502120