aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2008-12-27 12:15:26 +0800
committerpgollucci <pgollucci@FreeBSD.org>2008-12-27 12:15:26 +0800
commitfbb877cf5de8e94544f16370a4e610298bf32339 (patch)
tree0321bed96cac4e4bd92a5ad73c5832f223c4a6d8
parent45ea890ae0ce6481804e34c3f34c2c184831a99f (diff)
downloadfreebsd-ports-gnome-fbb877cf5de8e94544f16370a4e610298bf32339.tar.gz
freebsd-ports-gnome-fbb877cf5de8e94544f16370a4e610298bf32339.tar.zst
freebsd-ports-gnome-fbb877cf5de8e94544f16370a4e610298bf32339.zip
- Update to 4.5.18
- Add forgotten new files PR: ports/129019 Reported by: erwinbot Pointyhat to: pgollucci
-rw-r--r--devel/strace/Makefile1
-rw-r--r--devel/strace/files/patch-net.c18
-rw-r--r--devel/strace/files/patch-syscall.c15
-rw-r--r--devel/strace/files/patch-time.c18
4 files changed, 52 insertions, 0 deletions
diff --git a/devel/strace/Makefile b/devel/strace/Makefile
index b81d4603b371..3f4e424cd18b 100644
--- a/devel/strace/Makefile
+++ b/devel/strace/Makefile
@@ -7,6 +7,7 @@
PORTNAME= strace
PORTVERSION= 4.5.18
+PORTREVISION= 1
CATEGORIES= devel sysutils
MASTER_SITES= SF
diff --git a/devel/strace/files/patch-net.c b/devel/strace/files/patch-net.c
new file mode 100644
index 000000000000..4190aa1801af
--- /dev/null
+++ b/devel/strace/files/patch-net.c
@@ -0,0 +1,18 @@
+--- net.c.orig 2008-11-21 00:18:27.000000000 +0800
++++ net.c 2008-11-21 00:18:47.000000000 +0800
+@@ -1134,6 +1134,7 @@
+ free(cmsg);
+ return;
+ }
++#ifdef SCM_CREDENTIALS
+ if (cmsg->cmsg_type == SCM_CREDENTIALS
+ && CMSG_LEN(sizeof(struct ucred)) <= cmsg_len) {
+ struct ucred *uc = (struct ucred *) CMSG_DATA (cmsg);
+@@ -1143,6 +1144,7 @@
+ free(cmsg);
+ return;
+ }
++#endif
+ }
+ free(cmsg);
+ tprintf(", ...}");
diff --git a/devel/strace/files/patch-syscall.c b/devel/strace/files/patch-syscall.c
new file mode 100644
index 000000000000..0a7333a2a782
--- /dev/null
+++ b/devel/strace/files/patch-syscall.c
@@ -0,0 +1,15 @@
+--- syscall.c.orig 2008-11-20 23:43:57.000000000 +0800
++++ syscall.c 2008-11-20 23:46:37.000000000 +0800
+@@ -716,8 +716,10 @@
+ )
+ return internal_exec(tcp);
+
+- if ( sys_waitpid == func
+- || sys_wait4 == func
++ if ( sys_wait4 == func
++#if defined(LINUX)
++ || sys_waitpid == func
++#endif
+ #if defined(SVR4) || defined(FREEBSD) || defined(SUNOS4)
+ || sys_wait == func
+ #endif
diff --git a/devel/strace/files/patch-time.c b/devel/strace/files/patch-time.c
new file mode 100644
index 000000000000..16cf7619da0e
--- /dev/null
+++ b/devel/strace/files/patch-time.c
@@ -0,0 +1,18 @@
+--- time.c.orig 2008-11-21 01:06:16.000000000 +0800
++++ time.c 2008-11-21 01:06:46.000000000 +0800
+@@ -36,6 +36,7 @@
+ #include <sys/timex.h>
+ #include <linux/ioctl.h>
+ #include <linux/rtc.h>
++#endif /* LINUX */
+
+ #ifndef UTIME_NOW
+ #define UTIME_NOW ((1l << 30) - 1l)
+@@ -43,7 +44,6 @@
+ #ifndef UTIME_OMIT
+ #define UTIME_OMIT ((1l << 30) - 2l)
+ #endif
+-#endif /* LINUX */
+
+ struct timeval32
+ {