aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--comms/libfec/Makefile1
-rw-r--r--comms/libfec/files/patch-fec.h11
2 files changed, 12 insertions, 0 deletions
diff --git a/comms/libfec/Makefile b/comms/libfec/Makefile
index 7b9e553540ab..6fae412280fe 100644
--- a/comms/libfec/Makefile
+++ b/comms/libfec/Makefile
@@ -6,6 +6,7 @@
PORTNAME= libfec
PORTVERSION= 3.0
+PORTREVISION= 1
CATEGORIES= comms astro hamradio math
MASTER_SITES= http://www.ka9q.net/code/fec/ \
${MASTER_SITE_LOCAL}
diff --git a/comms/libfec/files/patch-fec.h b/comms/libfec/files/patch-fec.h
new file mode 100644
index 000000000000..831d3ca1ff3b
--- /dev/null
+++ b/comms/libfec/files/patch-fec.h
@@ -0,0 +1,11 @@
+--- fec.h.orig 2007-07-02 13:26:12.000000000 -0400
++++ fec.h 2007-07-02 13:38:26.000000000 -0400
+@@ -262,7 +262,7 @@
+ void find_cpu_mode(void); /* Call this once at startup to set Cpu_mode */
+
+ /* Determine parity of argument: 1 = odd, 0 = even */
+-#ifdef __i386__
++#ifdef notyet__i386__
+ static inline int parityb(unsigned char x){
+ __asm__ __volatile__ ("test %1,%1;setpo %0" : "=g"(x) : "r" (x));
+ return x;