config/companion_libs/gmp.in
author Daniel Zimmermann <netzimme@gmail.com>
Mon Nov 25 08:56:55 2013 +0100 (2013-11-25)
changeset 3255 4f3536b12be5
parent 3142 6569f6a9060c
child 3283 d317f3a211d3
permissions -rw-r--r--
debug/strace: pump version to 4.7 and 4.8

Pump version for strace to 4.7 and 4.8.
Add patch from strace mainline.


Work around conflict between <sys/ptrace.h> and <linux/ptrace.h>

Since glibc-2.18~39 <sys/ptrace.h> defines ptrace_peeksiginfo_args
which collides with <linux/ptrace.h>.

* configure.ac: Check for `struct ptrace_peeksiginfo_args' in
<sys/ptrace.h>.
* process.c: Work around potential conflict between <sys/ptrace.h>
and <linux/ptrace.h> by redefining ptrace_peeksiginfo_args.
* signal.c: Likewise.
* syscall.c: Likewise.
* util.c: Likewise.
http://sourceforge.net/p/strace/code/ci/0b4060f61f1bb101b5d8d084714b7d2feacdb199/

Signed-off-by: "Daniel Zimmermann" <netzimme@gmail.com>
Message-Id: <67b082cf1cdc8276eb4a.1385366288@haus-VirtualBox>
Patchwork-Id: 293842
     1 # GMP options
     2 
     3 choice
     4     bool
     5     prompt "GMP version"
     6 # Don't remove next line
     7 # CT_INSERT_VERSION_BELOW
     8 
     9 config GMP_V_5_1_1
    10     bool
    11     prompt "5.1.1"
    12 
    13 config GMP_V_5_0_2
    14     bool
    15     prompt "5.0.2"
    16 
    17 config GMP_V_5_0_1
    18     bool
    19     prompt "5.0.1"
    20 
    21 config GMP_V_4_3_2
    22     bool
    23     prompt "4.3.2"
    24 
    25 config GMP_V_4_3_1
    26     bool
    27     prompt "4.3.1"
    28 
    29 config GMP_V_4_3_0
    30     bool
    31     prompt "4.3.0"
    32 
    33 endchoice
    34 
    35 config GMP_VERSION
    36     string
    37 # Don't remove next line
    38 # CT_INSERT_VERSION_STRING_BELOW
    39     default "5.1.1" if GMP_V_5_1_1
    40     default "5.0.2" if GMP_V_5_0_2
    41     default "5.0.1" if GMP_V_5_0_1
    42     default "4.3.2" if GMP_V_4_3_2
    43     default "4.3.1" if GMP_V_4_3_1
    44     default "4.3.0" if GMP_V_4_3_0