summaryrefslogtreecommitdiff
path: root/patches/amd64-openbsd
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2013-12-16 17:17:41 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2013-12-16 17:17:41 +0000
commit77d4586cc47e8f4c02278afbc220145bba0d442b (patch)
treeba088e5e4c09032de0d5a4c06521c514a61352dd /patches/amd64-openbsd
parent7e282893378b9ea580e21e3ec48d2ad49d8735c0 (diff)
parent5c455874a36d62983b63c2ea33fdc861be417d18 (diff)
downloadlibffi-baserock/morph.tar.gz
Merge branch 'baserock/pedroalvarez/power-port' into baserock/morphbaserock/morph
Reviewed-by: Ben Brown Reviewed-by: Daniel Silverstone
Diffstat (limited to 'patches/amd64-openbsd')
-rw-r--r--patches/amd64-openbsd76
1 files changed, 0 insertions, 76 deletions
diff --git a/patches/amd64-openbsd b/patches/amd64-openbsd
deleted file mode 100644
index 7dd16e6..0000000
--- a/patches/amd64-openbsd
+++ /dev/null
@@ -1,76 +0,0 @@
-Index: libffi/ChangeLog.libffi
-===================================================================
---- libffi.orig/ChangeLog.libffi
-+++ libffi/ChangeLog.libffi
-@@ -1,3 +1,10 @@
-+2009-12-26 Andreas Tobler <a.tobler@schweiz.org>
-+
-+ * configure.ac: Add amd64-*-openbsd*.
-+ * configure: Rebuilt.
-+ * testsuite/lib/libffi-dg.exp (libffi_target_compile): Link
-+ openbsd programs with -lpthread.
-+
- 2009-12-26 Anthony Green <green@redhat.com>
-
- * testsuite/libffi.call/cls_double_va.c,
-Index: libffi/configure
-===================================================================
---- libffi.orig/configure
-+++ libffi/configure
-@@ -12151,14 +12151,10 @@ case "$host" in
- TARGET=ARM; TARGETDIR=arm
- ;;
-
-- amd64-*-freebsd*)
-+ amd64-*-freebsd* | amd64-*-openbsd*)
- TARGET=X86_64; TARGETDIR=x86
- ;;
-
-- amd64-*-freebsd*)
-- TARGET=X86_64; TARGETDIR=x86
-- ;;
--
- avr32*-*-*)
- TARGET=AVR32; TARGETDIR=avr32
- ;;
-Index: libffi/configure.ac
-===================================================================
---- libffi.orig/configure.ac
-+++ libffi/configure.ac
-@@ -51,14 +51,10 @@ case "$host" in
- TARGET=ARM; TARGETDIR=arm
- ;;
-
-- amd64-*-freebsd*)
-+ amd64-*-freebsd* | amd64-*-openbsd*)
- TARGET=X86_64; TARGETDIR=x86
- ;;
-
-- amd64-*-freebsd*)
-- TARGET=X86_64; TARGETDIR=x86
-- ;;
--
- avr32*-*-*)
- TARGET=AVR32; TARGETDIR=avr32
- ;;
-Index: libffi/testsuite/lib/libffi-dg.exp
-===================================================================
---- libffi.orig/testsuite/lib/libffi-dg.exp
-+++ libffi/testsuite/lib/libffi-dg.exp
-@@ -1,4 +1,4 @@
--# Copyright (C) 2003, 2005, 2008 Free Software Foundation, Inc.
-+# Copyright (C) 2003, 2005, 2008, 2009 Free Software Foundation, Inc.
-
- # This program is free software; you can redistribute it and/or modify
- # it under the terms of the GNU General Public License as published by
-@@ -197,6 +197,10 @@ proc libffi_target_compile { source dest
- lappend options "libs= -shared-libgcc"
- }
-
-+ if { [string match "*-*-openbsd*" $target_triplet] } {
-+ lappend options "libs= -lpthread"
-+ }
-+
- lappend options "libs= -lffi"
-
- verbose "options: $options"