1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

Fix still needed patch.

This commit is contained in:
Michael Reifenberger 2017-03-23 18:07:51 +00:00
parent 9bf7e19d47
commit 646a294bac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=436778

View File

@ -1,22 +1,21 @@
---- include/system/libcontext.h.orig 2017-03-13 11:47:23.495919000 +0100
-+++ include/system/libcontext.h 2017-03-13 11:51:12.678651000 +0100
-@@ -23,13 +23,15 @@
-
-
--#if defined(__GNUC__) || defined(__APPLE__)
-+#if defined(__GNUC__) || defined(__APPLE__) || defined(__FreeBSD__)
-
- #define LIBCONTEXT_COMPILER_gcc
-
-- #if defined(__linux__)
-+ #if defined(__linux__) || defined(__FreeBSD__)
- #ifdef __x86_64__
- #define LIBCONTEXT_PLATFORM_linux_x86_64
- #define LIBCONTEXT_CALL_CONVENTION
--
-+ #elif __amd64__
-+ #define LIBCONTEXT_PLATFORM_linux_x86_64
-+ #define LIBCONTEXT_CALL_CONVENTION
- #elif __i386__
- #define LIBCONTEXT_PLATFORM_linux_i386
--- include/system/libcontext.h.orig 2017-03-23 17:46:25.970103000 +0100
+++ include/system/libcontext.h 2017-03-23 17:49:04.053146000 +0100
@@ -23,13 +23,15 @@
-#if defined(__GNUC__) || defined(__APPLE__)
+#if defined(__GNUC__) || defined(__APPLE__) || defined(__FreeBSD__)
#define LIBCONTEXT_COMPILER_gcc
- #if defined(__linux__)
+ #if defined(__linux__) || defined(__FreeBSD__)
#ifdef __x86_64__
#define LIBCONTEXT_PLATFORM_linux_x86_64
#define LIBCONTEXT_CALL_CONVENTION
-
+ #elif __amd64__
+ #define LIBCONTEXT_PLATFORM_linux_x86_64
+ #define LIBCONTEXT_CALL_CONVENTION
#elif __i386__
#define LIBCONTEXT_PLATFORM_linux_i386