mirror of
https://git.freebsd.org/ports.git
synced 2025-06-22 21:20:31 -04:00
Valgrind did not handle the following sysarch calls, and thus crashed immediately o get_fsbase o set_fsbase o get_gsbase o set_fsbase - Valgrind no longer dumps core when its client application does. [2] Valgrind-snapshot does contain for safing the client's core dump, but it does not work (it resulted in a crash) and has therefore been disabled. - Fix crash with valgrind-snapshot when the application to debug does not exists or cannot be accessed. - Fix symlink farms for threading libraries. FreeBSD 4-7 are handled. [2] - Bump PORTREVISION Reported by: Ulrich Spoerlein <q@galgenberg.net> [1], Chris Gilbert <Chris@lainos.org> [2] PR: ports/86007 [1]
51 lines
1.5 KiB
Text
51 lines
1.5 KiB
Text
--- coregrind/Makefile.am.orig Sun May 9 13:00:57 2004
|
|
+++ coregrind/Makefile.am Tue Sep 20 00:04:17 2005
|
|
@@ -172,11 +172,23 @@
|
|
vg_unsafe.h
|
|
|
|
if !IS_LINUX
|
|
+if IS_FREEBSD5
|
|
MANUAL_DEPS_EXTRA = $(inplacedir)/libc_r.so.5 \
|
|
$(inplacedir)/libkse.so.1 \
|
|
$(inplacedir)/libthr.so.1 \
|
|
$(inplacedir)/libpthread.so.1
|
|
endif
|
|
+if IS_FREEBSD6
|
|
+MANUAL_DEPS_EXTRA = $(inplacedir)/libc_r.so.6 \
|
|
+ $(inplacedir)/libthr.so.2 \
|
|
+ $(inplacedir)/libpthread.so.2
|
|
+endif
|
|
+if IS_FREEBSD7
|
|
+MANUAL_DEPS_EXTRA = $(inplacedir)/libc_r.so.6 \
|
|
+ $(inplacedir)/libthr.so.2 \
|
|
+ $(inplacedir)/libpthread.so.2
|
|
+endif
|
|
+endif
|
|
|
|
MANUAL_DEPS = $(noinst_HEADERS) $(include_HEADERS) $(inplacedir)/libpthread.so.0 ${MANUAL_DEPS_EXTRA}
|
|
|
|
@@ -190,9 +202,23 @@
|
|
ln -sf $(top_builddir)/$(subdir)/$$i $$to; \
|
|
done
|
|
if !IS_LINUX
|
|
- ln -sf libpthread.so.0 $(inplacedir)/libc_r.so.5
|
|
+if IS_FREEBSD4
|
|
ln -sf libpthread.so.0 $(inplacedir)/libc_r.so.4
|
|
+endif
|
|
+if IS_FREEBSD5
|
|
+ ln -sf libpthread.so.0 $(inplacedir)/libc_r.so.5
|
|
ln -sf libpthread.so.0 $(inplacedir)/libkse.so.1
|
|
ln -sf libpthread.so.0 $(inplacedir)/libthr.so.1
|
|
ln -sf libpthread.so.0 $(inplacedir)/libpthread.so.1
|
|
+endif
|
|
+if IS_FREEBSD6
|
|
+ ln -sf libpthread.so.0 $(inplacedir)/libc_r.so.6
|
|
+ ln -sf libpthread.so.0 $(inplacedir)/libthr.so.2
|
|
+ ln -sf libpthread.so.0 $(inplacedir)/libpthread.so.2
|
|
+endif
|
|
+if IS_FREEBSD7
|
|
+ ln -sf libpthread.so.0 $(inplacedir)/libc_r.so.6
|
|
+ ln -sf libpthread.so.0 $(inplacedir)/libthr.so.2
|
|
+ ln -sf libpthread.so.0 $(inplacedir)/libpthread.so.2
|
|
+endif
|
|
endif
|