aboutsummaryrefslogtreecommitdiffstats
path: root/devel/valgrind-snapshot
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2004-09-02 00:27:21 +0800
committersem <sem@FreeBSD.org>2004-09-02 00:27:21 +0800
commit6ecef773189fb907dd6e1ec07319587f94b095f5 (patch)
treec4a1e55fdb064646b4544a2ac9ee8231f00acaa3 /devel/valgrind-snapshot
parentae09c2be3d473a59cc244f91e9a29420a80406da (diff)
downloadfreebsd-ports-gnome-6ecef773189fb907dd6e1ec07319587f94b095f5.tar.gz
freebsd-ports-gnome-6ecef773189fb907dd6e1ec07319587f94b095f5.tar.zst
freebsd-ports-gnome-6ecef773189fb907dd6e1ec07319587f94b095f5.zip
Rename devel/calltree to callgrind.
Update it to 0.9.8. Update related ports. PR: ports/70936 Submitted by: maintainer
Diffstat (limited to 'devel/valgrind-snapshot')
-rw-r--r--devel/valgrind-snapshot/Makefile5
-rw-r--r--devel/valgrind-snapshot/files/patch-coregrind-vg_signals.c15
-rw-r--r--devel/valgrind-snapshot/pkg-plist1
3 files changed, 21 insertions, 0 deletions
diff --git a/devel/valgrind-snapshot/Makefile b/devel/valgrind-snapshot/Makefile
index 0bea50be3bbe..9c4a620e2f7c 100644
--- a/devel/valgrind-snapshot/Makefile
+++ b/devel/valgrind-snapshot/Makefile
@@ -7,6 +7,7 @@
PORTNAME= valgrind
PORTVERSION= 352
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.rabson.org/
PKGNAMESUFFIX= -snapshot
@@ -59,4 +60,8 @@ pre-patch:
${REINPLACE_CMD} -e "s/docs//g" {} \;
.endif
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/coregrind/vg_unistd.h \
+ ${PREFIX}/include/valgrind
+
.include <bsd.port.post.mk>
diff --git a/devel/valgrind-snapshot/files/patch-coregrind-vg_signals.c b/devel/valgrind-snapshot/files/patch-coregrind-vg_signals.c
new file mode 100644
index 000000000000..c8b593f43028
--- /dev/null
+++ b/devel/valgrind-snapshot/files/patch-coregrind-vg_signals.c
@@ -0,0 +1,15 @@
+--- coregrind/vg_signals.c.orig Tue Aug 31 22:39:50 2004
++++ coregrind/vg_signals.c Tue Aug 31 22:41:36 2004
+@@ -1374,6 +1374,12 @@
+ #define NT_PRXFPREG 0x46e62b7f /* copied from gdb5.1/include/elf/common.h */
+ #endif /* NT_PRXFPREG */
+
++// FIXME: Needed for FreeBSD 4, same ugly hack as in coregrind/ume.c XXX
++#ifndef ELFMAG
++#define ELFMAG "\177ELF"
++#define SELFMAG 4
++#endif
++
+ /* If true, then this Segment may be mentioned in the core */
+ static Bool may_dump(const Segment *seg)
+ {
diff --git a/devel/valgrind-snapshot/pkg-plist b/devel/valgrind-snapshot/pkg-plist
index ad9da3e990f8..f8f5be59a043 100644
--- a/devel/valgrind-snapshot/pkg-plist
+++ b/devel/valgrind-snapshot/pkg-plist
@@ -7,6 +7,7 @@ include/valgrind/valgrind.h
include/valgrind/vg_constants_skin.h
include/valgrind/vg_kerneliface.h
include/valgrind/vg_skin.h
+include/valgrind/vg_unistd.h
lib/valgrind/default.supp
lib/valgrind/glibc-2.1.supp
lib/valgrind/glibc-2.2.supp