summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/strace/ChangeLog6
-rw-r--r--dev-util/strace/files/strace-4.5.18-arm-syscalls.patch162
-rw-r--r--dev-util/strace/strace-4.5.18.ebuild3
3 files changed, 169 insertions, 2 deletions
diff --git a/dev-util/strace/ChangeLog b/dev-util/strace/ChangeLog
index 56f935ea7407..55865be8df30 100644
--- a/dev-util/strace/ChangeLog
+++ b/dev-util/strace/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-util/strace
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/ChangeLog,v 1.130 2009/01/22 17:20:07 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/ChangeLog,v 1.131 2009/02/14 17:53:47 vapier Exp $
+
+ 14 Feb 2009; Mike Frysinger <vapier@gentoo.org>
+ +files/strace-4.5.18-arm-syscalls.patch, strace-4.5.18.ebuild:
+ Add changes from upstream for ARM #241168 #258987.
22 Jan 2009; Jeroen Roovers <jer@gentoo.org> strace-4.5.18.ebuild:
Reverting to ~hppa (bug #250631, reopening bug #241168).
diff --git a/dev-util/strace/files/strace-4.5.18-arm-syscalls.patch b/dev-util/strace/files/strace-4.5.18-arm-syscalls.patch
new file mode 100644
index 000000000000..a2f50fd152f1
--- /dev/null
+++ b/dev-util/strace/files/strace-4.5.18-arm-syscalls.patch
@@ -0,0 +1,162 @@
+From f5da8d0c38ea0eb660cb17de7aa62cda6899eb75 Mon Sep 17 00:00:00 2001
+From: ldv <ldv>
+Date: Thu, 1 Jan 2009 23:20:38 +0000
+Subject: [PATCH] 2008-11-13 Kirill A. Shutemov <kirill@shutemov.name>
+
+ * linux/arm/syscallent.h: Fix build on ARM EABI which does not
+ provide syscalls socketcall and ipc.
+---
+ ChangeLog | 5 +++++
+ linux/arm/syscallent.h | 4 +++-
+ 2 files changed, 8 insertions(+), 1 deletions(-)
+
+diff --git a/linux/arm/syscallent.h b/linux/arm/syscallent.h
+index 5ccef2f..edc3641 100644
+--- a/linux/arm/syscallent.h
++++ b/linux/arm/syscallent.h
+@@ -431,6 +431,7 @@
+ { 5, 0, printargs, "SYS_398" }, /* 398 */
+ { 5, 0, printargs, "SYS_399" }, /* 399 */
+
++#ifndef __ARM_EABI__
+ #if SYS_socket_subcall != 400
+ #error fix me
+ #endif
+@@ -481,3 +482,4 @@
+ { 4, TI, sys_shmdt, "shmdt" }, /* 440 */
+ { 4, TI, sys_shmget, "shmget" }, /* 441 */
+ { 4, TI, sys_shmctl, "shmctl" }, /* 442 */
++#endif
+--
+1.6.1.3
+
+From 885d06bc92bae2f6aad85ef2fe0b806a06f60712 Mon Sep 17 00:00:00 2001
+From: ldv <ldv>
+Date: Thu, 1 Jan 2009 23:23:47 +0000
+Subject: [PATCH] 2008-11-13 Kirill A. Shutemov <kirill@shutemov.name>
+
+ * linux/arm/syscallent.h: Update syscalls.
+ Based on patch by Enrico Scholz.
+---
+ ChangeLog | 3 +
+ linux/arm/syscallent.h | 98 ++++++++++++++++++++++++------------------------
+ 2 files changed, 52 insertions(+), 49 deletions(-)
+
+diff --git a/linux/arm/syscallent.h b/linux/arm/syscallent.h
+index edc3641..6dd783a 100644
+--- a/linux/arm/syscallent.h
++++ b/linux/arm/syscallent.h
+@@ -328,63 +328,63 @@
+ { 5, TN, sys_getsockopt, "getsockopt" }, /* 295 */
+ { 3, TN, sys_sendmsg, "sendmsg" }, /* 296 */
+ { 3, TN, sys_recvmsg, "recvmsg" }, /* 297 */
+- { 5, 0, printargs, "SYS_298" }, /* 298 */
+- { 5, 0, printargs, "SYS_299" }, /* 299 */
+- { 5, 0, printargs, "SYS_300" }, /* 300 */
+- { 5, 0, printargs, "SYS_301" }, /* 301 */
+- { 5, 0, printargs, "SYS_302" }, /* 302 */
+- { 5, 0, printargs, "SYS_303" }, /* 303 */
+- { 5, 0, printargs, "SYS_304" }, /* 304 */
+- { 5, 0, printargs, "SYS_305" }, /* 305 */
+- { 5, 0, printargs, "SYS_306" }, /* 306 */
+- { 5, 0, printargs, "SYS_307" }, /* 307 */
+- { 5, 0, printargs, "SYS_308" }, /* 308 */
+- { 5, 0, printargs, "SYS_309" }, /* 309 */
+- { 5, 0, printargs, "SYS_310" }, /* 310 */
+- { 5, 0, printargs, "SYS_311" }, /* 311 */
+- { 5, 0, printargs, "SYS_312" }, /* 312 */
+- { 5, 0, printargs, "SYS_313" }, /* 313 */
+- { 5, 0, printargs, "SYS_314" }, /* 314 */
+- { 5, 0, printargs, "SYS_315" }, /* 315 */
+- { 5, 0, printargs, "SYS_316" }, /* 316 */
+- { 5, 0, printargs, "SYS_317" }, /* 317 */
+- { 5, 0, printargs, "SYS_318" }, /* 318 */
+- { 5, 0, printargs, "SYS_319" }, /* 319 */
+- { 5, 0, printargs, "SYS_320" }, /* 320 */
+- { 5, 0, printargs, "SYS_321" }, /* 321 */
+- { 5, 0, printargs, "SYS_322" }, /* 322 */
+- { 5, 0, printargs, "SYS_323" }, /* 323 */
+- { 5, 0, printargs, "SYS_324" }, /* 324 */
+- { 5, 0, printargs, "SYS_325" }, /* 325 */
+- { 5, 0, printargs, "SYS_326" }, /* 326 */
+- { 5, 0, printargs, "SYS_327" }, /* 327 */
+- { 5, 0, printargs, "SYS_328" }, /* 328 */
+- { 5, 0, printargs, "SYS_329" }, /* 329 */
+- { 5, 0, printargs, "SYS_330" }, /* 330 */
+- { 5, 0, printargs, "SYS_331" }, /* 331 */
+- { 5, 0, printargs, "SYS_332" }, /* 332 */
+- { 5, 0, printargs, "SYS_333" }, /* 333 */
+- { 5, 0, printargs, "SYS_334" }, /* 334 */
++ { 4, TI, sys_semop, "semop" }, /* 298 */
++ { 4, TI, sys_semget, "semget" }, /* 299 */
++ { 4, TI, sys_semctl, "semctl" }, /* 300 */
++ { 4, TI, sys_msgsnd, "msgsnd" }, /* 301 */
++ { 4, TI, sys_msgrcv, "msgrcv" }, /* 302 */
++ { 4, TI, sys_msgget, "msgget" }, /* 303 */
++ { 4, TI, sys_msgctl, "msgctl" }, /* 304 */
++ { 4, TI, sys_shmat, "shmat" }, /* 305 */
++ { 4, TI, sys_shmdt, "shmdt" }, /* 306 */
++ { 4, TI, sys_shmget, "shmget" }, /* 307 */
++ { 4, TI, sys_shmctl, "shmctl" }, /* 308 */
++ { 5, 0, printargs, "add_key" }, /* 309 */
++ { 4, 0, printargs, "request_key" }, /* 310 */
++ { 5, 0, printargs, "keyctl" }, /* 311 */
++ { 5, TI, sys_semtimedop, "semtimedop" }, /* 312 */
++ { 5, 0, printargs, "vserver" }, /* 313 */
++ { 3, 0, printargs, "ioprio_set" }, /* 314 */
++ { 2, 0, printargs, "ioprio_get" }, /* 315 */
++ { 0, TD, printargs, "inotify_init" }, /* 316 */
++ { 3, TD, sys_inotify_add_watch, "inotify_add_watch" }, /* 317 */
++ { 2, TD, sys_inotify_rm_watch, "inotify_rm_watch" }, /* 318 */
++ { 6, 0, sys_mbind, "mbind" }, /* 319 */
++ { 3, 0, sys_set_mempolicy, "set_mempolicy" }, /* 320 */
++ { 5, 0, sys_get_mempolicy, "get_mempolicy" }, /* 321 */
++ { 4, TD|TF, sys_openat, "openat" }, /* 322 */
++ { 3, TD|TF, sys_mkdirat, "mkdirat" }, /* 323 */
++ { 4, TD|TF, sys_mknodat, "mknodat" }, /* 324 */
++ { 5, TD|TF, sys_fchownat, "fchownat" }, /* 325 */
++ { 3, TD|TF, sys_futimesat, "futimesat" }, /* 326 */
++ { 4, TD|TD, sys_newfstatat, "newfstatat" }, /* 327 */
++ { 3, TD|TF, sys_unlinkat, "unlinkat" }, /* 328 */
++ { 4, TD|TF, sys_renameat, "renameat" }, /* 329 */
++ { 5, TD|TF, sys_linkat, "linkat" }, /* 330 */
++ { 3, TD|TF, sys_symlinkat, "symlinkat" }, /* 331 */
++ { 4, TD|TF, sys_readlinkat, "readlinkat" }, /* 332 */
++ { 3, TD|TF, sys_fchmodat, "fchmodat" }, /* 333 */
++ { 3, TD|TF, sys_faccessat, "faccessat" }, /* 334 */
+ { 5, 0, printargs, "SYS_335" }, /* 335 */
+ { 5, 0, printargs, "SYS_336" }, /* 336 */
+- { 5, 0, printargs, "SYS_337" }, /* 337 */
+- { 5, 0, printargs, "SYS_338" }, /* 338 */
+- { 5, 0, printargs, "SYS_339" }, /* 339 */
+- { 5, 0, printargs, "SYS_340" }, /* 340 */
++ { 1, TP, sys_unshare, "unshare" }, /* 337 */
++ { 2, 0, printargs, "set_robust_list" }, /* 338 */
++ { 3, 0, printargs, "get_robust_list" }, /* 339 */
++ { 6, TD, printargs, "splice" }, /* 340 */
+ { 5, 0, printargs, "SYS_341" }, /* 341 */
+- { 5, 0, printargs, "SYS_342" }, /* 342 */
+- { 5, 0, printargs, "SYS_343" }, /* 343 */
++ { 4, TD, printargs, "tee" }, /* 342 */
++ { 4, TD, printargs, "vmsplice" }, /* 343 */
+ { 6, 0, sys_move_pages, "move_pages" }, /* 344 */
+ { 3, 0, sys_getcpu, "getcpu" }, /* 345 */
+ { 5, 0, printargs, "SYS_346" }, /* 346 */
+- { 5, 0, printargs, "SYS_347" }, /* 347 */
+- { 5, 0, printargs, "SYS_348" }, /* 348 */
++ { 5, 0, printargs, "kexec_load" }, /* 347 */
++ { 4, TD|TF, sys_utimensat, "utimensat" }, /* 348 */
+ { 3, TD|TS, sys_signalfd, "signalfd" }, /* 349 */
+ { 4, TD, sys_timerfd, "timerfd" }, /* 350 */
+ { 1, TD, sys_eventfd, "eventfd" }, /* 351 */
+- { 5, 0, printargs, "SYS_352" }, /* 352 */
+- { 5, 0, printargs, "SYS_353" }, /* 353 */
+- { 5, 0, printargs, "SYS_354" }, /* 354 */
++ { 6, TF, sys_fallocate, "fallocate" }, /* 352 */
++ { 4, TD, sys_timerfd_settime, "timerfd_settime"}, /* 353 */
++ { 2, TD, sys_timerfd_gettime, "timerfd_gettime"}, /* 354 */
+ { 5, 0, printargs, "SYS_355" }, /* 355 */
+ { 5, 0, printargs, "SYS_356" }, /* 356 */
+ { 5, 0, printargs, "SYS_357" }, /* 357 */
+--
+1.6.1.3
diff --git a/dev-util/strace/strace-4.5.18.ebuild b/dev-util/strace/strace-4.5.18.ebuild
index 89f0ac9aa899..98a0175c0642 100644
--- a/dev-util/strace/strace-4.5.18.ebuild
+++ b/dev-util/strace/strace-4.5.18.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/strace-4.5.18.ebuild,v 1.12 2009/01/31 08:19:42 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/strace-4.5.18.ebuild,v 1.13 2009/02/14 17:53:47 vapier Exp $
inherit flag-o-matic
@@ -22,6 +22,7 @@ src_unpack() {
#epatch "${FILESDIR}"/${PN}-4.5.11-fbsd.patch
epatch "${FILESDIR}"/strace-fix-arm-bad-syscall.patch
+ epatch "${FILESDIR}"/${PN}-4.5.18-arm-syscalls.patch #241168
}
src_compile() {