aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorbarner <barner@FreeBSD.org>2005-10-20 18:41:03 +0800
committerbarner <barner@FreeBSD.org>2005-10-20 18:41:03 +0800
commite7546f44b7038f6ccb3b6e538137f032b0a33ffc (patch)
tree336540311e88ff456d9a23c491d73659911f5c15 /devel
parent53cbc8440f7ae278cdb7b24316ff8257ff7e5ef6 (diff)
downloadfreebsd-ports-gnome-e7546f44b7038f6ccb3b6e538137f032b0a33ffc.tar.gz
freebsd-ports-gnome-e7546f44b7038f6ccb3b6e538137f032b0a33ffc.tar.zst
freebsd-ports-gnome-e7546f44b7038f6ccb3b6e538137f032b0a33ffc.zip
- Add support for uuidgen(2) system call
- Bump PORTREVISION Submitted by: rodrigc PR: ports/87697
Diffstat (limited to 'devel')
-rw-r--r--devel/valgrind-snapshot/Makefile2
-rw-r--r--devel/valgrind-snapshot/files/patch-coregrind_vg_syscalls.c36
-rw-r--r--devel/valgrind/Makefile2
-rw-r--r--devel/valgrind/files/patch-coregrind_vg_syscalls.c40
4 files changed, 72 insertions, 8 deletions
diff --git a/devel/valgrind-snapshot/Makefile b/devel/valgrind-snapshot/Makefile
index 0c4c79ecf686..f66fce9409a7 100644
--- a/devel/valgrind-snapshot/Makefile
+++ b/devel/valgrind-snapshot/Makefile
@@ -7,7 +7,7 @@
PORTNAME= valgrind
PORTVERSION= 352
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= devel
MASTER_SITES= http://www.rabson.org/
PKGNAMESUFFIX= -snapshot
diff --git a/devel/valgrind-snapshot/files/patch-coregrind_vg_syscalls.c b/devel/valgrind-snapshot/files/patch-coregrind_vg_syscalls.c
index f18c56469461..2483c6da1e53 100644
--- a/devel/valgrind-snapshot/files/patch-coregrind_vg_syscalls.c
+++ b/devel/valgrind-snapshot/files/patch-coregrind_vg_syscalls.c
@@ -1,5 +1,5 @@
---- coregrind/vg_syscalls.c.orig Fri Jul 16 19:21:08 2004
-+++ coregrind/vg_syscalls.c Wed Sep 14 22:13:44 2005
+--- coregrind/vg_syscalls.c.orig Thu Oct 20 12:23:18 2005
++++ coregrind/vg_syscalls.c Thu Oct 20 12:24:04 2005
@@ -1369,6 +1369,38 @@
&tst->m_eflags,
arg1, arg2);
@@ -54,3 +54,35 @@
default:
VG_(core_panic)("Unhandled sysarch call");
}
+@@ -1574,6 +1614,21 @@
+ VG_TRACK( post_mem_write, arg1, arg2 );
+ }
+
++#if __FreeBSD__ >= 5
++PRE(uuidgen)
++{
++ /* int uuidgen(struct uuid *store, int count); */
++ MAYBE_PRINTF("uuidgen ( %p, %d )\n", arg1, arg2);
++ SYSCALL_TRACK( pre_mem_write, tid, "uuidgen(store, count)", arg1, arg2);
++}
++
++POST(uuidgen)
++{
++ VG_TRACK( post_mem_write, arg1, arg2 );
++}
++
++#endif
++
+ #endif
+
+ PRE(setresgid)
+@@ -6827,6 +6882,9 @@
+ SYSBA(kldstat, False),
+ SYSB_(kldfirstmod, False),
+ SYSBA(__getcwd, False),
++#if __FreeBSD__ >= 5
++ SYSBA(uuidgen, False),
++#endif
+ };
+ #define MAX_SYS_INFO (sizeof(sys_info)/sizeof(sys_info[0]))
+
diff --git a/devel/valgrind/Makefile b/devel/valgrind/Makefile
index 7f9dbd3deb13..a755dfb45011 100644
--- a/devel/valgrind/Makefile
+++ b/devel/valgrind/Makefile
@@ -7,7 +7,7 @@
PORTNAME= valgrind
PORTVERSION= 352
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= devel
MASTER_SITES= http://www.rabson.org/
DISTNAME= ${PORTNAME}-stable-${PORTVERSION}
diff --git a/devel/valgrind/files/patch-coregrind_vg_syscalls.c b/devel/valgrind/files/patch-coregrind_vg_syscalls.c
index f18c56469461..50912cfe31f5 100644
--- a/devel/valgrind/files/patch-coregrind_vg_syscalls.c
+++ b/devel/valgrind/files/patch-coregrind_vg_syscalls.c
@@ -1,6 +1,6 @@
---- coregrind/vg_syscalls.c.orig Fri Jul 16 19:21:08 2004
-+++ coregrind/vg_syscalls.c Wed Sep 14 22:13:44 2005
-@@ -1369,6 +1369,38 @@
+--- coregrind/vg_syscalls.c.orig Thu Oct 20 12:27:19 2005
++++ coregrind/vg_syscalls.c Thu Oct 20 12:28:49 2005
+@@ -1284,6 +1284,38 @@
&tst->m_eflags,
arg1, arg2);
break;
@@ -39,7 +39,7 @@
default:
VG_(core_panic)("Unhandled sysarch call");
}
-@@ -1392,6 +1424,14 @@
+@@ -1307,6 +1339,14 @@
break;
case 6: /* vm86 */
break;
@@ -54,3 +54,35 @@
default:
VG_(core_panic)("Unhandled sysarch call");
}
+@@ -1489,6 +1529,21 @@
+ VG_TRACK( post_mem_write, arg1, arg2 );
+ }
+
++#if __FreeBSD__ >= 5
++PRE(uuidgen)
++{
++ /* int uuidgen(struct uuid *store, int count); */
++ MAYBE_PRINTF("uuidgen ( %p, %d )\n", arg1, arg2);
++ SYSCALL_TRACK( pre_mem_write, tid, "uuidgen(store, count)", arg1, arg2);
++}
++
++POST(uuidgen)
++{
++ VG_TRACK( post_mem_write, arg1, arg2 );
++}
++
++#endif
++
+ #endif
+
+ PRE(setresgid)
+@@ -6498,6 +6553,9 @@
+ SYSBA(kldstat, False),
+ SYSB_(kldfirstmod, False),
+ SYSBA(__getcwd, False),
++#if __FreeBSD__ >= 5
++ SYSBA(uuidgen, False),
++#endif
+ };
+ #define MAX_SYS_INFO (sizeof(sys_info)/sizeof(sys_info[0]))
+