aboutsummaryrefslogtreecommitdiff
path: root/comms/libfec
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2014-01-17 12:22:13 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2014-01-17 12:22:13 +0000
commit2a66bb8ec187ed8b1558d8af2fa4635f2c7370b4 (patch)
treec7acc0b8a03ae56e2392cf1e4e49974262ba4b18 /comms/libfec
parent9fa26145460c880b8b8aae4605c4c82fab56d6c0 (diff)
downloadports-2a66bb8ec187ed8b1558d8af2fa4635f2c7370b4.tar.gz
ports-2a66bb8ec187ed8b1558d8af2fa4635f2c7370b4.zip
Unbreak on FreeBSD 10.
Notes
Notes: svn path=/head/; revision=340029
Diffstat (limited to 'comms/libfec')
-rw-r--r--comms/libfec/files/patch-dotprod.c33
1 files changed, 21 insertions, 12 deletions
diff --git a/comms/libfec/files/patch-dotprod.c b/comms/libfec/files/patch-dotprod.c
index f207d9b248a3..a308e7b07bb9 100644
--- a/comms/libfec/files/patch-dotprod.c
+++ b/comms/libfec/files/patch-dotprod.c
@@ -1,12 +1,21 @@
-*** dotprod.c 2006-10-12 21:10:53.000000000 -0400
---- ../../foowork/fec-3.0.1/dotprod.c 2011-12-14 20:43:00.132752233 -0500
-***************
-*** 54,59 ****
---- 54,60 ----
- switch(Cpu_mode){
- case PORT:
- default:
-+ return feedp_port(p);
- #ifdef __i386__
- case MMX:
- case SSE:
+--- dotprod.c.orig 2006-10-13 03:10:53.000000000 +0200
++++ dotprod.c 2014-01-17 12:35:33.000000000 +0100
+@@ -54,12 +54,16 @@
+ switch(Cpu_mode){
+ case PORT:
+ default:
++ freedp_port(p);
++ break;
+ #ifdef __i386__
+ case MMX:
+ case SSE:
+- return freedp_mmx(p);
++ freedp_mmx(p);
++ break;
+ case SSE2:
+- return freedp_sse2(p);
++ freedp_sse2(p);
++ break;
+ #endif
+ #ifdef __VEC__
+ case ALTIVEC: