1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/comms/libfec/files/patch-dotprod.c
Diane Bruce de90917e70 Add back libfec
Remove support for obsolete FreeBSD versions
Reassign maintainer to hamradio@
Cleanups to make sure it compiles cleanly on clang and gcc
Cleanup to (hopefully) allow building on non x86 architectures (untested)
2016-04-25 19:45:33 +00:00

25 lines
394 B
C

--- dotprod.c.orig 2006-10-13 01:10:53 UTC
+++ dotprod.c
@@ -54,16 +54,21 @@ void freedp(void *p){
switch(Cpu_mode){
case PORT:
default:
+ return;
+ break;
#ifdef __i386__
case MMX:
case SSE:
return freedp_mmx(p);
+ break;
case SSE2:
return freedp_sse2(p);
+ break;
#endif
#ifdef __VEC__
case ALTIVEC:
return freedp_av(p);
+ break;
#endif
}
}