aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2015-04-02 13:20:16 +0800
committerjohans <johans@FreeBSD.org>2015-04-02 13:20:16 +0800
commit12349703ed4192895c0fb4f1d60648aef979a895 (patch)
tree3727f89cae721038e71fc6ebf6c8fc80a705515f /lang
parent9440c2061d86c9ec2a1984a24b63c540ccb3a522 (diff)
downloadfreebsd-ports-gnome-12349703ed4192895c0fb4f1d60648aef979a895.tar.gz
freebsd-ports-gnome-12349703ed4192895c0fb4f1d60648aef979a895.tar.zst
freebsd-ports-gnome-12349703ed4192895c0fb4f1d60648aef979a895.zip
- Add patch to fix build on 10.x amd64
- Add patch to fix build on 10.x
Diffstat (limited to 'lang')
-rw-r--r--lang/pfe/files/patch-pfe_def-regth.h14
-rw-r--r--lang/pfe/files/patch-pfe_def-sbrcode.h12
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