diff options
author | Johan van Selst <johans@FreeBSD.org> | 2015-04-02 05:20:16 +0000 |
---|---|---|
committer | Johan van Selst <johans@FreeBSD.org> | 2015-04-02 05:20:16 +0000 |
commit | 46bfd8246c08bff0242648ee3a665b08866d5d83 (patch) | |
tree | 3727f89cae721038e71fc6ebf6c8fc80a705515f /lang/pfe | |
parent | 0a6bfa92bec9c7747a25422f8942687ce9729434 (diff) | |
download | ports-46bfd8246c08bff0242648ee3a665b08866d5d83.tar.gz ports-46bfd8246c08bff0242648ee3a665b08866d5d83.zip |
Notes
Diffstat (limited to 'lang/pfe')
-rw-r--r-- | lang/pfe/files/patch-pfe_def-regth.h | 14 | ||||
-rw-r--r-- | lang/pfe/files/patch-pfe_def-sbrcode.h | 12 |
2 files changed, 26 insertions, 0 deletions
diff --git a/lang/pfe/files/patch-pfe_def-regth.h b/lang/pfe/files/patch-pfe_def-regth.h new file mode 100644 index 000000000000..1147615d353b --- /dev/null +++ b/lang/pfe/files/patch-pfe_def-regth.h @@ -0,0 +1,14 @@ +--- pfe/def-regth.h.orig 2015-03-31 14:23:33.000000000 +0200 ++++ pfe/def-regth.h 2015-03-31 14:23:30.000000000 +0200 +@@ -40,11 +40,7 @@ struct p4_Session; + # endif + + # ifdef PFE_USE_THREAD_POINTER +-# ifdef P4_REGTH +-register struct p4_Thread* p4TH asm (P4_REGTH); +-# else + extern PFE_CC_THREADED struct p4_Thread* p4TH; +-# endif + # else + # define p4TH (&p4_reg) + extern PFE_CC_THREADED struct p4_Thread p4_reg; diff --git a/lang/pfe/files/patch-pfe_def-sbrcode.h b/lang/pfe/files/patch-pfe_def-sbrcode.h new file mode 100644 index 000000000000..2b681de94548 --- /dev/null +++ b/lang/pfe/files/patch-pfe_def-sbrcode.h @@ -0,0 +1,12 @@ +--- pfe/def-sbrcode.h.orig 2015-03-31 14:14:01.000000000 +0200 ++++ pfe/def-sbrcode.h 2015-03-31 14:15:23.000000000 +0200 +@@ -35,7 +35,8 @@ + # if defined HOST_CPU_I386 || defined HOST_CPU_I486 \ + || defined HOST_CPU_I586 || defined HOST_CPU_I686 \ + || defined HOST_ARCH_I386 || defined __target_arch_i386 \ +- || defined HOST_ARCH_X86_64 || defined HOST_CPU_X86_64 ++ || defined HOST_ARCH_X86_64 || defined HOST_CPU_X86_64 \ ++ || defined HOST_ARCH_AMD64 + + # if defined HOST_ARCH_X86_64 || defined HOST_CPU_X86_64 + # define PFE_SBR_ARCH_I386_64 1 |