diff options
author | sborrill <sborrill@pkgsrc.org> | 2008-01-04 21:37:07 +0000 |
---|---|---|
committer | sborrill <sborrill@pkgsrc.org> | 2008-01-04 21:37:07 +0000 |
commit | e26cd1c7df597b0641d0a22985a6129156301c4f (patch) | |
tree | 2d3522cce194851ac99477761c9d0f992d509dae /emulators | |
parent | e1a38464a56d42cdf62fec7a3453be6e616c2658 (diff) | |
download | pkgsrc-e26cd1c7df597b0641d0a22985a6129156301c4f.tar.gz |
Reverse logic for detecting stack protection. Previous patch enabled
-fno-stack-protection iff using -fno-stack-protection gave an error
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/qemu/distinfo | 4 | ||||
-rw-r--r-- | emulators/qemu/patches/patch-ag | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/emulators/qemu/distinfo b/emulators/qemu/distinfo index 776884772a9..e8ac2ff048f 100644 --- a/emulators/qemu/distinfo +++ b/emulators/qemu/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.36 2007/12/30 17:12:44 joerg Exp $ +$NetBSD: distinfo,v 1.37 2008/01/04 21:37:07 sborrill Exp $ SHA1 (qemu-0.9.0.tar.gz) = 1e57e48a06eb8729913d92601000466eecef06cb RMD160 (qemu-0.9.0.tar.gz) = 4296542b6da18a6ac93d20787330d3c1c2ac0a19 @@ -7,7 +7,7 @@ SHA1 (patch-aa) = 455575215bad8864da285e1979da9ff7d8476a24 SHA1 (patch-ab) = 29870b0bec5f9fa08267dfb9208d75d1d735714a SHA1 (patch-ac) = f3f37f2e72de28077a6579b12ecb2ea6650eea85 SHA1 (patch-ad) = ac69a03e4945e8c8fd5aadca070b876d0970910d -SHA1 (patch-ag) = 8480b6f840bcad845d76df996f913d2ad6750b8c +SHA1 (patch-ag) = 792b409e5d737fb1a82d319ab6bdaefae84e05a4 SHA1 (patch-ak) = 11669ec0ac62c0c90b7d2bfecb1f6efe3cb82fd2 SHA1 (patch-am) = a22a3b23284c377afa8113768d68c8ef40c514f9 SHA1 (patch-ao) = e92d56f991cf29f83e39464f9e695caa86fe5fe0 diff --git a/emulators/qemu/patches/patch-ag b/emulators/qemu/patches/patch-ag index 9e3b57bbe20..9f74b9c7c48 100644 --- a/emulators/qemu/patches/patch-ag +++ b/emulators/qemu/patches/patch-ag @@ -1,4 +1,4 @@ -$NetBSD: patch-ag,v 1.9 2007/12/30 17:12:45 joerg Exp $ +$NetBSD: patch-ag,v 1.10 2008/01/04 21:37:07 sborrill Exp $ --- configure.orig 2007-02-05 23:01:54 +0000 +++ configure @@ -42,9 +42,9 @@ $NetBSD: patch-ag,v 1.9 2007/12/30 17:12:45 joerg Exp $ +extern int foo; +EOF +if "$cc" -o $TMPE $TMPC -fno-stack-protector 2> /dev/null ; then -+ stack_protector_present="no" -+else + stack_protector_present="yes" ++else ++ stack_protector_present="no" +fi + # |